Interface SpincastHttpClientUtils

All Known Subinterfaces:
SpincastHttpClientWithWebsocketUtils
All Known Implementing Classes:
SpincastHttpClientUtilsDefault, SpincastHttpClientWithWebsocketUtilsDefault

public interface SpincastHttpClientUtils
  • Method Details

    • generateExpectedWebsocketV13AcceptHeaderValue

      String generateExpectedWebsocketV13AcceptHeaderValue(String secWebSocketKey)
      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

      String apacheCookieToHttpHeaderValue(org.spincast.shaded.org.apache.http.cookie.Cookie cookie)