- java.lang.Object
-
- swim.io.http.AbstractHttpRequester<Object>
-
- swim.io.ws.WsUpgradeRequester
-
- All Implemented Interfaces:
FlowContext
,HttpRequester<Object>
,IpContext
public class WsUpgradeRequester extends AbstractHttpRequester<Object>
-
-
Field Summary
-
Fields inherited from class swim.io.http.AbstractHttpRequester
context
-
-
Constructor Summary
Constructors Constructor Description WsUpgradeRequester(WebSocket<?,?> webSocket, WsRequest wsRequest, WsSettings wsSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decoder<Object>
contentDecoder(HttpResponse<?> httpResponse)
IpSocket
createSocket(WsEngine engine)
void
didDisconnect()
void
didRespond(HttpResponse<Object> httpResponse)
void
doRequest()
WebSocket<?,?>
webSocket()
WsRequest
wsRequest()
WsSettings
wsSettings()
WsUpgradeRequester
wsSettings(WsSettings wsSettings)
-
Methods inherited from class swim.io.http.AbstractHttpRequester
become, cipherSuite, close, didBecome, didFail, didRequest, didTimeout, flowControl, flowControl, flowControl, httpRequesterContext, httpSettings, isClient, isConnected, isSecure, isServer, localAddress, localCertificates, localPrincipal, remoteAddress, remoteCertificates, remotePrincipal, securityProtocol, setHttpRequesterContext, willBecome, willRequest, willRespond, writeRequest
-
-
-
-
Constructor Detail
-
WsUpgradeRequester
public WsUpgradeRequester(WebSocket<?,?> webSocket, WsRequest wsRequest, WsSettings wsSettings)
-
-
Method Detail
-
webSocket
public final WebSocket<?,?> webSocket()
-
wsRequest
public final WsRequest wsRequest()
-
wsSettings
public final WsSettings wsSettings()
-
wsSettings
public WsUpgradeRequester wsSettings(WsSettings wsSettings)
-
contentDecoder
public Decoder<Object> contentDecoder(HttpResponse<?> httpResponse)
- Specified by:
contentDecoder
in interfaceHttpRequester<Object>
- Overrides:
contentDecoder
in classAbstractHttpRequester<Object>
-
doRequest
public void doRequest()
- Specified by:
doRequest
in interfaceHttpRequester<Object>
- Specified by:
doRequest
in classAbstractHttpRequester<Object>
-
didRespond
public void didRespond(HttpResponse<Object> httpResponse)
- Specified by:
didRespond
in interfaceHttpRequester<Object>
- Overrides:
didRespond
in classAbstractHttpRequester<Object>
-
didDisconnect
public void didDisconnect()
- Specified by:
didDisconnect
in interfaceHttpRequester<Object>
- Overrides:
didDisconnect
in classAbstractHttpRequester<Object>
-
-