| Modifier and Type | Field and Description |
|---|---|
| private final HttpServerExchange | |
| private final Set | |
| private Sender |
| Access | Constructor and Description |
|---|---|
| public | AsyncWebSocketHttpServerExchange(final HttpServerExchange exchange, Set<WebSocketChannel> peerConnections)
|
| exchange | back to summary |
|---|---|
| private final HttpServerExchange exchange | |
| peerConnections | back to summary |
|---|---|
| private final Set<WebSocketChannel> peerConnections | |
| sender | back to summary |
|---|---|
| private Sender sender | |
| AsyncWebSocketHttpServerExchange | back to summary |
|---|---|
| public AsyncWebSocketHttpServerExchange(final HttpServerExchange exchange, Set<WebSocketChannel> peerConnections) | |
| close | back to summary |
|---|---|
| public void close() Implements io. Doc from io. Forcibly close the exchange.
| |
| endExchange | back to summary |
|---|---|
| public void endExchange() Implements io. Doc from io. End the exchange normally. If this is a blocking exchange this may be a noop, and the exchange will actually end when the call stack returns
| |
| getAttachment | back to summary |
|---|---|
| public <T> T getAttachment(final AttachmentKey<T> key) Implements io.
| |
| getBufferPool | back to summary |
|---|---|
| public ByteBufferPool getBufferPool() Implements io.
| |
| getOptions | back to summary |
|---|---|
| public OptionMap getOptions() Implements io.
| |
| getPeerConnections | back to summary |
|---|---|
| public Set Implements io.
| |
| getQueryString | back to summary |
|---|---|
| public String getQueryString() Implements io.
| |
| getRequestHeader | back to summary |
|---|---|
| public String getRequestHeader(final String headerName) Implements io. Doc from io. gets the first request header with the specified name | |
| getRequestHeaders | back to summary |
|---|---|
| public Map Implements io. | |
| getRequestParameters | back to summary |
|---|---|
| public Map Implements io.
| |
| getRequestScheme | back to summary |
|---|---|
| public String getRequestScheme() Implements io. Doc from io. Get the request scheme, usually http or https | |
| getRequestURI | back to summary |
|---|---|
| public String getRequestURI() Implements io.
| |
| getResponseHeader | back to summary |
|---|---|
| public String getResponseHeader(final String headerName) Implements io. Doc from io. get a response header | |
| getResponseHeaders | back to summary |
|---|---|
| public Map Implements io. | |
| getSession | back to summary |
|---|---|
| public Object getSession() Implements io. Doc from io. Gets the session, if any | |
| getUserPrincipal | back to summary |
|---|---|
| public Principal getUserPrincipal() Implements io.
| |
| isUserInRole | back to summary |
|---|---|
| public boolean isUserInRole(String role) Implements io.
| |
| putAttachment | back to summary |
|---|---|
| public <T> void putAttachment(final AttachmentKey<T> key, final T value) Implements io.
| |
| readRequestData | back to summary |
|---|---|
| public IoFuture Implements io. Doc from io. Gets the body of the request.
| |
| sendData | back to summary |
|---|---|
| public IoFuture Implements io. Doc from io. Send some data
| |
| setResponseHeader | back to summary |
|---|---|
| public void setResponseHeader(final String headerName, final String headerValue) Implements io. Doc from io. Set a response header | |
| setResponseHeaders | back to summary |
|---|---|
| public void setResponseHeaders(final Map<String, List<String>> headers) Implements io. Doc from io. Sets the response headers
| |
| upgradeChannel | back to summary |
|---|---|
| public void upgradeChannel(final HttpUpgradeListener upgradeCallback) Implements io. Doc from io. Upgrade the underlying channel
| |