- java.lang.Object
-
- swim.io.http.AbstractHttpServer
-
- swim.io.ws.AbstractWsServer
-
- All Implemented Interfaces:
swim.io.FlowContext,swim.io.http.HttpServer,swim.io.IpContext
public abstract class AbstractWsServer extends swim.io.http.AbstractHttpServer
-
-
Field Summary
Fields Modifier and Type Field Description protected WsSettingswsSettings
-
Constructor Summary
Constructors Constructor Description AbstractWsServer()AbstractWsServer(WsSettings wsSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetHttpServerContext(swim.io.http.HttpServerContext context)protected WsUpgradeResponderupgrade(WebSocket<?,?> webSocket, swim.ws.WsResponse wsResponse)WsSettingswsSettings()-
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(swim.io.http.HttpServerContext context)
- Specified by:
setHttpServerContextin interfaceswim.io.http.HttpServer- Overrides:
setHttpServerContextin classswim.io.http.AbstractHttpServer
-
wsSettings
public final WsSettings wsSettings()
-
upgrade
protected WsUpgradeResponder upgrade(WebSocket<?,?> webSocket, swim.ws.WsResponse wsResponse)
-
-