public interface ISpincastHttpClientUtils
| Modifier and Type | Interface and Description |
|---|---|
static class |
ISpincastHttpClientUtils.HttpHeadersExtra
Some HTTP headers that are not defined in Guava's
com.google.common.net.HttpHeaders
|
| Modifier and Type | Field and Description |
|---|---|
static String |
WEBSOCKET_V13_MAGIC_NUMBER
Do not change that, it is an official value.
|
| 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.
|
static final String WEBSOCKET_V13_MAGIC_NUMBER
String generateExpectedWebsocketV13AcceptHeaderValue(String secWebSocketKey)
secWebSocketKey - The value of the "Sec-WebSocket-Key" header
sent in the request.String apacheCookieToHttpHeaderValue(org.spincast.shaded.org.apache.http.cookie.Cookie cookie)
Copyright © 2016. All rights reserved.