Interface IWebSocketRequestHandler
-
- All Superinterfaces:
org.apache.wicket.request.ILoggableRequestHandler,org.apache.wicket.core.request.handler.IPageClassRequestHandler,org.apache.wicket.core.request.handler.IPageRequestHandler,org.apache.wicket.core.request.handler.IPartialPageRequestHandler,org.apache.wicket.request.IRequestHandler
- All Known Implementing Classes:
WebSocketRequestHandler
public interface IWebSocketRequestHandler extends org.apache.wicket.core.request.handler.IPartialPageRequestHandler, org.apache.wicket.request.ILoggableRequestHandlerAn interface for outbound communication with web socket clients- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpush(byte[] message, int offset, int length)Pushes a binary message to the client.voidpush(java.lang.CharSequence message)Pushes a text message to the client.-
Methods inherited from interface org.apache.wicket.core.request.handler.IPageClassRequestHandler
getPageClass, getPageParameters
-
Methods inherited from interface org.apache.wicket.core.request.handler.IPageRequestHandler
getPage, getPageId, getRenderCount, isPageInstanceCreated
-
-
-
-
Method Detail
-
push
void push(java.lang.CharSequence message)
Pushes a text message to the client.- Parameters:
message- the text message to push to the client if the web socket connection is open
-
push
void push(byte[] message, int offset, int length)Pushes a binary message to the client.- Parameters:
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 message
-
-