HttpAsyncServer bootstrap.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private CharCodingConfig | |
| private ConnectionReuseStrategy | |
| private Callback | |
| private final List | |
| private final List | |
| private Timeout | |
| private Http1Config | |
| private HttpProcessor | |
| private IOReactorConfig | |
| private Decorator | |
| private LookupRegistry | |
| private IOSessionListener | |
| private Http1StreamListener | |
| private TlsStrategy |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final AsyncServerBootstrap | addFilterAfter(final String existing, final String name, final AsyncFilterHandler filterHandler)
Adds the filter after the filter with the given name. |
| public final AsyncServerBootstrap | addFilterBefore(final String existing, final String name, final AsyncFilterHandler filterHandler)
Adds the filter before the filter with the given name. |
| public final AsyncServerBootstrap | addFilterFirst(final String name, final AsyncFilterHandler filterHandler)
Add an filter to the head of the processing list. |
| public final AsyncServerBootstrap | addFilterLast(final String name, final AsyncFilterHandler filterHandler)
Add an filter to the tail of the processing list. |
| public static AsyncServerBootstrap | |
| public HttpAsyncServer | |
| public final AsyncServerBootstrap | register(final String
the pattern to register the handler for. uriPattern, final Supplier<AsyncServerExchangeHandler> the handler supplier. supplier)Registers the given |
| public final <T> AsyncServerBootstrap | register(final String
the pattern to register the handler for. uriPattern, final AsyncServerRequestHandler<T> the handler. requestHandler)Registers the given |
| public final AsyncServerBootstrap | 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> AsyncServerBootstrap | 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 AsyncServerBootstrap | replaceFilter(final String existing, final AsyncFilterHandler filterHandler)
Replace an existing filter with the given name with new filter. |
| public final AsyncServerBootstrap | setCanonicalHostName(final String canonicalHostName)
Sets canonical name (fully qualified domain name) of the server. |
| public final AsyncServerBootstrap | |
| public final AsyncServerBootstrap | setConnectionReuseStrategy(final ConnectionReuseStrategy connStrategy)
Assigns |
| public final AsyncServerBootstrap | setExceptionCallback(final Callback<Exception> exceptionCallback)
|
| public final AsyncServerBootstrap | |
| public final AsyncServerBootstrap | setHttpProcessor(final HttpProcessor httpProcessor)
Assigns |
| public final AsyncServerBootstrap | |
| public final AsyncServerBootstrap | setIOSessionDecorator(final Decorator<IOSession> ioSessionDecorator)
|
| public final AsyncServerBootstrap | |
| public final AsyncServerBootstrap | setLookupRegistry(final LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry)
Assigns |
| public final AsyncServerBootstrap | |
| public final AsyncServerBootstrap | |
| public final AsyncServerBootstrap |
| canonicalHostName | back to summary |
|---|---|
| private String canonicalHostName | |
| charCodingConfig | back to summary |
|---|---|
| private CharCodingConfig charCodingConfig | |
| connStrategy | back to summary |
|---|---|
| private ConnectionReuseStrategy connStrategy | |
| exceptionCallback | back to summary |
|---|---|
| private Callback<Exception> exceptionCallback | |
| filters | back to summary |
|---|---|
| private final List<FilterEntry<AsyncFilterHandler>> filters | |
| 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 | |
| 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 | |
| streamListener | back to summary |
|---|---|
| private Http1StreamListener streamListener | |
| tlsStrategy | back to summary |
|---|---|
| private TlsStrategy tlsStrategy | |
| AsyncServerBootstrap | back to summary |
|---|---|
| private AsyncServerBootstrap() | |
| addFilterAfter | back to summary |
|---|---|
| public final AsyncServerBootstrap 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 AsyncServerBootstrap 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 AsyncServerBootstrap addFilterFirst(final String name, final AsyncFilterHandler filterHandler) Add an filter to the head of the processing list. | |
| addFilterLast | back to summary |
|---|---|
| public final AsyncServerBootstrap addFilterLast(final String name, final AsyncFilterHandler filterHandler) Add an filter to the tail of the processing list. | |
| bootstrap | back to summary |
|---|---|
| public static AsyncServerBootstrap bootstrap() | |
| create | back to summary |
|---|---|
| public HttpAsyncServer create() | |
| register | back to summary |
|---|---|
| public final AsyncServerBootstrap register(final String uriPattern, final Supplier<AsyncServerExchangeHandler> supplier) Registers the given
| |
| register | back to summary |
|---|---|
| public final <T> AsyncServerBootstrap register(final String uriPattern, final AsyncServerRequestHandler<T> requestHandler) Registers the given
| |
| registerVirtual | back to summary |
|---|---|
| public final AsyncServerBootstrap registerVirtual(final String hostname, final String uriPattern, final Supplier<AsyncServerExchangeHandler> supplier) Registers the given
| |
| registerVirtual | back to summary |
|---|---|
| public final <T> AsyncServerBootstrap registerVirtual(final String hostname, final String uriPattern, final AsyncServerRequestHandler<T> requestHandler) Registers the given
| |
| replaceFilter | back to summary |
|---|---|
| public final AsyncServerBootstrap replaceFilter(final String existing, final AsyncFilterHandler filterHandler) Replace an existing filter with the given name with new filter. | |
| setCanonicalHostName | back to summary |
|---|---|
| public final AsyncServerBootstrap setCanonicalHostName(final String canonicalHostName) Sets canonical name (fully qualified domain name) of the server. | |
| setCharCodingConfig | back to summary |
|---|---|
| public final AsyncServerBootstrap setCharCodingConfig(final CharCodingConfig charCodingConfig) Sets connection configuration. | |
| setConnectionReuseStrategy | back to summary |
|---|---|
| public final AsyncServerBootstrap setConnectionReuseStrategy(final ConnectionReuseStrategy connStrategy) Assigns | |
| setExceptionCallback | back to summary |
|---|---|
| public final AsyncServerBootstrap setExceptionCallback(final Callback<Exception> exceptionCallback) | |
| setHttp1Config | back to summary |
|---|---|
| public final AsyncServerBootstrap setHttp1Config(final Http1Config http1Config) Sets HTTP/1.1 protocol parameters. | |
| setHttpProcessor | back to summary |
|---|---|
| public final AsyncServerBootstrap setHttpProcessor(final HttpProcessor httpProcessor) Assigns | |
| setIOReactorConfig | back to summary |
|---|---|
| public final AsyncServerBootstrap setIOReactorConfig(final IOReactorConfig ioReactorConfig) Sets I/O reactor configuration. | |
| setIOSessionDecorator | back to summary |
|---|---|
| public final AsyncServerBootstrap setIOSessionDecorator(final Decorator<IOSession> ioSessionDecorator) | |
| setIOSessionListener | back to summary |
|---|---|
| public final AsyncServerBootstrap setIOSessionListener(final IOSessionListener sessionListener) Assigns | |
| setLookupRegistry | back to summary |
|---|---|
| public final AsyncServerBootstrap setLookupRegistry(final LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) Assigns | |
| setStreamListener | back to summary |
|---|---|
| public final AsyncServerBootstrap setStreamListener(final Http1StreamListener streamListener) Assigns
| |
| setTlsHandshakeTimeout | back to summary |
|---|---|
| public final AsyncServerBootstrap setTlsHandshakeTimeout(final Timeout handshakeTimeout) Assigns TLS handshake | |
| setTlsStrategy | back to summary |
|---|---|
| public final AsyncServerBootstrap setTlsStrategy(final TlsStrategy tlsStrategy) Assigns | |