Uses of Interface
org.apache.hc.core5.function.Resolver
Packages that use Resolver
Package
Description
Default implementations of core HTTP APIs.
HTTP/1.1 requester and server bootstrap.
Support classes for the asynchronous I/O model.
-
Uses of Resolver in org.apache.hc.core5.http.impl
Classes in org.apache.hc.core5.http.impl that implement Resolver -
Uses of Resolver in org.apache.hc.core5.http.impl.bootstrap
Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type ResolverModifierConstructorDescriptionAsyncRequester(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback, Resolver<HttpHost, InetSocketAddress> addressResolver, IOReactorMetricsListener threadPoolListener, IOWorkerSelector workerSelector) HttpRequester(HttpRequestExecutor requestExecutor, HttpProcessor httpProcessor, ManagedConnPool<HttpHost, HttpClientConnection> connPool, SocketConfig socketConfig, HttpConnectionFactory<? extends HttpClientConnection> connectFactory, SSLSocketFactory sslSocketFactory, Callback<SSLParameters> sslSetupHandler, SSLSessionVerifier sslSessionVerifier, Resolver<HttpHost, InetSocketAddress> addressResolver) UseRequesterBootstrapto create instances of this class. -
Uses of Resolver in org.apache.hc.core5.http.nio.support
Methods in org.apache.hc.core5.http.nio.support with parameters of type ResolverModifier and TypeMethodDescriptionAsyncClientPipeline.ResponseContentStage.consumeContent(Resolver<ContentType, Supplier<AsyncEntityConsumer<T>>> dataConsumerResolver) ConfiguresAsyncEntityConsumersupplier to be used by the pipeline to process the incoming response content stream.AsyncServerPipeline.RequestContentStage.consumeContent(Resolver<ContentType, Supplier<AsyncEntityConsumer<T>>> dataConsumerResolver) ResolvesAsyncEntityConsumerto be used by the pipeline to process the incoming request content stream.AsyncServerPipeline.RequestHandlingStage.errorMessage(Resolver<Exception, String> messageMapper) Configures the pipeline to resolve the exception to a response error message.AsyncServerPipeline.RequestHandlingStage.exception(Resolver<Exception, AsyncResponseProducer> exceptionMapper) Configures the pipeline to resolve the exception to a response message stream.AsyncServerPipeline.ResponseContentStage.produce(Resolver<O, AsyncResponseProducer> responseProducerResolver) ResolvesAsyncResponseProducerto be used by the pipeline to generate the outgoing response message stream based on the given response message object.AsyncServerPipeline.ResponseContentStage.produceContent(Resolver<O, AsyncEntityProducer> dataProducerResolver) ResolvesAsyncEntityProducerto be used by the pipeline to generate the outgoing response content stream based on the given response content object.