- java.lang.Object
-
- swim.io.http.AbstractHttpServer
-
- swim.io.ws.AbstractWsServer
-
- All Implemented Interfaces:
FlowContext
,HttpServer
,IpContext
- Direct Known Subclasses:
AbstractWarpServer
public abstract class AbstractWsServer extends AbstractHttpServer
-
-
Field Summary
Fields Modifier and Type Field Description protected WsSettings
wsSettings
-
Fields inherited from class swim.io.http.AbstractHttpServer
context
-
-
Constructor Summary
Constructors Constructor Description AbstractWsServer()
AbstractWsServer(WsSettings wsSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setHttpServerContext(HttpServerContext context)
protected WsUpgradeResponder
upgrade(WebSocket<?,?> webSocket, WsResponse wsResponse)
WsSettings
wsSettings()
-
Methods inherited from class swim.io.http.AbstractHttpServer
become, cipherSuite, close, didBecome, didConnect, didDisconnect, didFail, didRequest, didRespond, didSecure, didTimeout, doRequest, flowControl, flowControl, flowControl, httpServerContext, httpSettings, idleTimeout, isClient, isConnected, isSecure, isServer, localAddress, localCertificates, localPrincipal, readRequest, remoteAddress, remoteCertificates, remotePrincipal, securityProtocol, willBecome, willRequest, willRespond, willSecure
-
-
-
-
Field Detail
-
wsSettings
protected WsSettings wsSettings
-
-
Constructor Detail
-
AbstractWsServer
public AbstractWsServer(WsSettings wsSettings)
-
AbstractWsServer
public AbstractWsServer()
-
-
Method Detail
-
setHttpServerContext
public void setHttpServerContext(HttpServerContext context)
- Specified by:
setHttpServerContext
in interfaceHttpServer
- Overrides:
setHttpServerContext
in classAbstractHttpServer
-
wsSettings
public final WsSettings wsSettings()
-
upgrade
protected WsUpgradeResponder upgrade(WebSocket<?,?> webSocket, WsResponse wsResponse)
-
-