Uses of Class
org.apache.hc.core5.http2.impl.nio.bootstrap.H2ServerBootstrap
Packages that use H2ServerBootstrap
Package
Description
HTTP/2 capable requester and server bootstrap.
-
Uses of H2ServerBootstrap in org.apache.hc.core5.http2.impl.nio.bootstrap
Methods in org.apache.hc.core5.http2.impl.nio.bootstrap that return H2ServerBootstrapModifier and TypeMethodDescriptionfinal H2ServerBootstrap
H2ServerBootstrap.addFilterAfter
(String existing, String name, AsyncFilterHandler filterHandler) Adds the filter after the filter with the given name.final H2ServerBootstrap
H2ServerBootstrap.addFilterBefore
(String existing, String name, AsyncFilterHandler filterHandler) Adds the filter before the filter with the given name.final H2ServerBootstrap
H2ServerBootstrap.addFilterFirst
(String name, AsyncFilterHandler filterHandler) Add an filter to the head of the processing list.final H2ServerBootstrap
H2ServerBootstrap.addFilterLast
(String name, AsyncFilterHandler filterHandler) Add an filter to the tail of the processing list.static H2ServerBootstrap
H2ServerBootstrap.bootstrap()
final H2ServerBootstrap
H2ServerBootstrap.register
(String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandler
Supplier
as a default handler for URIs matching the given pattern.final <T> H2ServerBootstrap
H2ServerBootstrap.register
(String uriPattern, AsyncServerRequestHandler<T> requestHandler) Registers the givenAsyncServerRequestHandler
as a default handler for URIs matching the given pattern.final H2ServerBootstrap
H2ServerBootstrap.registerVirtual
(String hostname, String uriPattern, Supplier<AsyncServerExchangeHandler> supplier) Registers the givenAsyncServerExchangeHandler
Supplier
as a handler for URIs matching the given host and the pattern.final <T> H2ServerBootstrap
H2ServerBootstrap.registerVirtual
(String hostname, String uriPattern, AsyncServerRequestHandler<T> requestHandler) Registers the givenAsyncServerRequestHandler
as a handler for URIs matching the given host and the pattern.final H2ServerBootstrap
H2ServerBootstrap.replaceFilter
(String existing, AsyncFilterHandler filterHandler) Replace an existing filter with the given name with new filter.final H2ServerBootstrap
H2ServerBootstrap.setCanonicalHostName
(String canonicalHostName) Sets canonical name (fully qualified domain name) of the server.final H2ServerBootstrap
H2ServerBootstrap.setCharset
(CharCodingConfig charCodingConfig) Sets message char coding.final H2ServerBootstrap
H2ServerBootstrap.setExceptionCallback
(Callback<Exception> exceptionCallback) final H2ServerBootstrap
H2ServerBootstrap.setH2Config
(H2Config h2Config) Sets HTTP/2 protocol parametersfinal H2ServerBootstrap
H2ServerBootstrap.setHandshakeTimeout
(Timeout handshakeTimeout) final H2ServerBootstrap
H2ServerBootstrap.setHttp1Config
(Http1Config http1Config) Sets HTTP/1.1 protocol parametersfinal H2ServerBootstrap
H2ServerBootstrap.setHttpProcessor
(HttpProcessor httpProcessor) AssignsHttpProcessor
instance.final H2ServerBootstrap
H2ServerBootstrap.setIOReactorConfig
(IOReactorConfig ioReactorConfig) Sets I/O reactor configuration.final H2ServerBootstrap
H2ServerBootstrap.setIOSessionDecorator
(Decorator<IOSession> ioSessionDecorator) final H2ServerBootstrap
H2ServerBootstrap.setIOSessionListener
(IOSessionListener sessionListener) AssignsIOSessionListener
instance.final H2ServerBootstrap
H2ServerBootstrap.setLookupRegistry
(LookupRegistry<Supplier<AsyncServerExchangeHandler>> lookupRegistry) AssignsLookupRegistry
instance.final H2ServerBootstrap
H2ServerBootstrap.setStreamListener
(Http1StreamListener http1StreamListener) AssignsHttp1StreamListener
instance.final H2ServerBootstrap
H2ServerBootstrap.setStreamListener
(H2StreamListener h2StreamListener) AssignsH2StreamListener
instance.final H2ServerBootstrap
H2ServerBootstrap.setTlsStrategy
(TlsStrategy tlsStrategy) AssignsTlsStrategy
instance.final H2ServerBootstrap
H2ServerBootstrap.setVersionPolicy
(HttpVersionPolicy versionPolicy) Sets HTTP protocol version policy