Lifetime And Scope
| Modifier and Type | Field and Description |
|---|---|
| private ConcurrentHashMap | behaviorRenderers
For Behavior Renderers: Keys are Strings for the behaviorRendererType, and values are the behaviorRenderer instances themselves. |
| private static final Logger | |
| private ConcurrentHashMap | rendererFamilies
Keys are String renderer family. |
| private ResponseStateManager | |
| private static final String | |
| private static final String[] | |
| private WebConfiguration |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addClientBehaviorRenderer(String
type of the behaviorRendererType, ClientBehaviorRenderer ClientBehaviorRenderer to registerClientBehaviorRenderer instance we are registeringOverrides javax. Register the specified |
| public void | addRenderer(String
Component family of the family, String Renderer to registerRenderer type of the rendererType, Renderer Renderer to registerRenderer instance we are registeringImplements abstract javax. Register the specified |
| private String[] | |
| public ResponseStream | createResponseStream(OutputStream
the out)OutputStream around which to create the
ResponseStreamImplements abstract javax. Use the provided |
| public ResponseWriter | createResponseWriter(Writer
the Writer around which this writer, String ResponseWriter
must be built.an "Accept header style" list of content
types for this response, or desiredContentTypeList, String null if the RenderKit
should choose the best fit. As of the current version, the
values accepted by the Standard render-kit for this parameter
include any valid "Accept header style" String that includes the
String text/html,
application/xhtml+xml, application/xml
or text/xml. This may change in a future version.
The RenderKit must support a value for this argument that comes
straight from the Accept HTTP header, and therefore
requires parsing according to the specification of the
Accept header. Please see Section
14.1 of RFC 2616 for the specification of the
Accept header.such as "ISO-8859-1" for this
ResponseWriter, or characterEncoding)null if the
RenderKit should choose the best fit. Please see the
IANA for a list of character encodings.Implements abstract javax. Use the provided |
| private String | |
| public ClientBehaviorRenderer | getClientBehaviorRenderer(String
type of the requested
behaviorRendererType)ClientBehaviorRenderer instanceOverrides javax. Return the |
| public Iterator | getClientBehaviorRendererTypes()
Overrides javax. Return an |
| public Iterator | getComponentFamilies()
Overrides javax. Return an |
| private String | |
| public Renderer | getRenderer(String
Component family of the requested
family, String Renderer instanceRenderer type of the requested
rendererType)Renderer instanceImplements abstract javax. Return the |
| public Iterator | getRendererTypes(String
one of the members of the
componentFamily)Iterator returned by getComponentFamilies.Overrides javax. Return an |
| public synchronized ResponseStateManager | getResponseStateManager()
Implements abstract javax. Return an instance of |
| private boolean |
| behaviorRenderers | back to summary |
|---|---|
| private ConcurrentHashMap<String, ClientBehaviorRenderer> behaviorRenderers For Behavior Renderers: Keys are Strings for the behaviorRendererType, and values are the behaviorRenderer instances themselves. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| rendererFamilies | back to summary |
|---|---|
| private ConcurrentHashMap<String, HashMap<String, Renderer>> rendererFamilies Keys are String renderer family. Values are HashMaps. Nested HashMap keys are Strings for the rendererType, and values are the Renderer instances themselves. | |
| responseStateManager | back to summary |
|---|---|
| private ResponseStateManager responseStateManager | |
| SUPPORTED_CONTENT_TYPES | back to summary |
|---|---|
| private static final String SUPPORTED_CONTENT_TYPES | |
| SUPPORTED_CONTENT_TYPES_ARRAY | back to summary |
|---|---|
| private static final String[] SUPPORTED_CONTENT_TYPES_ARRAY | |
| webConfig | back to summary |
|---|---|
| private WebConfiguration webConfig | |
| RenderKitImpl | back to summary |
|---|---|
| public RenderKitImpl() | |
| addClientBehaviorRenderer | back to summary |
|---|---|
| public void addClientBehaviorRenderer(String behaviorRendererType, ClientBehaviorRenderer behaviorRenderer) Overrides javax. Doc from javax. Register the specified
| |
| addRenderer | back to summary |
|---|---|
| public void addRenderer(String family, String rendererType, Renderer renderer) Implements abstract javax. Doc from javax. Register the specified | |
| contentTypeSplit | back to summary |
|---|---|
| private String[] contentTypeSplit(String contentTypeString) | |
| createResponseStream | back to summary |
|---|---|
| public ResponseStream createResponseStream(OutputStream out) Implements abstract javax. Doc from javax. Use the provided
| |
| createResponseWriter | back to summary |
|---|---|
| public ResponseWriter createResponseWriter(Writer writer, String desiredContentTypeList, String characterEncoding) Implements abstract javax. Doc from javax. Use the provided Implementors are advised to consult the
| |
| findMatch | back to summary |
|---|---|
| private String findMatch(String desiredContentTypeList, String[] supportedTypes) | |
| getClientBehaviorRenderer | back to summary |
|---|---|
| public ClientBehaviorRenderer getClientBehaviorRenderer(String behaviorRendererType) Overrides javax. Doc from javax. Return the
| |
| getClientBehaviorRendererTypes | back to summary |
|---|---|
| public Iterator Overrides javax. Doc from javax. Return an
| |
| getComponentFamilies | back to summary |
|---|---|
| public Iterator Overrides javax. Doc from javax. Return an
The default implementation of this method returns an empty
| |
| getDefaultContentType | back to summary |
|---|---|
| private String getDefaultContentType() | |
| getRenderer | back to summary |
|---|---|
| public Renderer getRenderer(String family, String rendererType) Implements abstract javax. Doc from javax. Return the | |
| getRendererTypes | back to summary |
|---|---|
| public Iterator Overrides javax. Doc from javax. Return an If the specified
The default implementation of this method returns an empty
| |
| getResponseStateManager | back to summary |
|---|---|
| public synchronized ResponseStateManager getResponseStateManager() Implements abstract javax. Doc from javax. Return an instance of
| |
| preferXhtml | back to summary |
|---|---|
| private boolean preferXhtml() | |