Uses of Class
org.apache.hc.core5.util.Timeout
Packages that use Timeout
Package
Description
Apache Bench (AB) clone based on HttpCore.
Core HTTP transport component APIs.
Core configuration APIs.
Default implementations of core HTTP APIs.
HTTP/1.1 requester and server bootstrap.
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
Core HTTP transport APIs based on the classic (blocking) I/O model.
TLS protocol support.
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
HTTP/2 capable requester and server bootstrap.
HTTP/2 specific pool component APIs.
HTTP/2 specific TLS protocol support.
Core I/O component APIs and utilities.
Client side connection pool component APIs.
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
TLS/SSL support for I/O reactors.
Core utility classes.
-
Uses of Timeout in org.apache.hc.core5.benchmark
Fields in org.apache.hc.core5.benchmark declared as TimeoutModifier and TypeFieldDescriptionprivate TimeoutBenchmarkConfig.Builder.socketTimeoutprivate final TimeoutBenchmarkConfig.socketTimeoutMethods in org.apache.hc.core5.benchmark that return TimeoutMethods in org.apache.hc.core5.benchmark with parameters of type TimeoutModifier and TypeMethodDescriptionBenchmarkConfig.Builder.setSocketTimeout(Timeout socketTimeout) Constructors in org.apache.hc.core5.benchmark with parameters of type TimeoutModifierConstructorDescriptionprivateBenchmarkConfig(URI uri, int requests, int concurrencyLevel, TimeValue timeLimit, Timeout socketTimeout, File payloadFile, ContentType contentType, int verbosity, boolean headInsteadOfGet, String[] headers, boolean keepAlive, String method, boolean useChunking, boolean useExpectContinue, boolean useAcceptGZip, String payloadText, String soapAction, boolean forceHttp2, boolean disableSSLVerification, String trustStorePath, String identityStorePath, String trustStorePassword, String identityStorePassword) -
Uses of Timeout in org.apache.hc.core5.http
Fields in org.apache.hc.core5.http declared as TimeoutMethods in org.apache.hc.core5.http that return TimeoutModifier and TypeMethodDescriptionEndpointDetails.getSocketTimeout()Gets the socket timeout.SocketModalCloseable.getSocketTimeout()Returns the socket timeout value.Methods in org.apache.hc.core5.http with parameters of type TimeoutModifier and TypeMethodDescriptionvoidSocketModalCloseable.setSocketTimeout(Timeout timeout) Sets the socket timeout value.Constructors in org.apache.hc.core5.http with parameters of type TimeoutModifierConstructorDescriptionprotectedEndpointDetails(SocketAddress remoteAddress, SocketAddress localAddress, Timeout socketTimeout) -
Uses of Timeout in org.apache.hc.core5.http.config
Fields in org.apache.hc.core5.http.config declared as TimeoutModifier and TypeFieldDescriptionprivate static final TimeoutHttp1Config.INIT_WAIT_FOR_CONTINUEprivate TimeoutHttp1Config.Builder.waitForContinueTimeoutprivate final TimeoutHttp1Config.waitForContinueTimeoutMethods in org.apache.hc.core5.http.config that return TimeoutMethods in org.apache.hc.core5.http.config with parameters of type TimeoutModifier and TypeMethodDescriptionHttp1Config.Builder.setWaitForContinueTimeout(Timeout waitForContinueTimeout) Constructors in org.apache.hc.core5.http.config with parameters of type TimeoutModifierConstructorDescription(package private)Http1Config(int bufferSize, int chunkSizeHint, Timeout waitForContinueTimeout, int maxLineLength, int maxHeaderCount, int maxEmptyLineCount, int initialWindowSize) -
Uses of Timeout in org.apache.hc.core5.http.impl
Constructors in org.apache.hc.core5.http.impl with parameters of type TimeoutModifierConstructorDescriptionBasicEndpointDetails(SocketAddress remoteAddress, SocketAddress localAddress, HttpConnectionMetrics metrics, Timeout socketTimeout) -
Uses of Timeout in org.apache.hc.core5.http.impl.bootstrap
Fields in org.apache.hc.core5.http.impl.bootstrap declared as TimeoutModifier and TypeFieldDescriptionprivate TimeoutAsyncRequesterBootstrap.handshakeTimeoutprivate TimeoutAsyncServerBootstrap.handshakeTimeoutprivate final TimeoutHttpAsyncRequester.handshakeTimeoutprivate TimeoutAsyncRequesterBootstrap.timeToLiveprivate TimeoutRequesterBootstrap.timeToLiveMethods in org.apache.hc.core5.http.impl.bootstrap with parameters of type TimeoutModifier and TypeMethodDescriptionvoidCloses this process or endpoint and releases any system resources associated with it.AbstractConnectionInitiatorBase.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) HttpAsyncRequester.connect(HttpHost host, Timeout timeout, Object attachment, FutureCallback<AsyncClientEndpoint> callback) protected Future<AsyncClientEndpoint> HttpAsyncRequester.doConnect(HttpHost host, Timeout timeout, Object attachment, FutureCallback<AsyncClientEndpoint> callback) voidHttpAsyncRequester.execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext executeContext) voidHttpAsyncRequester.execute(AsyncClientExchangeHandler exchangeHandler, Timeout timeout, HttpContext executeContext) final <T> Future<T> HttpAsyncRequester.execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback) final <T> Future<T> HttpAsyncRequester.execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, FutureCallback<T> callback) final <T> Future<T> HttpAsyncRequester.execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, HttpContext context, FutureCallback<T> callback) HttpRequester.execute(HttpHost targetHost, ClassicHttpRequest request, HttpResponseInformationCallback informationCallback, Timeout connectTimeout, HttpContext context) HttpRequester.execute(HttpHost targetHost, ClassicHttpRequest request, Timeout connectTimeout, HttpContext context) <T> THttpRequester.execute(HttpHost targetHost, ClassicHttpRequest request, Timeout connectTimeout, HttpContext context, HttpClientResponseHandler<T> responseHandler) AsyncRequester.requestSession(HttpHost host, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) final AsyncRequesterBootstrapAsyncRequesterBootstrap.setTimeToLive(Timeout timeToLive) final RequesterBootstrapRequesterBootstrap.setTimeToLive(Timeout timeToLive) final AsyncRequesterBootstrapAsyncRequesterBootstrap.setTlsHandshakeTimeout(Timeout handshakeTimeout) final AsyncServerBootstrapAsyncServerBootstrap.setTlsHandshakeTimeout(Timeout handshakeTimeout) Assigns TLS handshakeTimeout.Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type TimeoutModifierConstructorDescriptionHttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout) UseAsyncRequesterBootstrapto create instances of this class. -
Uses of Timeout in org.apache.hc.core5.http.impl.io
Fields in org.apache.hc.core5.http.impl.io declared as TimeoutModifier and TypeFieldDescriptionstatic final TimeoutHttpRequestExecutor.DEFAULT_WAIT_FOR_CONTINUEprivate static final TimeoutBHttpConnectionBase.STALE_CHECK_TIMEOUTprivate TimeoutHttpRequestExecutor.Builder.waitForContinueprivate final TimeoutHttpRequestExecutor.waitForContinueMethods in org.apache.hc.core5.http.impl.io that return TimeoutMethods in org.apache.hc.core5.http.impl.io with parameters of type TimeoutModifier and TypeMethodDescriptionprotected booleanBHttpConnectionBase.awaitInput(Timeout timeout) private intBHttpConnectionBase.fillInputBuffer(Timeout timeout) booleanBHttpConnectionBase.isDataAvailable(Timeout timeout) voidBHttpConnectionBase.setSocketTimeout(Timeout timeout) HttpRequestExecutor.Builder.withWaitForContinue(Timeout waitForContinue) Constructors in org.apache.hc.core5.http.impl.io with parameters of type TimeoutModifierConstructorDescriptionHttpRequestExecutor(Timeout waitForContinue, ConnectionReuseStrategy connReuseStrategy, Http1StreamListener streamListener) Creates new instance of HttpRequestExecutor. -
Uses of Timeout in org.apache.hc.core5.http.impl.nio
Fields in org.apache.hc.core5.http.impl.nio declared as TimeoutModifier and TypeFieldDescriptionprivate final TimeoutClientHttp1IOEventHandlerFactory.handshakeTimeoutprivate final TimeoutServerHttp1IOEventHandlerFactory.handshakeTimeoutprivate TimeoutClientHttp1StreamHandler.timeoutMethods in org.apache.hc.core5.http.impl.nio that return TimeoutModifier and TypeMethodDescription(package private) TimeoutAbstractHttp1StreamDuplexer.getSessionTimeout()AbstractHttp1IOEventHandler.getSocketTimeout()AbstractHttp1StreamDuplexer.getSocketTimeout()Http1StreamChannel.getSocketTimeout()ServerHttp1StreamDuplexer.DelayedOutputChannel.getSocketTimeout()Methods in org.apache.hc.core5.http.impl.nio with parameters of type TimeoutModifier and TypeMethodDescriptionfinal void(package private) voidAbstractHttp1StreamDuplexer.setSessionTimeout(Timeout timeout) voidAbstractHttp1IOEventHandler.setSocketTimeout(Timeout timeout) voidAbstractHttp1StreamDuplexer.setSocketTimeout(Timeout timeout) voidHttp1StreamChannel.setSocketTimeout(Timeout timeout) voidServerHttp1StreamDuplexer.DelayedOutputChannel.setSocketTimeout(Timeout timeout) voidConstructors in org.apache.hc.core5.http.impl.nio with parameters of type TimeoutModifierConstructorDescriptionClientHttp1IOEventHandlerFactory(ClientHttp1StreamDuplexerFactory streamDuplexerFactory, TlsStrategy tlsStrategy, Timeout handshakeTimeout) ServerHttp1IOEventHandlerFactory(ServerHttp1StreamDuplexerFactory streamDuplexerFactory, TlsStrategy tlsStrategy, Timeout handshakeTimeout) -
Uses of Timeout in org.apache.hc.core5.http.io
Fields in org.apache.hc.core5.http.io declared as TimeoutModifier and TypeFieldDescriptionprivate static final TimeoutSocketConfig.DEFAULT_SOCKET_TIMEOUTprivate TimeoutSocketConfig.Builder.soTimeoutprivate final TimeoutSocketConfig.soTimeoutMethods in org.apache.hc.core5.http.io that return TimeoutMethods in org.apache.hc.core5.http.io with parameters of type TimeoutModifier and TypeMethodDescriptionbooleanBHttpConnection.isDataAvailable(Timeout timeout) Checks if input data is available from the connection.SocketConfig.Builder.setSoTimeout(Timeout soTimeout) Determines the default socket timeout value for blocking I/O operations.Constructors in org.apache.hc.core5.http.io with parameters of type TimeoutModifierConstructorDescription(package private)SocketConfig(Timeout soTimeout, boolean soReuseAddress, TimeValue soLinger, boolean soKeepAlive, boolean tcpNoDelay, int sndBufSize, int rcvBufSize, int backlogSize, SocketAddress socksProxyAddress) -
Uses of Timeout in org.apache.hc.core5.http.nio.ssl
Methods in org.apache.hc.core5.http.nio.ssl with parameters of type TimeoutModifier and TypeMethodDescriptionbooleanBasicClientTlsStrategy.upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout) Deprecated.voidBasicClientTlsStrategy.upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback) booleanBasicServerTlsStrategy.upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout) voidBasicServerTlsStrategy.upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback) booleanTlsStrategy.upgrade(TransportSecurityLayer sessionLayer, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout) default voidTlsStrategy.upgrade(TransportSecurityLayer sessionLayer, NamedEndpoint endpoint, Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback) Secures current session layer with TLS. -
Uses of Timeout in org.apache.hc.core5.http2.impl.nio
Fields in org.apache.hc.core5.http2.impl.nio declared as TimeoutModifier and TypeFieldDescriptionprivate final TimeoutClientHttpProtocolNegotiationStarter.handshakeTimeoutprivate final TimeoutServerHttpProtocolNegotiationStarter.handshakeTimeoutMethods in org.apache.hc.core5.http2.impl.nio that return TimeoutModifier and TypeMethodDescriptionAbstractH2IOEventHandler.getSocketTimeout()AbstractH2StreamMultiplexer.getSocketTimeout()HttpProtocolNegotiator.getSocketTimeout()PrefaceHandlerBase.getSocketTimeout()Methods in org.apache.hc.core5.http2.impl.nio with parameters of type TimeoutModifier and TypeMethodDescriptionfinal voidvoidAbstractH2IOEventHandler.setSocketTimeout(Timeout timeout) voidAbstractH2StreamMultiplexer.setSocketTimeout(Timeout timeout) voidHttpProtocolNegotiator.setSocketTimeout(Timeout timeout) voidPrefaceHandlerBase.setSocketTimeout(Timeout timeout) voidvoidvoidConstructors in org.apache.hc.core5.http2.impl.nio with parameters of type TimeoutModifierConstructorDescriptionClientHttpProtocolNegotiationStarter(ClientHttp1StreamDuplexerFactory http1StreamHandlerFactory, ClientH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout) ServerHttpProtocolNegotiationStarter(ServerHttp1StreamDuplexerFactory http1StreamHandlerFactory, ServerH2StreamMultiplexerFactory http2StreamHandlerFactory, HttpVersionPolicy versionPolicy, TlsStrategy tlsStrategy, Timeout handshakeTimeout) -
Uses of Timeout in org.apache.hc.core5.http2.impl.nio.bootstrap
Fields in org.apache.hc.core5.http2.impl.nio.bootstrap declared as TimeoutModifier and TypeFieldDescriptionprivate TimeoutH2RequesterBootstrap.handshakeTimeoutprivate TimeoutH2ServerBootstrap.handshakeTimeoutMethods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type TimeoutModifier and TypeMethodDescriptionprotected Future<AsyncClientEndpoint> H2AsyncRequester.doConnect(HttpHost host, Timeout timeout, Object attachment, FutureCallback<AsyncClientEndpoint> callback) private voidH2MultiplexingRequester.execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, CancellableDependency cancellableDependency, Timeout timeout, HttpContext context) H2MultiplexingRequester.execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context) H2MultiplexingRequester.execute(AsyncClientExchangeHandler exchangeHandler, Timeout timeout, HttpContext context) final <T> Future<T> H2MultiplexingRequester.execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback) final <T> Future<T> H2MultiplexingRequester.execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, FutureCallback<T> callback) final <T> Future<T> H2MultiplexingRequester.execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, HttpContext context, FutureCallback<T> callback) final H2RequesterBootstrapH2RequesterBootstrap.setHandshakeTimeout(Timeout handshakeTimeout) final H2ServerBootstrapH2ServerBootstrap.setHandshakeTimeout(Timeout handshakeTimeout) Constructors in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type TimeoutModifierConstructorDescriptionH2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<Exception> exceptionCallback, IOSessionListener sessionListener, ManagedConnPool<HttpHost, IOSession> connPool, TlsStrategy tlsStrategy, Timeout handshakeTimeout) UseH2RequesterBootstrapto create instances of this class. -
Uses of Timeout in org.apache.hc.core5.http2.nio.pool
Methods in org.apache.hc.core5.http2.nio.pool with parameters of type TimeoutModifier and TypeMethodDescriptionH2ConnPool.connectSession(HttpHost namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) -
Uses of Timeout in org.apache.hc.core5.http2.ssl
Methods in org.apache.hc.core5.http2.ssl with parameters of type TimeoutModifier and TypeMethodDescriptionbooleanH2ClientTlsStrategy.upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout) voidH2ClientTlsStrategy.upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback) booleanH2ServerTlsStrategy.upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout) voidH2ServerTlsStrategy.upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback) -
Uses of Timeout in org.apache.hc.core5.io
Methods in org.apache.hc.core5.io with parameters of type TimeoutModifier and TypeMethodDescriptionstatic SocketTimeoutExceptionCreates a newSocketTimeoutExceptionwith a message for the given timeout. -
Uses of Timeout in org.apache.hc.core5.pool
Fields in org.apache.hc.core5.pool declared as TimeoutModifier and TypeFieldDescriptionprivate static final TimeoutDefaultDisposalCallback.DEFAULT_CLOSE_TIMEOUTMethods in org.apache.hc.core5.pool with parameters of type TimeoutModifier and TypeMethodDescriptionConnPool.lease(T route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) Attempts to lease a connection for the given route and with the given state from the pool.LaxConnPool.lease(T route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) LaxConnPool.PerRoutePool.lease(Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) StrictConnPool.lease(T route, Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T, C>> callback) Constructors in org.apache.hc.core5.pool with parameters of type TimeoutModifierConstructorDescription(package private)LeaseRequest(Object state, Timeout requestTimeout, BasicFuture<PoolEntry<T, C>> future) LeaseRequest(T route, Object state, Timeout requestTimeout, BasicFuture<PoolEntry<T, C>> future) Constructor -
Uses of Timeout in org.apache.hc.core5.reactor
Fields in org.apache.hc.core5.reactor declared as TimeoutModifier and TypeFieldDescriptionprivate TimeoutIOSessionImpl.socketTimeoutprivate TimeoutIOReactorConfig.Builder.soTimeoutprivate final TimeoutIOReactorConfig.soTimeout(package private) final TimeoutIOSessionRequest.timeoutMethods in org.apache.hc.core5.reactor that return TimeoutModifier and TypeMethodDescriptionInternalDataChannel.getSocketTimeout()IOSession.getSocketTimeout()Returns value of the socket timeout in milliseconds.IOSessionImpl.getSocketTimeout()IOReactorConfig.getSoTimeout()(package private) abstract TimeoutInternalChannel.getTimeout()(package private) TimeoutInternalConnectChannel.getTimeout()(package private) TimeoutInternalDataChannel.getTimeout()Methods in org.apache.hc.core5.reactor with parameters of type TimeoutModifier and TypeMethodDescriptionvoidShuts down the I/O reactor either gracefully or immediately.voidShuts down the I/O reactor either gracefully or immediately.AbstractIOReactorBase.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) ConnectionInitiator.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) Requests a connection to a remote host.SingleCoreIOReactor.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) AbstractIOSessionPool.connectSession(T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) AbstractIOSessionPool.getSession(T endpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) private voidAbstractIOSessionPool.getSessionInternal(AbstractIOSessionPool.PoolEntry poolEntry, boolean requestNew, T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback) (package private) abstract void(package private) void(package private) voidvoidInternalDataChannel.setSocketTimeout(Timeout timeout) voidIOSession.setSocketTimeout(Timeout timeout) Sets value of the socket timeout in milliseconds.voidIOSessionImpl.setSocketTimeout(Timeout timeout) IOReactorConfig.Builder.setSoTimeout(Timeout soTimeout) Determines the default socket timeout value for non-blocking I/O operations.voidInternalDataChannel.startTls(SSLContext sslContext, NamedEndpoint endpoint, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout) voidInternalDataChannel.startTls(SSLContext sslContext, NamedEndpoint endpoint, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback) voidTriggered when the given session has timed out.voidConstructors in org.apache.hc.core5.reactor with parameters of type TimeoutModifierConstructorDescription(package private)IOReactorConfig(TimeValue selectInterval, int ioThreadCount, Timeout soTimeout, boolean soReuseAddress, TimeValue soLinger, boolean soKeepAlive, boolean tcpNoDelay, int trafficClass, int sndBufSize, int rcvBufSize, int backlogSize, SocketAddress socksProxyAddress, String socksProxyUsername, String socksProxyPassword) IOSessionRequest(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) -
Uses of Timeout in org.apache.hc.core5.reactor.ssl
Fields in org.apache.hc.core5.reactor.ssl declared as TimeoutModifier and TypeFieldDescriptionprivate final TimeoutSSLIOSession.handshakeTimeoutprivate TimeoutSSLIOSession.socketTimeoutMethods in org.apache.hc.core5.reactor.ssl that return TimeoutMethods in org.apache.hc.core5.reactor.ssl with parameters of type TimeoutModifier and TypeMethodDescriptionvoidSSLIOSession.setSocketTimeout(Timeout timeout) voidTransportSecurityLayer.startTls(SSLContext sslContext, NamedEndpoint endpoint, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout) Starts TLS session over an existing network connection with the given SSL context.default voidTransportSecurityLayer.startTls(SSLContext sslContext, NamedEndpoint endpoint, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback) Starts TLS session over an existing network connection with the given SSL context.Constructors in org.apache.hc.core5.reactor.ssl with parameters of type TimeoutModifierConstructorDescriptionSSLIOSession(NamedEndpoint targetEndpoint, IOSession session, SSLMode sslMode, SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Callback<SSLIOSession> sessionStartCallback, Callback<SSLIOSession> sessionEndCallback, Timeout connectTimeout) Creates new instance ofSSLIOSessionclass.SSLIOSession(NamedEndpoint targetEndpoint, IOSession session, SSLMode sslMode, SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout, Callback<SSLIOSession> sessionStartCallback, Callback<SSLIOSession> sessionEndCallback, FutureCallback<SSLSession> resultCallback) Creates new instance ofSSLIOSessionclass. -
Uses of Timeout in org.apache.hc.core5.testing.nio
Methods in org.apache.hc.core5.testing.nio that return TimeoutMethods in org.apache.hc.core5.testing.nio with parameters of type TimeoutModifier and TypeMethodDescriptionAsyncRequester.connect(NamedEndpoint remoteEndpoint, SocketAddress remoteAddress, SocketAddress localAddress, Timeout timeout, Object attachment, FutureCallback<IOSession> callback) H2TestClient.connect(HttpHost host, Timeout timeout, FutureCallback<ClientSessionEndpoint> callback) Http1TestClient.connect(HttpHost host, Timeout timeout, FutureCallback<ClientSessionEndpoint> callback) AsyncRequester.requestSession(HttpHost host, Timeout timeout, FutureCallback<IOSession> callback) voidLoggingIOSession.setSocketTimeout(Timeout timeout) -
Uses of Timeout in org.apache.hc.core5.util
Fields in org.apache.hc.core5.util declared as TimeoutModifier and TypeFieldDescriptionprivate final TimeoutTimeoutValueException.actualprivate final TimeoutTimeoutValueException.deadlinestatic final TimeoutTimeout.DISABLEDA disabled timeout represented as 0MILLISECONDS.static final TimeoutTimeout.ONE_MILLISECONDA one millisecondsTimeout.static final TimeoutTimeout.ZERO_MILLISECONDSA zero millisecondsTimeout.Methods in org.apache.hc.core5.util that return TimeoutModifier and TypeMethodDescriptionstatic TimeoutTimeout.defaultsToDisabled(Timeout timeout) TimeoutValueException.getActual()Gets how long was the expected timeout in milliseconds.TimeoutValueException.getDeadline()Gets how long we actually waited in milliseconds.static TimeoutCreates a Timeout.static TimeoutCreates a Timeout from a Duration.static TimeoutTimeout.ofDays(long days) Creates a Timeout.static TimeoutTimeout.ofHours(long hours) Creates a Timeout.static TimeoutTimeout.ofMicroseconds(long microseconds) Creates a Timeout.static TimeoutTimeout.ofMilliseconds(long milliseconds) Creates a Timeout.static TimeoutTimeout.ofMinutes(long minutes) Creates a Timeout.static TimeoutTimeout.ofNanoseconds(long nanoseconds) Creates a Timeout.static TimeoutTimeout.ofSeconds(long seconds) Creates a Timeout.static TimeoutParses a Timeout in the format<Integer><SPACE><TimeUnit>, for example"1,200 MILLISECONDS"TimeValue.toTimeout()Methods in org.apache.hc.core5.util with parameters of type TimeoutConstructors in org.apache.hc.core5.util with parameters of type TimeoutModifierConstructorDescriptionTimeoutValueException(Timeout deadline, Timeout actual) Creates a new exception for the given timeout deadline and actual timeout.
BasicClientTlsStrategy.upgrade(TransportSecurityLayer, NamedEndpoint, Object, Timeout, FutureCallback)