public class WebSocketRequestHandler extends Object implements AjaxRequestTarget, IWebSocketRequestHandler
AjaxRequestTarget.AbstractListener, AjaxRequestTarget.IJavaScriptResponse, AjaxRequestTarget.IListener, AjaxRequestTarget.ITargetRespondListener| Constructor and Description |
|---|
WebSocketRequestHandler(Component component,
IWebSocketConnection connection) |
public WebSocketRequestHandler(Component component, IWebSocketConnection connection)
public void push(CharSequence message)
IWebSocketRequestHandlerpush in interface IWebSocketRequestHandlermessage - the text message to push to the client if the web socket connection is openpublic void push(byte[] message,
int offset,
int length)
IWebSocketRequestHandlerpush in interface IWebSocketRequestHandlermessage - 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 messagepublic void add(Component component, String markupId)
add in interface AjaxRequestTargetpublic void add(Component... components)
add in interface AjaxRequestTargetpublic final void addChildren(MarkupContainer parent, Class<?> childCriteria)
addChildren in interface AjaxRequestTargetpublic void addListener(AjaxRequestTarget.IListener listener)
addListener in interface AjaxRequestTargetpublic void appendJavaScript(CharSequence javascript)
appendJavaScript in interface AjaxRequestTargetpublic void prependJavaScript(CharSequence javascript)
prependJavaScript in interface AjaxRequestTargetpublic void registerRespondListener(AjaxRequestTarget.ITargetRespondListener listener)
registerRespondListener in interface AjaxRequestTargetpublic Collection<? extends Component> getComponents()
getComponents in interface AjaxRequestTargetpublic final void focusComponent(Component component)
focusComponent in interface AjaxRequestTargetpublic IHeaderResponse getHeaderResponse()
getHeaderResponse in interface AjaxRequestTargetpublic String getLastFocusedElementId()
getLastFocusedElementId in interface AjaxRequestTargetpublic Page getPage()
getPage in interface AjaxRequestTargetgetPage in interface IPageRequestHandlerpublic Integer getPageId()
getPageId in interface IPageRequestHandlerpublic boolean isPageInstanceCreated()
isPageInstanceCreated in interface IPageRequestHandlerpublic Integer getRenderCount()
getRenderCount in interface IPageRequestHandlerpublic org.apache.wicket.request.ILogData getLogData()
getLogData in interface org.apache.wicket.request.ILoggableRequestHandlerpublic Class<? extends IRequestablePage> getPageClass()
getPageClass in interface IPageClassRequestHandlerpublic org.apache.wicket.request.mapper.parameter.PageParameters getPageParameters()
getPageParameters in interface IPageClassRequestHandlerpublic void respond(org.apache.wicket.request.IRequestCycle requestCycle)
respond in interface org.apache.wicket.request.IRequestHandlerpublic void detach(org.apache.wicket.request.IRequestCycle requestCycle)
detach in interface org.apache.wicket.request.IRequestHandlerCopyright © 2006–2015 Apache Software Foundation. All rights reserved.