| Modifier and Type | Method and Description |
|---|---|
| public Future | |
| public @Nullable HostAndPort | |
| public MultiMap | |
| public boolean | |
| public SocketAddress | Returns: the local address for this connection, possiblynull (e.g a server bound on a domain socket)
If useProxyProtocol is set to true, the address returned will be of the proxy.
|
| public String | |
| public List | Returns: an ordered list of the peer certificates. Returns null if connection is not SSL.
|
| public @Nullable String | |
| public default Future | |
| public Future | |
| public SocketAddress | Returns: the remote address for this connection, possiblynull (e.g a server bound on a domain socket).
If useProxyProtocol is set to true, the address returned will be of the actual connecting client.
|
| public @Nullable String | |
| public SSLSession | Returns: SSLSession associated with the underlying socket. Returns null if connection is not SSL.
|
| public String |
| accept | back to summary |
|---|---|
| public Future Accept the WebSocket and terminate the WebSocket handshake. This method should be called from the WebSocket handler to explicitly accept the WebSocket and terminate the WebSocket handshake.
| |
| authority | back to summary |
|---|---|
public @Nullable HostAndPort authority()
| |
| headers | back to summary |
|---|---|
| public MultiMap headers() Returns the HTTP headers.
| |
| isSsl | back to summary |
|---|---|
public boolean isSsl()
| |
| localAddress | back to summary |
|---|---|
public SocketAddress localAddress()
| |
| path | back to summary |
|---|---|
public String path()
| |
| peerCertificates | back to summary |
|---|---|
public List
| |
| query | back to summary |
|---|---|
| public @Nullable String query() | |
| reject | back to summary |
|---|---|
| public default Future Reject the WebSocket. Calling this method from the WebSocket handler when it is first passed to you gives you the opportunity to reject the WebSocket, which will cause the WebSocket handshake to fail by returning a 502 response code. You might use this method, if for example you only want to accept WebSockets with a particular path.
| |
| reject | back to summary |
|---|---|
| public Future Like | |
| remoteAddress | back to summary |
|---|---|
public SocketAddress remoteAddress()
| |
| scheme | back to summary |
|---|---|
| public @Nullable String scheme() | |
| sslSession | back to summary |
|---|---|
public SSLSession sslSession()
| |
| uri | back to summary |
|---|---|
| public String uri() | |