Interface SpincastHttpClientUtils
- All Known Subinterfaces:
SpincastHttpClientWithWebsocketUtils
- All Known Implementing Classes:
SpincastHttpClientUtilsDefault
,SpincastHttpClientWithWebsocketUtilsDefault
public interface SpincastHttpClientUtils
-
Method Summary
Modifier and TypeMethodDescriptionapacheCookieToHttpHeaderValue
(org.spincast.shaded.org.apache.http.cookie.Cookie cookie) generateExpectedWebsocketV13AcceptHeaderValue
(String secWebSocketKey) Generates the expected value of a "Sec-WebSocket-Accept" header in the response for a Websocket upgrade request.
-
Method Details
-
generateExpectedWebsocketV13AcceptHeaderValue
Generates the expected value of a "Sec-WebSocket-Accept" header in the response for a Websocket upgrade request.- Parameters:
secWebSocketKey
- The value of the "Sec-WebSocket-Key" header sent in the request.
-
apacheCookieToHttpHeaderValue
-