| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final Function | |
| private final HttpServerMetrics | |
| pack-priv final HttpServerOptions | |
| private final ArrayDeque | |
| pack-priv Handler | |
| private final String | |
| private final Supplier | |
| private VertxHttp2Stream |
| Access | Constructor and Description |
|---|---|
| pack-priv | Http2ServerConnection(ContextInternal context, Supplier<ContextInternal> streamContextSupplier, String serverOrigin, VertxHttp2ConnectionHandler<C extends Http2ConnectionBase> connHandler, Function<String, String> encodingDetector, HttpServerOptions options, HttpServerMetrics<R, W, S> metrics)
|
| concurrentStreams | back to summary |
|---|---|
| private int concurrentStreams | |
| encodingDetector | back to summary |
|---|---|
| private final Function<String, String> encodingDetector | |
| metrics | back to summary |
|---|---|
| private final HttpServerMetrics<R, W, S> metrics | |
| options | back to summary |
|---|---|
| pack-priv final HttpServerOptions options | |
| pendingPushes | back to summary |
|---|---|
| private final ArrayDeque<Http2ServerConnection. | |
| requestHandler | back to summary |
|---|---|
| pack-priv Handler<HttpServerRequest> requestHandler | |
| serverOrigin | back to summary |
|---|---|
| private final String serverOrigin | |
| streamContextSupplier | back to summary |
|---|---|
| private final Supplier<ContextInternal> streamContextSupplier | |
| upgraded | back to summary |
|---|---|
| private VertxHttp2Stream<C extends Http2ConnectionBase> upgraded | |
| Http2ServerConnection | back to summary |
|---|---|
| pack-priv Http2ServerConnection(ContextInternal context, Supplier<ContextInternal> streamContextSupplier, String serverOrigin, VertxHttp2ConnectionHandler<C extends Http2ConnectionBase> connHandler, Function<String, String> encodingDetector, HttpServerOptions options, HttpServerMetrics<R, W, S> metrics) | |
| createStream | back to summary |
|---|---|
| private Http2ServerStream createStream(Http2Headers headers, boolean streamEnded) | |
| determineContentEncoding | back to summary |
|---|---|
| pack-priv String determineContentEncoding(Http2Headers headers) | |
| doSendPush | back to summary |
|---|---|
| private synchronized void doSendPush(int streamId, HostAndPort authority, HttpMethod method, MultiMap headers, String path, StreamPriority streamPriority, Promise<HttpServerResponse> promise) | |
| handler | back to summary |
|---|---|
| public HttpServerConnection handler(Handler<HttpServerRequest> handler) Implements io.
| |
| initStream | back to summary |
|---|---|
| private void initStream(int streamId, Http2ServerStream vertxStream) | |
| invalidRequestHandler | back to summary |
|---|---|
| public HttpServerConnection invalidRequestHandler(Handler<HttpServerRequest> handler) Implements io.
| |
| isMalformedRequest | back to summary |
|---|---|
| private static boolean isMalformedRequest(Http2ServerStream request) | |
| metrics | back to summary |
|---|---|
| public HttpServerMetrics Implements abstract io. | |
| onHeadersRead | back to summary |
|---|---|
| protected synchronized void onHeadersRead(int streamId, Http2Headers headers, StreamPriority streamPriority, boolean endOfStream) Implements abstract io.
| |
| sendPush | back to summary |
|---|---|
| pack-priv void sendPush(int streamId, HostAndPort authority, HttpMethod method, MultiMap headers, String path, StreamPriority streamPriority, Promise<HttpServerResponse> promise) | |
| stream | back to summary |
|---|---|
| pack-priv VertxHttp2Stream Overrides io. | |
| updateSettings | back to summary |
|---|---|
| protected void updateSettings(Http2Settings settingsUpdate, Handler<AsyncResult<Void>> completionHandler) Overrides io. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected String | determineEncoding(String acceptEncoding)
Overrides io.
|
| EncodingDetector | back to summary |
|---|---|
| private EncodingDetector(CompressionOptions[] compressionOptions) | |
| determineEncoding | back to summary |
|---|---|
| protected String determineEncoding(String acceptEncoding) Overrides io.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final ContextInternal | |
| private final Promise | |
| protected final Http2ServerResponse | |
| protected final Http2ServerStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | dispatch(Handler<HttpServerRequest> handler)
Implements io.
|
| public void | |
| public void | |
| public void | |
| public Http2ServerResponse |
| context | back to summary |
|---|---|
| protected final ContextInternal context | |
| promise | back to summary |
|---|---|
| private final Promise<HttpServerResponse> promise | |
| response | back to summary |
|---|---|
| protected final Http2ServerResponse response | |
| stream | back to summary |
|---|---|
| protected final Http2ServerStream stream | |
| Push | back to summary |
|---|---|
| public Push(Http2ServerStream stream, String contentEncoding, Promise<HttpServerResponse> promise) | |
| complete | back to summary |
|---|---|
| pack-priv void complete() | |
| dispatch | back to summary |
|---|---|
| public void dispatch(Handler<HttpServerRequest> handler) Implements io.
| |
| handleClose | back to summary |
|---|---|
| public void handleClose() Implements io.
| |
| handleException | back to summary |
|---|---|
| public void handleException(Throwable cause) Implements io.
| |
| handleReset | back to summary |
|---|---|
| public void handleReset(long errorCode) Implements io.
| |
| response | back to summary |
|---|---|
| public Http2ServerResponse response() Implements io.
| |