public class AsyncRequesterBootstrap extends Object
HttpAsyncRequester
bootstrap.public static AsyncRequesterBootstrap bootstrap()
public final AsyncRequesterBootstrap setIOReactorConfig(IOReactorConfig ioReactorConfig)
public final AsyncRequesterBootstrap setHttp1Config(Http1Config http1Config)
public final AsyncRequesterBootstrap setCharCodingConfig(CharCodingConfig charCodingConfig)
public final AsyncRequesterBootstrap setHttpProcessor(HttpProcessor httpProcessor)
HttpProcessor
instance.public final AsyncRequesterBootstrap setConnectionReuseStrategy(ConnectionReuseStrategy connStrategy)
ConnectionReuseStrategy
instance.public final AsyncRequesterBootstrap setDefaultMaxPerRoute(int defaultMaxPerRoute)
public final AsyncRequesterBootstrap setMaxTotal(int maxTotal)
public final AsyncRequesterBootstrap setTimeToLive(Timeout timeToLive)
public final AsyncRequesterBootstrap setPoolReusePolicy(PoolReusePolicy poolReusePolicy)
PoolReusePolicy
instance.@Experimental public final AsyncRequesterBootstrap setPoolConcurrencyPolicy(PoolConcurrencyPolicy poolConcurrencyPolicy)
PoolConcurrencyPolicy
instance.public final AsyncRequesterBootstrap setTlsStrategy(TlsStrategy tlsStrategy)
TlsStrategy
instance.public final AsyncRequesterBootstrap setTlsHandshakeTimeout(Timeout handshakeTimeout)
public final AsyncRequesterBootstrap setIOSessionDecorator(Decorator<IOSession> ioSessionDecorator)
public final AsyncRequesterBootstrap setExceptionCallback(Callback<Exception> exceptionCallback)
public final AsyncRequesterBootstrap setIOSessionListener(IOSessionListener sessionListener)
IOSessionListener
instance.public final AsyncRequesterBootstrap setStreamListener(Http1StreamListener streamListener)
Http1StreamListener
instance.public final AsyncRequesterBootstrap setConnPoolListener(ConnPoolListener<HttpHost> connPoolListener)
ConnPoolListener
instance.public HttpAsyncRequester create()
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.