| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | Http2UpgradeClientConnection.
The first stream that will send the request using HTTP/1, upgrades the connection when the protocol switches and receives the response with HTTP/2 frames. |
| Modifier and Type | Field and Description |
|---|---|
| private HttpClientBase | |
| private Handler | |
| private Handler | |
| private HttpClientConnection | |
| private Handler | |
| private Handler | |
| private Handler | |
| private static final Logger | |
| private Handler | |
| private Handler | |
| private static final Object | |
| private Handler | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public Channel | |
| public ChannelHandlerContext | |
| public Future | close()
Implements io. Like |
| public HttpConnection | closeHandler(Handler<Void>
the handler to be notified handler)Implements io. Set a close handler. |
| public long | |
| public HttpClientConnection | concurrencyChangeHandler(Handler<Long>
the handler handler)Implements io. Set a |
| public Future | createRequest(ContextInternal
the stream context context)Implements io. Create an HTTP stream. |
| public void | createStream(ContextInternal
the stream context context, Handler<AsyncResult<HttpClientStream>> the handler called when the stream is created handler)Implements io. Create an HTTP stream. |
| public HttpClientConnection | evictionHandler(Handler<Void>
the handler handler)Implements io. Set a |
| public HttpConnection | exceptionHandler(Handler<Throwable>
the handler handler)Implements io. Set an handler called when a connection error happens |
| public ContextInternal | |
| public HttpConnection | goAway(long
the GOAWAY error code errorCode, int the last stream id lastStreamId, Buffer additional debug data sent to the remote endpoint debugData)Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Send a go away frame to the remote endpoint of the connection. |
| public HttpConnection | |
| public String | indicatedServerName()
Implements io. Returns the SNI server name presented during the SSL handshake by the client. |
| public boolean | |
| public boolean | |
| public long | |
| public SocketAddress | |
| public SocketAddress | localAddress(boolean real)
Implements io. Like |
| public Object | |
| public X509Certificate[] | peerCertificateChain()
Implements io.
References Deprecated
X509Certificate is deprecated or references (maybe indirectly) at least one deprecated element.
Note Java SE 5+ recommends to use javax.net.ssl.SSLSession#getPeerCertificates() instead of of javax.net.ssl.SSLSession#getPeerCertificateChain() which this method is based on. |
| public List | |
| public HttpConnection | ping(Buffer
the 8 bytes data of the frame data, Handler<AsyncResult<Buffer>> an async result handler notified with pong reply or the failure pongHandler)Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Send a PING frame to the remote endpoint. |
| public Future | ping(Buffer data)
Implements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Same as |
| public HttpConnection | |
| public SocketAddress | |
| public SocketAddress | remoteAddress(boolean real)
Implements io. Like |
| public Http2Settings | |
| public HttpConnection | remoteSettingsHandler(Handler<Http2Settings>
the handler for remote endpoint settings handler)Implements io. Set an handler that is called when remote endpoint |
| public Http2Settings | |
| public Future | shutdown(long timeout, TimeUnit unit)
Implements io. Like |
| public HttpConnection | |
| public SSLSession | |
| public HttpClientConnection | |
| public Future | updateSettings(Http2Settings
the new settings settings)Implements io. Send to the remote endpoint an update of the server settings. |
| public HttpConnection | updateSettings(Http2Settings
the new settings settings, Handler<AsyncResult<Void>> the handler notified when the settings have been acknowledged by the remote endpoint completionHandler)Implements io. Send to the remote endpoint an update of this endpoint settings
The |