requestInProgress is the request currently receiving messages, the field is set when
a HttpRequest message is received and unset when LastHttpContent is received. Intermediate
HttpContent messages are processed by the request.responseInProgress is the request for which the response is currently being sent. This field
is set when it is null and the requestInProgress field if set, or when there is a pipelined
request waiting its turn for writing the responseWhen a request is received, it is also the current response if there is no response in progress, otherwise it is queued and will become the response in progress when the current response in progress ends.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| pack-priv final boolean | |
| private Handler | |
| private boolean | |
| private static final Logger | |
| pack-priv final HttpServerMetrics | |
| pack-priv final HttpServerOptions | |
| private boolean | |
| private Handler | |
| private Http1xServerRequest | |
| private Http1xServerRequest | |
| private final String | |
| private final SslChannelProvider | |
| private final Supplier | |
| private final TracingPolicy | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | Http1xServerConnection(Supplier<ContextInternal> streamContextSupplier, SslChannelProvider sslChannelProvider, HttpServerOptions options, ChannelHandlerContext chctx, ContextInternal context, String serverOrigin, HttpServerMetrics<R, W, S> metrics)
|
| Modifier and Type | Method and Description |
|---|---|
| private WebSocketServerHandshaker | |
| pack-priv void | |
| public void | |
| public void | |
| private void | |
| private void | |
| pack-priv String | |
| protected void | |
| private void | |
| public void | |
| public void | handleInterestedOpsChanged()
Implements abstract io.
|
| public void | |
| private void | |
| private void | |
| public HttpServerConnection | handler(Handler<HttpServerRequest> handler)
Implements io.
|
| public HttpServerConnection | |
| public HttpServerMetrics | |
| public void | |
| public Future | |
| pack-priv void | |
| private void | |
| private void | |
| private void | |
| pack-priv void | |
| protected boolean | |
| pack-priv TracingPolicy | |
| pack-priv Vertx | |
| pack-priv void | |
| pack-priv void |
| channelPaused | back to summary |
|---|---|
| private boolean channelPaused | |
| handle100ContinueAutomatically | back to summary |
|---|---|
| pack-priv final boolean handle100ContinueAutomatically | |
| invalidRequestHandler | back to summary |
|---|---|
| private Handler<HttpServerRequest> invalidRequestHandler | |
| keepAlive | back to summary |
|---|---|
| private boolean keepAlive | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| metrics | back to summary |
|---|---|
| pack-priv final HttpServerMetrics<R, W, S> metrics | |
| options | back to summary |
|---|---|
| pack-priv final HttpServerOptions options | |
| requestFailed | back to summary |
|---|---|
| private boolean requestFailed | |
| requestHandler | back to summary |
|---|---|
| private Handler<HttpServerRequest> requestHandler | |
| requestInProgress | back to summary |
|---|---|
| private Http1xServerRequest requestInProgress | |
| responseInProgress | back to summary |
|---|---|
| private Http1xServerRequest responseInProgress | |
| serverOrigin | back to summary |
|---|---|
| private final String serverOrigin | |
| sslChannelProvider | back to summary |
|---|---|
| private final SslChannelProvider sslChannelProvider | |
| streamContextSupplier | back to summary |
|---|---|
| private final Supplier<ContextInternal> streamContextSupplier | |
| tracingPolicy | back to summary |
|---|---|
| private final TracingPolicy tracingPolicy | |
| writable | back to summary |
|---|---|
| private boolean writable | |
| Http1xServerConnection | back to summary |
|---|---|
| public Http1xServerConnection(Supplier<ContextInternal> streamContextSupplier, SslChannelProvider sslChannelProvider, HttpServerOptions options, ChannelHandlerContext chctx, ContextInternal context, String serverOrigin, HttpServerMetrics<R, W, S> metrics) | |
| createHandshaker | back to summary |
|---|---|
| private WebSocketServerHandshaker createHandshaker(Http1xServerRequest request) throws WebSocketHandshakeException | |
| createWebSocket | back to summary |
|---|---|
| pack-priv void createWebSocket(Http1xServerRequest request, PromiseInternal<ServerWebSocket> promise) | |
| doPause | back to summary |
|---|---|
| public void doPause() Overrides io.
| |
| doResume | back to summary |
|---|---|
| public void doResume() Overrides io.
| |
| enqueueRequest | back to summary |
|---|---|
| private void enqueueRequest(Http1xServerRequest req) | |
| flushAndClose | back to summary |
|---|---|
| private void flushAndClose() | |
| getServerOrigin | back to summary |
|---|---|
| pack-priv String getServerOrigin() | |
| handleClosed | back to summary |
|---|---|
| protected void handleClosed() Overrides io. | |
| handleError | back to summary |
|---|---|
| private void handleError(HttpObject obj) | |
| handleException | back to summary |
|---|---|
| public void handleException(Throwable t) Overrides io.
| |
| handleInterestedOpsChanged | back to summary |
|---|---|
| public void handleInterestedOpsChanged() Implements abstract io.
| |
| handleMessage | back to summary |
|---|---|
| public void handleMessage(Object msg) Overrides io. | |
| handleNext | back to summary |
|---|---|
| private void handleNext(Http1xServerRequest next) | |
| handleOther | back to summary |
|---|---|
| private void handleOther(Object msg) | |
| handler | back to summary |
|---|---|
| public HttpServerConnection handler(Handler<HttpServerRequest> handler) Implements io.
| |
| invalidRequestHandler | back to summary |
|---|---|
| public HttpServerConnection invalidRequestHandler(Handler<HttpServerRequest> handler) Implements io.
| |
| metrics | back to summary |
|---|---|
| public HttpServerMetrics Implements abstract io.
| |
| netSocket | back to summary |
|---|---|
| public void netSocket(Handler<AsyncResult<NetSocket>> handler) | |
| netSocket | back to summary |
|---|---|
| public Future | |
| netSocket | back to summary |
|---|---|
| pack-priv void netSocket(Promise<NetSocket> promise) | |
| onContent | back to summary |
|---|---|
| private void onContent(Object msg) | |
| onEnd | back to summary |
|---|---|
| private void onEnd() | |
| reportResponseComplete | back to summary |
|---|---|
| private void reportResponseComplete() | |
| responseComplete | back to summary |
|---|---|
| pack-priv void responseComplete() | |
| supportsFileRegion | back to summary |
|---|---|
| protected boolean supportsFileRegion() Overrides io.
| |
| tracingPolicy | back to summary |
|---|---|
| pack-priv TracingPolicy tracingPolicy() | |
| vertx | back to summary |
|---|---|
| pack-priv Vertx vertx() | |
| write100Continue | back to summary |
|---|---|
| pack-priv void write100Continue() | |
| write103EarlyHints | back to summary |
|---|---|
| pack-priv void write103EarlyHints(HttpHeaders headers, PromiseInternal<Void> promise) | |