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.Basic
BLOCKING_SEND_TIMEOUT_PROPERTY
Constructor and Description |
---|
WsRemoteEndpointImplServer(AbstractServletOutputStream 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, setSession
public WsRemoteEndpointImplServer(AbstractServletOutputStream sos, WsServerContainer serverContainer)
protected final boolean isMasked()
isMasked
in class WsRemoteEndpointImplBase
protected void doWrite(SendHandler handler, ByteBuffer... buffers)
doWrite
in class WsRemoteEndpointImplBase
public void onWritePossible(boolean useDispatch)
protected void doClose()
doClose
in class WsRemoteEndpointImplBase
protected long getTimeoutExpiry()
protected void onTimeout(boolean useDispatch)
protected void setTransformation(Transformation transformation)
setTransformation
in class WsRemoteEndpointImplBase
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.