| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| private static class | Http1xClientConnection.
We split the stream class in two classes so that the base |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpClientBase | |
| private boolean | |
| private boolean | |
| private boolean | |
| private Handler | |
| private long | |
| private final long | |
| private static final Handler | |
| private Handler | |
| private boolean | |
| private int | |
| private long | |
| private static final Logger | |
| private final long | |
| public final ClientMetrics | |
| private final HttpClientOptions | |
| private long | |
| private Deque | |
| private Deque | |
| private int | |
| private final SocketAddress | |
| private boolean | |
| private long | |
| private final boolean | |
| private final HttpVersion | |
| private boolean | |
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv | Http1xClientConnection(HttpVersion version, HttpClientBase client, ChannelHandlerContext channel, boolean ssl, SocketAddress server, ContextInternal context, ClientMetrics<M, T, Req, Resp> metrics)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public synchronized long | |
| private void | beginRequest(Http1xClientConnection.
|
| private void | |
| public Future | close()
Overrides io. Implements io. Like |
| public long | |
| public HttpClientConnection | concurrencyChangeHandler(Handler<Long>
the handler handler)Implements io. Set a |
| private HttpRequest | createRequest(HttpMethod method, String uri, MultiMap headerMap, String authority, boolean chunked, ByteBuf buf, boolean end)
|
| 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. |
| pack-priv static CharSequence | |
| private void | |
| public HttpClientConnection | evictionHandler(Handler<Void>
the handler handler)Implements io. Set a |
| private static long | Returns: the expiration timestampthe timeout timeout)Compute the expiration timeout of the connection, relative to the current time. |
| private WebSocketImpl | finish(ContextInternal context, WebSocketVersion version, boolean registerWriteHandlers, WebSocketClientHandshaker handshaker, MultiMap headers)
|
| private void | |
| protected void | |
| public void | |
| private void | |
| protected void | handleIdle(IdleStateEvent event)
Overrides io. Called by the Netty handler when the connection becomes idle. |
| public void | handleInterestedOpsChanged()
Implements abstract io.
|
| public void | |
| private void | |
| private void | |
| private void | |
| pack-priv ArrayList | |
| private static boolean | |
| public boolean | |
| public long | |
| public HttpClientMetrics | |
| pack-priv static WebSocketClientHandshaker | newHandshaker(URI webSocketURL, WebSocketVersion version, String subprotocol, boolean allowExtensions, boolean allowOriginHeader, HttpHeaders customHeaders, int maxFramePayloadLength, boolean performMasking)
|
| private void | |
| private void | Returns: the messages emitted by the removed handlers during their removalRemove all HTTP channel handlers of this connection |
| private boolean | Returns: whether the stream should be considered as closedto reset streamResets the given |
| public Future | shutdown(long timeout, TimeUnit unit)
Overrides io. Implements io. Like |
| private void | |
| private synchronized void | |
| public NetSocketInternal | |
| pack-priv synchronized void | toWebSocket(ContextInternal context, String requestURI, MultiMap headers, boolean allowOriginHeader, WebsocketVersion vers, List<String> subProtocols, long handshakeTimeout, boolean registerWriteHandlers, int maxWebSocketFrameSize, Promise<WebSocket> promise)
|
| private Throwable | |
| private void | writeBuffer(Http1xClientConnection.
|