- java.lang.Object
-
- swim.io.http.AbstractHttpClient
-
- swim.io.ws.AbstractWsClient
-
- All Implemented Interfaces:
FlowContext
,HttpClient
,IpContext
- Direct Known Subclasses:
AbstractWarpClient
public abstract class AbstractWsClient extends AbstractHttpClient
-
-
Field Summary
Fields Modifier and Type Field Description protected WsSettings
wsSettings
-
Fields inherited from class swim.io.http.AbstractHttpClient
context
-
-
Constructor Summary
Constructors Constructor Description AbstractWsClient()
AbstractWsClient(WsSettings wsSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setHttpClientContext(HttpClientContext context)
protected WsUpgradeRequester
upgrade(WebSocket<?,?> webSocket, WsRequest wsRequest)
WsSettings
wsSettings()
-
Methods inherited from class swim.io.http.AbstractHttpClient
become, cipherSuite, close, didBecome, didConnect, didDisconnect, didFail, didRequest, didRespond, didSecure, didTimeout, doRequest, flowControl, flowControl, flowControl, httpClientContext, httpSettings, idleTimeout, isClient, isConnected, isSecure, isServer, localAddress, localCertificates, localPrincipal, readResponse, remoteAddress, remoteCertificates, remotePrincipal, securityProtocol, willBecome, willConnect, willRequest, willRespond, willSecure
-
-
-
-
Field Detail
-
wsSettings
protected WsSettings wsSettings
-
-
Constructor Detail
-
AbstractWsClient
public AbstractWsClient(WsSettings wsSettings)
-
AbstractWsClient
public AbstractWsClient()
-
-
Method Detail
-
setHttpClientContext
public void setHttpClientContext(HttpClientContext context)
- Specified by:
setHttpClientContext
in interfaceHttpClient
- Overrides:
setHttpClientContext
in classAbstractHttpClient
-
wsSettings
public final WsSettings wsSettings()
-
upgrade
protected WsUpgradeRequester upgrade(WebSocket<?,?> webSocket, WsRequest wsRequest)
-
-