Modifier and Type | Class and Description |
---|---|
pack-priv static class |
Modifier and Type | Field and Description |
---|---|
private final HttpClient | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final String | |
private static final Set | |
private final String | |
private static final SecureRandom | |
private final HttpRequestImpl | |
private final MessageDigest | |
private final Collection | |
private static final String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
private String | |
private static CheckFailedException | |
pack-priv static void | checkPermissions(BuilderImpl b, Proxy proxy)
Performs the necessary security permissions checks to connect ( possibly through a proxy ) to the builders WebSocket URI. |
private static URI | |
private static String | |
private static Collection | |
pack-priv static URI | |
private OpeningHandshake. | |
private static IllegalArgumentException | |
private static Proxy | proxyFor(Optional<ProxySelector> selector, URI uri)
Returns the proxy for the given URI when sent through the given client,
or |
private static void | |
private static Optional | |
private static String | |
private CompletableFuture | |
public CompletableFuture |
client | back to summary |
---|---|
private final HttpClient client |
HEADER_ACCEPT | back to summary |
---|---|
private static final String HEADER_ACCEPT |
HEADER_CONNECTION | back to summary |
---|---|
private static final String HEADER_CONNECTION |
HEADER_EXTENSIONS | back to summary |
---|---|
private static final String HEADER_EXTENSIONS |
HEADER_KEY | back to summary |
---|---|
private static final String HEADER_KEY |
HEADER_PROTOCOL | back to summary |
---|---|
private static final String HEADER_PROTOCOL |
HEADER_UPGRADE | back to summary |
---|---|
private static final String HEADER_UPGRADE |
HEADER_VERSION | back to summary |
---|---|
private static final String HEADER_VERSION |
ILLEGAL_HEADERS | back to summary |
---|---|
private static final Set<String> ILLEGAL_HEADERS |
nonce | back to summary |
---|---|
private final String nonce |
random | back to summary |
---|---|
private static final SecureRandom random |
request | back to summary |
---|---|
private final HttpRequestImpl request |
sha1 | back to summary |
---|---|
private final MessageDigest sha1 |
subprotocols | back to summary |
---|---|
private final Collection<String> subprotocols |
VERSION | back to summary |
---|---|
private static final String VERSION |
OpeningHandshake | back to summary |
---|---|
public OpeningHandshake(BuilderImpl b) |
checkAndReturnSubprotocol | back to summary |
---|---|
private String checkAndReturnSubprotocol(HttpHeaders responseHeaders) throws CheckFailedException |
checkFailed | back to summary |
---|---|
private static CheckFailedException checkFailed(String message) |
checkPermissions | back to summary |
---|---|
pack-priv static void checkPermissions(BuilderImpl b, Proxy proxy) Performs the necessary security permissions checks to connect ( possibly through a proxy ) to the builders WebSocket URI.
|
checkURI | back to summary |
---|---|
private static URI checkURI(URI uri) |
createNonce | back to summary |
---|---|
private static String createNonce() |
createRequestSubprotocols | back to summary |
---|---|
private static Collection |
createRequestURI | back to summary |
---|---|
pack-priv static URI createRequestURI(URI uri) |
handleResponse | back to summary |
---|---|
private OpeningHandshake. |
illegal | back to summary |
---|---|
private static IllegalArgumentException illegal(String message) |
proxyFor | back to summary |
---|---|
private static Proxy proxyFor(Optional<ProxySelector> selector, URI uri) Returns the proxy for the given URI when sent through the given client,
or |
requireAbsent | back to summary |
---|---|
private static void requireAbsent(HttpHeaders responseHeaders, String headerName) |
requireAtMostOne | back to summary |
---|---|
private static Optional |
requireSingle | back to summary |
---|---|
private static String requireSingle(HttpHeaders responseHeaders, String headerName) |
resultFrom | back to summary |
---|---|
private CompletableFuture |
send | back to summary |
---|---|
public CompletableFuture
|
Modifier and Type | Field and Description |
---|---|
pack-priv final String | |
pack-priv final TransportFactory |
Access | Constructor and Description |
---|---|
private |
subprotocol | back to summary |
---|---|
pack-priv final String subprotocol |
transport | back to summary |
---|---|
pack-priv final TransportFactory transport |
Result | back to summary |
---|---|
private Result(String subprotocol, TransportFactory transport) |