| Modifier and Type | Field and Description |
|---|---|
| private final Configuration. | |
| private FrameHandler | |
| private final CompletableFuture | |
| private static final Logger | |
| private final Request | |
| private List | |
| private boolean | |
| private final List | |
| private final WebSocketCoreClient |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| protected void | |
| public static CoreClientUpgradeRequest | |
| public List | |
| public List | |
| public abstract FrameHandler | |
| public HttpFields | |
| public String | |
| public List | |
| public URI | |
| public HttpVersion | |
| protected void | |
| public void | |
| public void | |
| public HttpUpgrader | newHttpUpgrader(HttpVersion version)
Implements org.
|
| private Throwable | |
| public void | onComplete(Result
the result of the request / response exchange result)Implements org. Callback method invoked when the request and the response have been processed, either successfully or not. |
| public void | |
| public void | |
| public CompletableFuture | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| customizer | back to summary |
|---|---|
| private final Configuration. | |
| frameHandler | back to summary |
|---|---|
| private FrameHandler frameHandler | |
| futureCoreSession | back to summary |
|---|---|
| private final CompletableFuture<CoreSession> futureCoreSession | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| request | back to summary |
|---|---|
| private final Request request | |
| requestedExtensions | back to summary |
|---|---|
| private List<ExtensionConfig> requestedExtensions | |
| upgraded | back to summary |
|---|---|
| private boolean upgraded | |
| upgradeListeners | back to summary |
|---|---|
| private final List<UpgradeListener> upgradeListeners | |
| wsClient | back to summary |
|---|---|
| private final WebSocketCoreClient wsClient | |
| CoreClientUpgradeRequest | back to summary |
|---|---|
| public CoreClientUpgradeRequest(WebSocketCoreClient webSocketClient, URI requestURI) | |
| addExtensions | back to summary |
|---|---|
| public void addExtensions(ExtensionConfig... configs) | |
| addExtensions | back to summary |
|---|---|
| public void addExtensions(String... configs) | |
| addListener | back to summary |
|---|---|
| public void addListener(UpgradeListener listener) | |
| customize | back to summary |
|---|---|
| protected void customize(EndPoint endPoint) Allow for overridden customization of endpoint (such as special transport level properties: e.g. TCP keepAlive) | |
| from | back to summary |
|---|---|
| public static CoreClientUpgradeRequest from(WebSocketCoreClient webSocketClient, URI requestURI, FrameHandler frameHandler) | |
| getCookies | back to summary |
|---|---|
| public List | |
| getExtensions | back to summary |
|---|---|
| public List | |
| getFrameHandler | back to summary |
|---|---|
| public abstract FrameHandler getFrameHandler() | |
| getHeaders | back to summary |
|---|---|
| public HttpFields getHeaders() | |
| getMethod | back to summary |
|---|---|
| public String getMethod() | |
| getSubProtocols | back to summary |
|---|---|
| public List | |
| getURI | back to summary |
|---|---|
| public URI getURI() | |
| getVersion | back to summary |
|---|---|
| public HttpVersion getVersion() | |
| handleException | back to summary |
|---|---|
| protected void handleException(Throwable failure) | |
| headers | back to summary |
|---|---|
| public void headers(Consumer<HttpFields. | |
| listener | back to summary |
|---|---|
| public void listener(Request. | |
| newHttpUpgrader | back to summary |
|---|---|
| public HttpUpgrader newHttpUpgrader(HttpVersion version) Implements org.
| |
| notifyUpgradeListeners | back to summary |
|---|---|
| private Throwable notifyUpgradeListeners(Consumer<UpgradeListener> action) | |
| onComplete | back to summary |
|---|---|
| public void onComplete(Result result) Implements org. Doc from org. Callback method invoked when the request and the response have been processed, either successfully or not.
The
Requests may complete after response, for example in case of big uploads that are
discarded or read asynchronously by the server.
This method is always invoked after | |
| requestComplete | back to summary |
|---|---|
| public void requestComplete() | |
| send | back to summary |
|---|---|
| public void send(Response. | |
| sendAsync | back to summary |
|---|---|
| public CompletableFuture | |
| setConfiguration | back to summary |
|---|---|
| public void setConfiguration(Configuration. | |
| setExtensions | back to summary |
|---|---|
| public void setExtensions(List<ExtensionConfig> configs) | |
| setSubProtocols | back to summary |
|---|---|
| public void setSubProtocols(String... protocols) | |
| setSubProtocols | back to summary |
|---|---|
| public void setSubProtocols(List<String> protocols) | |
| timeout | back to summary |
|---|---|
| public void timeout(long value, TimeUnit unit) | |
| upgrade | back to summary |
|---|---|
| public void upgrade(Response response, EndPoint endPoint) | |