public class TomcatWebSocketChannel extends AbstractChannel
| Modifier and Type | Class and Description |
|---|---|
class |
TomcatWebSocketChannel.MessageInboundImpl |
clientType, factory, gravity, httpReceiver, id, publishedQueue, publishedQueueLock, publisher, receivedQueue, receivedQueueLock, sessionId, subscriptions, udpReceiver| Constructor and Description |
|---|
TomcatWebSocketChannel(Gravity gravity,
String id,
TomcatWebSocketChannelFactory factory,
String clientType) |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncHttpContext |
acquireAsyncHttpContext() |
void |
close() |
void |
destroy() |
ContentType |
getContentType() |
StreamInbound |
getStreamInbound() |
protected boolean |
hasAsyncHttpContext() |
protected void |
releaseAsyncHttpContext(AsyncHttpContext context) |
boolean |
runReceived(AsyncHttpContext asyncHttpContext) |
void |
setConnectAckMessage(Message ackMessage) |
void |
setContentType(ContentType contentType) |
void |
setSession(HttpSession session) |
addSubscription, createUdpReceiver, destroy, equals, getClientType, getFactory, getGravity, getId, getSerializerContentType, getSubscriptions, hashCode, hasPublishedMessage, hasReceivedMessage, newSerializer, publish, queueReceiver, receive, removeSubscription, runPublish, runReceive, toStringpublic TomcatWebSocketChannel(Gravity gravity, String id, TomcatWebSocketChannelFactory factory, String clientType)
public void setSession(HttpSession session)
public void setConnectAckMessage(Message ackMessage)
public ContentType getContentType()
public void setContentType(ContentType contentType)
public StreamInbound getStreamInbound()
public boolean runReceived(AsyncHttpContext asyncHttpContext)
runReceived in interface ChannelrunReceived in class AbstractChannelpublic void destroy()
destroy in class AbstractChannelpublic void close()
protected boolean hasAsyncHttpContext()
hasAsyncHttpContext in class AbstractChannelprotected void releaseAsyncHttpContext(AsyncHttpContext context)
releaseAsyncHttpContext in class AbstractChannelprotected AsyncHttpContext acquireAsyncHttpContext()
acquireAsyncHttpContext in class AbstractChannel