public class WsRemoteEndpointImplServer extends WsRemoteEndpointImplBase
RemoteEndpoint implementation
- i.e. what the server uses to send data to the client. Communication is over
a ServletOutputStream.RemoteEndpoint.Async, RemoteEndpoint.BasicBLOCKING_SEND_TIMEOUT_PROPERTY| Constructor and Description |
|---|
WsRemoteEndpointImplServer(ServletOutputStream sos,
WsServerContainer serverContainer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doWrite(SendHandler handler,
ByteBuffer... buffers) |
protected long |
getTimeoutExpiry() |
protected boolean |
isMasked() |
protected void |
onTimeout(boolean useDispatch) |
void |
onWritePossible(boolean useDispatch) |
protected void |
setTransformation(Transformation transformation) |
close, flushBatch, getBatchingAllowed, getSendStream, getSendTimeout, getSendWriter, sendBytes, sendBytesByCompletion, sendBytesByFuture, sendObject, sendObjectByCompletion, sendObjectByFuture, sendPartialBytes, sendPartialString, sendPing, sendPong, sendString, sendStringByCompletion, sendStringByFuture, setBatchingAllowed, setEncoders, setSendTimeout, setSessionpublic WsRemoteEndpointImplServer(ServletOutputStream sos, WsServerContainer serverContainer)
protected final boolean isMasked()
isMasked in class WsRemoteEndpointImplBaseprotected void doWrite(SendHandler handler, ByteBuffer... buffers)
doWrite in class WsRemoteEndpointImplBasepublic void onWritePossible(boolean useDispatch)
protected void doClose()
doClose in class WsRemoteEndpointImplBaseprotected long getTimeoutExpiry()
protected void onTimeout(boolean useDispatch)
protected void setTransformation(Transformation transformation)
setTransformation in class WsRemoteEndpointImplBaseCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.