public class WebsocketRenderer extends HtmlBasicRenderer implements ComponentSystemEventListener
jsf.push.init() script and decodes any client
behaviors triggered by UIWebsocket.UIWebsocketHtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.Param| Modifier and Type | Field and Description |
|---|---|
static String |
RENDERER_TYPE |
EMPTY_PARAMS, loggerPASSTHROUGH_RENDERER_LOCALNAME_KEY| Constructor and Description |
|---|
WebsocketRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(FacesContext context,
UIComponent component)
Decode all client behaviors.
|
void |
encodeEnd(FacesContext context,
UIComponent component)
Render
jsf.push.init() function if necessary. |
void |
processEvent(ComponentSystemEvent event)
After adding component to view, subscribe
WebsocketFacesListener if necessary. |
augmentIdReference, convertClientId, decodeBehaviors, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getRendersChildren, getValue, isBehaviorSource, rendererParamsNotNull, setSubmittedValue, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessaryencodeBegin, encodeChildren, getConvertedValuepublic static final String RENDERER_TYPE
public void processEvent(ComponentSystemEvent event) throws AbortProcessingException
WebsocketFacesListener if necessary.processEvent in interface ComponentSystemEventListenerevent - the ComponentSystemEvent instance that is being processed.AbortProcessingException - if lifecycle processing should cease for this request.public void decode(FacesContext context, UIComponent component)
decode in class HtmlBasicRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be decoded.public void encodeEnd(FacesContext context, UIComponent component) throws IOException
jsf.push.init() function if necessary.encodeEnd in class HtmlBasicRenderercontext - FacesContext for the response we are creatingcomponent - UIComponent to be renderedIOException - if an input/output error occurs while renderingCopyright © 1997–2020 Eclipse Foundation. All rights reserved.