java.lang.Object
swim.io.http.AbstractHttpClient
swim.io.ws.AbstractWsClient
swim.io.warp.AbstractWarpClient
- All Implemented Interfaces:
FlowContext
,HttpClient
,IpContext
,WebSocketContext<Envelope,
Envelope>
public abstract class AbstractWarpClient
extends AbstractWsClient
implements WebSocketContext<Envelope,Envelope>
-
Field Summary
FieldsFields inherited from class swim.io.ws.AbstractWsClient
wsSettings
Fields inherited from class swim.io.http.AbstractHttpClient
context
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<I2 extends Envelope>
void<I2 extends Envelope>
voidvoid
setHttpClientContext
(HttpClientContext context) protected WsUpgradeRequester
upgrade
(WarpSocket warpSocket, WsRequest wsRequest) final WarpSettings
<O2 extends Envelope>
voidwrite
(WsControlFrame<?, O2> frame) <O2 extends Envelope>
voidwrite
(WsDataFrame<O2> frame) Methods inherited from class swim.io.ws.AbstractWsClient
upgrade, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface swim.io.FlowContext
flowControl, flowControl, flowControl
Methods inherited from interface swim.io.IpContext
cipherSuite, isClient, isConnected, isSecure, isServer, localAddress, localCertificates, localPrincipal, remoteAddress, remoteCertificates, remotePrincipal, securityProtocol
Methods inherited from interface swim.io.ws.WebSocketContext
become, close, wsSettings
-
Field Details
-
warpSettings
-
-
Constructor Details
-
AbstractWarpClient
-
AbstractWarpClient
public AbstractWarpClient()
-
-
Method Details
-
setHttpClientContext
- Specified by:
setHttpClientContext
in interfaceHttpClient
- Overrides:
setHttpClientContext
in classAbstractWsClient
-
read
- Specified by:
read
in interfaceWebSocketContext<Envelope,
Envelope>
-
read
- Specified by:
read
in interfaceWebSocketContext<Envelope,
Envelope>
-
write
- Specified by:
write
in interfaceWebSocketContext<Envelope,
Envelope>
-
write
- Specified by:
write
in interfaceWebSocketContext<Envelope,
Envelope>
-
warpSettings
-
upgrade
-