public.javadoc.org.spincast.plugins.httpclient.utils.SpincastHttpClientUtils.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastHttpClientUtils (org.spincast:spincast-framework 1.0.0 API)
org.spincast.plugins.httpclient.utils
Interface SpincastHttpClientUtils
-
- All Known Subinterfaces:
- SpincastHttpClientWithWebsocketUtils
- All Known Implementing Classes:
- SpincastHttpClientUtilsDefault, SpincastHttpClientWithWebsocketUtilsDefault
public interface SpincastHttpClientUtils
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
String
apacheCookieToHttpHeaderValue(org.spincast.shaded.org.apache.http.cookie.Cookie cookie)
String
generateExpectedWebsocketV13AcceptHeaderValue(String secWebSocketKey)
Generates the expected value of a "Sec-WebSocket-Accept"
header in the response for a Websocket upgrade request.
-
-
Method Detail
-
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)
Copyright © 2019. All rights reserved.