public interface IWebSocketRequestHandler extends IPartialPageRequestHandler, ILoggableRequestHandler
Modifier and Type | Method and Description |
---|---|
void |
push(byte[] message,
int offset,
int length)
Pushes a binary message to the client.
|
void |
push(CharSequence message)
Pushes a text message to the client.
|
add, add, addChildren, appendJavaScript, focusComponent, getComponents, getHeaderResponse, prependJavaScript
getPage, getPageId, getRenderCount, isPageInstanceCreated
getPageClass, getPageParameters
detach, respond
getLogData
void push(CharSequence message)
message
- the text message to push to the client if the web socket connection is openvoid push(byte[] message, int offset, int length)
message
- the binary message to push to the client if the web socket connection is openoffset
- the offset to start to read from the messagelength
- how many bytes to read from the messageCopyright © 2006–2021 Apache Software Foundation. All rights reserved.