public class WebsocketRenderer extends HtmlBasicRenderer implements jakarta.faces.event.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, logger| Constructor and Description |
|---|
WebsocketRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component)
Decode all client behaviors.
|
void |
encodeEnd(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component)
Render
jsf.push.init() function if necessary. |
void |
processEvent(jakarta.faces.event.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, writeIdAttributeIfNecessarypublic static final String RENDERER_TYPE
public void processEvent(jakarta.faces.event.ComponentSystemEvent event)
throws jakarta.faces.event.AbortProcessingException
WebsocketFacesListener if necessary.processEvent in interface jakarta.faces.event.ComponentSystemEventListenerevent - the ComponentSystemEvent instance that is being processed.jakarta.faces.event.AbortProcessingException - if lifecycle processing should cease for this request.public void decode(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component)
decode in class HtmlBasicRenderercontext - FacesContext for the request we are processingcomponent - UIComponent to be decoded.public void encodeEnd(jakarta.faces.context.FacesContext context,
jakarta.faces.component.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 © 2010–2022 JBoss by Red Hat. All rights reserved.