HttpAsyncServer bootstrap.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private CharCodingConfig | |
| private Callback | |
| private final List | |
| private H2Config | |
| private H2StreamListener | |
| private final List | |
| private Timeout | |
| private Http1Config | |
| private Http1StreamListener | |
| private HttpProcessor | |
| private IOReactorConfig | |
| private Decorator | |
| private LookupRegistry | |
| private IOSessionListener | |
| private TlsStrategy | |
| private HttpVersionPolicy |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final H2ServerBootstrap | addFilterAfter(final String existing, final String name, final AsyncFilterHandler filterHandler)
Adds the filter after the filter with the given name. |
| public final H2ServerBootstrap | addFilterBefore(final String existing, final String name, final AsyncFilterHandler filterHandler)
Adds the filter before the filter with the given name. |
| public final H2ServerBootstrap | addFilterFirst(final String name, final AsyncFilterHandler filterHandler)
Add an filter to the head of the processing list. |
| public final H2ServerBootstrap | addFilterLast(final String name, final AsyncFilterHandler filterHandler)
Add an filter to the tail of the processing list. |
| public static H2ServerBootstrap | |
| public HttpAsyncServer | |
| public final H2ServerBootstrap | register(final String
the pattern to register the handler for. uriPattern, final Supplier<AsyncServerExchangeHandler> the handler supplier. supplier)Registers the given |
| public final <T> H2ServerBootstrap | register(final String
the pattern to register the handler for. uriPattern, final AsyncServerRequestHandler<T> the handler. requestHandler)Registers the given |
| public final H2ServerBootstrap | registerVirtual(final String
the host name hostname, final String the pattern to register the handler for. uriPattern, final Supplier<AsyncServerExchangeHandler> the handler supplier. supplier)Registers the given |
| public final <T> H2ServerBootstrap | registerVirtual(final String
the host name hostname, final String the pattern to register the handler for. uriPattern, final AsyncServerRequestHandler<T> the handler. requestHandler)Registers the given |
| public final H2ServerBootstrap | replaceFilter(final String existing, final AsyncFilterHandler filterHandler)
Replace an existing filter with the given name with new filter. |
| public final H2ServerBootstrap | setCanonicalHostName(final String canonicalHostName)
Sets canonical name (fully qualified domain name) of the server. |
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap | setExceptionCallback(final Callback<Exception> exceptionCallback)
|
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap | setIOSessionDecorator(final Decorator<IOSession> ioSessionDecorator)
|
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap | setLookupRegistry(final LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Assigns |
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap | setStreamListener(final Http1StreamListener http1StreamListener)
Assigns |
| public final H2ServerBootstrap | |
| public final H2ServerBootstrap |
| canonicalHostName | back to summary |
|---|---|
| private String canonicalHostName | |
| charCodingConfig | back to summary |
|---|---|
| private CharCodingConfig charCodingConfig | |
| exceptionCallback | back to summary |
|---|---|
| private Callback<Exception> exceptionCallback | |
| filters | back to summary |
|---|---|
| private final List<FilterEntry<AsyncFilterHandler>> filters | |
| h2Config | back to summary |
|---|---|
| private H2Config h2Config | |
| h2StreamListener | back to summary |
|---|---|
| private H2StreamListener h2StreamListener | |
| handlerList | back to summary |
|---|---|
| private final List<HandlerEntry<Supplier<AsyncServerExchangeHandler>>> handlerList | |
| handshakeTimeout | back to summary |
|---|---|
| private Timeout handshakeTimeout | |
| http1Config | back to summary |
|---|---|
| private Http1Config http1Config | |
| http1StreamListener | back to summary |
|---|---|
| private Http1StreamListener http1StreamListener | |
| httpProcessor | back to summary |
|---|---|
| private HttpProcessor httpProcessor | |
| ioReactorConfig | back to summary |
|---|---|
| private IOReactorConfig ioReactorConfig | |
| ioSessionDecorator | back to summary |
|---|---|
| private Decorator<IOSession> ioSessionDecorator | |
| lookupRegistry | back to summary |
|---|---|
| private LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry | |
| sessionListener | back to summary |
|---|---|
| private IOSessionListener sessionListener | |
| tlsStrategy | back to summary |
|---|---|
| private TlsStrategy tlsStrategy | |
| versionPolicy | back to summary |
|---|---|
| private HttpVersionPolicy versionPolicy | |
| H2ServerBootstrap | back to summary |
|---|---|
| private H2ServerBootstrap() | |
| addFilterAfter | back to summary |
|---|---|
| public final H2ServerBootstrap addFilterAfter(final String existing, final String name, final AsyncFilterHandler filterHandler) Adds the filter after the filter with the given name. | |
| addFilterBefore | back to summary |
|---|---|
| public final H2ServerBootstrap addFilterBefore(final String existing, final String name, final AsyncFilterHandler filterHandler) Adds the filter before the filter with the given name. | |
| addFilterFirst | back to summary |
|---|---|
| public final H2ServerBootstrap addFilterFirst(final String name, final AsyncFilterHandler filterHandler) Add an filter to the head of the processing list. | |
| addFilterLast | back to summary |
|---|---|
| public final H2ServerBootstrap addFilterLast(final String name, final AsyncFilterHandler filterHandler) Add an filter to the tail of the processing list. | |
| bootstrap | back to summary |
|---|---|
| public static H2ServerBootstrap bootstrap() | |
| create | back to summary |
|---|---|
| public HttpAsyncServer create() | |
| register | back to summary |
|---|---|
| public final H2ServerBootstrap register(final String uriPattern, final Supplier<AsyncServerExchangeHandler> supplier) Registers the given
| |
| register | back to summary |
|---|---|
| public final <T> H2ServerBootstrap register(final String uriPattern, final AsyncServerRequestHandler<T> requestHandler) Registers the given
| |
| registerVirtual | back to summary |
|---|---|
| public final H2ServerBootstrap registerVirtual(final String hostname, final String uriPattern, final Supplier<AsyncServerExchangeHandler> supplier) Registers the given
| |
| registerVirtual | back to summary |
|---|---|
| public final <T> H2ServerBootstrap registerVirtual(final String hostname, final String uriPattern, final AsyncServerRequestHandler<T> requestHandler) Registers the given
| |
| replaceFilter | back to summary |
|---|---|
| public final H2ServerBootstrap replaceFilter(final String existing, final AsyncFilterHandler filterHandler) Replace an existing filter with the given name with new filter. | |
| setCanonicalHostName | back to summary |
|---|---|
| public final H2ServerBootstrap setCanonicalHostName(final String canonicalHostName) Sets canonical name (fully qualified domain name) of the server.
| |
| setCharset | back to summary |
|---|---|
| public final H2ServerBootstrap setCharset(final CharCodingConfig charCodingConfig) Sets message char coding. | |
| setExceptionCallback | back to summary |
|---|---|
| public final H2ServerBootstrap setExceptionCallback(final Callback<Exception> exceptionCallback) | |
| setH2Config | back to summary |
|---|---|
| public final H2ServerBootstrap setH2Config(final H2Config h2Config) Sets HTTP/2 protocol parameters | |
| setHandshakeTimeout | back to summary |
|---|---|
| public final H2ServerBootstrap setHandshakeTimeout(final Timeout handshakeTimeout) | |
| setHttp1Config | back to summary |
|---|---|
| public final H2ServerBootstrap setHttp1Config(final Http1Config http1Config) Sets HTTP/1.1 protocol parameters | |
| setHttpProcessor | back to summary |
|---|---|
| public final H2ServerBootstrap setHttpProcessor(final HttpProcessor httpProcessor) Assigns | |
| setIOReactorConfig | back to summary |
|---|---|
| public final H2ServerBootstrap setIOReactorConfig(final IOReactorConfig ioReactorConfig) Sets I/O reactor configuration. | |
| setIOSessionDecorator | back to summary |
|---|---|
| public final H2ServerBootstrap setIOSessionDecorator(final Decorator<IOSession> ioSessionDecorator) | |
| setIOSessionListener | back to summary |
|---|---|
| public final H2ServerBootstrap setIOSessionListener(final IOSessionListener sessionListener) Assigns | |
| setLookupRegistry | back to summary |
|---|---|
| public final H2ServerBootstrap setLookupRegistry(final LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) Assigns | |
| setStreamListener | back to summary |
|---|---|
| public final H2ServerBootstrap setStreamListener(final H2StreamListener h2StreamListener) Assigns | |
| setStreamListener | back to summary |
|---|---|
| public final H2ServerBootstrap setStreamListener(final Http1StreamListener http1StreamListener) Assigns | |
| setTlsStrategy | back to summary |
|---|---|
| public final H2ServerBootstrap setTlsStrategy(final TlsStrategy tlsStrategy) Assigns | |
| setVersionPolicy | back to summary |
|---|---|
| public final H2ServerBootstrap setVersionPolicy(final HttpVersionPolicy versionPolicy) Sets HTTP protocol version policy | |