Uses of Interface
org.apache.hc.core5.function.Resolver
-
Packages that use Resolver Package Description org.apache.hc.core5.http.impl Default implementations of core HTTP APIs.org.apache.hc.core5.http.impl.bootstrap HTTP/1.1 requester and server bootstrap.org.apache.hc.core5.http.nio.support 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 Modifier and Type Class Description classDefaultAddressResolverDefaultHttpHosttoInetSocketAddressresolver. -
Uses of Resolver in org.apache.hc.core5.http.impl.bootstrap
Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type Resolver Constructor Description AsyncRequester(IOEventHandlerFactory eventHandlerFactory, IOReactorConfig ioReactorConfig, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.Exception> exceptionCallback, IOSessionListener sessionListener, Callback<IOSession> sessionShutdownCallback, Resolver<HttpHost,java.net.InetSocketAddress> addressResolver, IOReactorMetricsListener threadPoolListener, IOWorkerSelector workerSelector)HttpRequester(HttpRequestExecutor requestExecutor, HttpProcessor httpProcessor, ManagedConnPool<HttpHost,HttpClientConnection> connPool, SocketConfig socketConfig, HttpConnectionFactory<? extends HttpClientConnection> connectFactory, javax.net.ssl.SSLSocketFactory sslSocketFactory, Callback<javax.net.ssl.SSLParameters> sslSetupHandler, SSLSessionVerifier sslSessionVerifier, Resolver<HttpHost,java.net.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 Resolver Modifier and Type Method Description <T> AsyncClientPipeline.ResultStage<Message<HttpResponse,T>>AsyncClientPipeline.ResponseContentStage. consumeContent(Resolver<ContentType,Supplier<AsyncEntityConsumer<T>>> dataConsumerResolver)ConfiguresAsyncEntityConsumersupplier to be used by the pipeline to process the incoming response content stream.<T> AsyncServerPipeline.ResponseStage<Message<HttpRequest,T>>AsyncServerPipeline.RequestContentStage. consumeContent(Resolver<ContentType,Supplier<AsyncEntityConsumer<T>>> dataConsumerResolver)ResolvesAsyncEntityConsumerto be used by the pipeline to process the incoming request content stream.AsyncServerPipeline.ExceptionStage<I,O>AsyncServerPipeline.RequestHandlingStage. errorMessage(Resolver<java.lang.Exception,java.lang.String> messageMapper)Configures the pipeline to resolve the exception to a response error message.AsyncServerPipeline.ExceptionStage<I,O>AsyncServerPipeline.RequestHandlingStage. exception(Resolver<java.lang.Exception,AsyncResponseProducer> exceptionMapper)Configures the pipeline to resolve the exception to a response message stream.<O> AsyncServerPipeline.RequestHandlingStage<I,O>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.<O> AsyncServerPipeline.RequestHandlingStage<I,Message<HttpResponse,O>>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.
-