Uses of Class
org.apache.hc.core5.util.Timeout
-
Packages that use Timeout Package Description org.apache.hc.core5.benchmark Apache Bench (AB) clone based on HttpCore.org.apache.hc.core5.http Core HTTP transport component APIs.org.apache.hc.core5.http.config Core configuration APIs.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.impl.io Default implementation of HTTP/1.1 transport based on the classic (blocking) I/O model.org.apache.hc.core5.http.impl.nio Default implementation of HTTP/1.1 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http.io Core HTTP transport APIs based on the classic (blocking) I/O model.org.apache.hc.core5.http.nio.ssl TLS protocol support.org.apache.hc.core5.http2.impl.nio Default implementation of HTTP/2 transport based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.http2.impl.nio.bootstrap HTTP/2 capable requester and server bootstrap.org.apache.hc.core5.http2.nio.pool HTTP/2 specific pool component APIs.org.apache.hc.core5.http2.ssl HTTP/2 specific TLS protocol support.org.apache.hc.core5.io Core I/O component APIs and utilities.org.apache.hc.core5.pool Client side connection pool component APIs.org.apache.hc.core5.reactor Event driven network communication APIs and components loosely based on Doug Lea's reactor pattern.org.apache.hc.core5.reactor.ssl TLS/SSL support for I/O reactors.org.apache.hc.core5.testing.nio org.apache.hc.core5.util Core utility classes. -
-
Uses of Timeout in org.apache.hc.core5.benchmark
Fields in org.apache.hc.core5.benchmark declared as Timeout Modifier and Type Field Description private TimeoutBenchmarkConfig.Builder. socketTimeoutprivate TimeoutBenchmarkConfig. socketTimeoutMethods in org.apache.hc.core5.benchmark that return Timeout Modifier and Type Method Description TimeoutBenchmarkConfig. getSocketTimeout()Methods in org.apache.hc.core5.benchmark with parameters of type Timeout Modifier and Type Method Description BenchmarkConfig.BuilderBenchmarkConfig.Builder. setSocketTimeout(Timeout socketTimeout)Constructors in org.apache.hc.core5.benchmark with parameters of type Timeout Constructor Description BenchmarkConfig(java.net.URI uri, int requests, int concurrencyLevel, TimeValue timeLimit, Timeout socketTimeout, java.io.File payloadFile, ContentType contentType, int verbosity, boolean headInsteadOfGet, java.lang.String[] headers, boolean keepAlive, java.lang.String method, boolean useChunking, boolean useExpectContinue, boolean useAcceptGZip, java.lang.String payloadText, java.lang.String soapAction, boolean forceHttp2, boolean disableSSLVerification, java.lang.String trustStorePath, java.lang.String identityStorePath, java.lang.String trustStorePassword, java.lang.String identityStorePassword) -
Uses of Timeout in org.apache.hc.core5.http
Fields in org.apache.hc.core5.http declared as Timeout Modifier and Type Field Description private TimeoutEndpointDetails. socketTimeoutMethods in org.apache.hc.core5.http that return Timeout Modifier and Type Method Description TimeoutEndpointDetails. getSocketTimeout()Gets the socket timeout.TimeoutSocketModalCloseable. getSocketTimeout()Returns the socket timeout value.Methods in org.apache.hc.core5.http with parameters of type Timeout Modifier and Type Method Description voidSocketModalCloseable. setSocketTimeout(Timeout timeout)Sets the socket timeout value.Constructors in org.apache.hc.core5.http with parameters of type Timeout Constructor Description EndpointDetails(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout socketTimeout) -
Uses of Timeout in org.apache.hc.core5.http.config
Fields in org.apache.hc.core5.http.config declared as Timeout Modifier and Type Field Description private static TimeoutHttp1Config. INIT_WAIT_FOR_CONTINUEprivate TimeoutHttp1Config.Builder. waitForContinueTimeoutprivate TimeoutHttp1Config. waitForContinueTimeoutMethods in org.apache.hc.core5.http.config that return Timeout Modifier and Type Method Description TimeoutHttp1Config. getWaitForContinueTimeout()Methods in org.apache.hc.core5.http.config with parameters of type Timeout Modifier and Type Method Description Http1Config.BuilderHttp1Config.Builder. setWaitForContinueTimeout(Timeout waitForContinueTimeout)Constructors in org.apache.hc.core5.http.config with parameters of type Timeout Constructor Description 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 Timeout Constructor Description BasicEndpointDetails(java.net.SocketAddress remoteAddress, java.net.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 Timeout Modifier and Type Field Description private TimeoutAsyncRequesterBootstrap. handshakeTimeoutprivate TimeoutAsyncServerBootstrap. handshakeTimeoutprivate TimeoutHttpAsyncRequester. handshakeTimeoutprivate TimeoutAsyncRequesterBootstrap. timeToLiveprivate TimeoutRequesterBootstrap. timeToLiveMethods in org.apache.hc.core5.http.impl.bootstrap with parameters of type Timeout Modifier and Type Method Description voidHttpServer. close(CloseMode closeMode, Timeout timeout)Closes this process or endpoint and releases any system resources associated with it.java.util.concurrent.Future<IOSession>AbstractConnectionInitiatorBase. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)java.util.concurrent.Future<AsyncClientEndpoint>HttpAsyncRequester. connect(HttpHost host, Timeout timeout)java.util.concurrent.Future<AsyncClientEndpoint>HttpAsyncRequester. connect(HttpHost host, Timeout timeout, java.lang.Object attachment, FutureCallback<AsyncClientEndpoint> callback)protected java.util.concurrent.Future<AsyncClientEndpoint>HttpAsyncRequester. doConnect(HttpHost host, Timeout timeout, java.lang.Object attachment, FutureCallback<AsyncClientEndpoint> callback)voidHttpAsyncRequester. execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext executeContext)voidHttpAsyncRequester. execute(AsyncClientExchangeHandler exchangeHandler, Timeout timeout, HttpContext executeContext)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, FutureCallback<T> callback)<T> java.util.concurrent.Future<T>HttpAsyncRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, HttpContext context, FutureCallback<T> callback)ClassicHttpResponseHttpRequester. execute(HttpHost targetHost, ClassicHttpRequest request, HttpResponseInformationCallback informationCallback, Timeout connectTimeout, HttpContext context)ClassicHttpResponseHttpRequester. execute(HttpHost targetHost, ClassicHttpRequest request, Timeout connectTimeout, HttpContext context)<T> THttpRequester. execute(HttpHost targetHost, ClassicHttpRequest request, Timeout connectTimeout, HttpContext context, HttpClientResponseHandler<T> responseHandler)java.util.concurrent.Future<IOSession>AsyncRequester. requestSession(HttpHost host, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)AsyncRequesterBootstrapAsyncRequesterBootstrap. setTimeToLive(Timeout timeToLive)RequesterBootstrapRequesterBootstrap. setTimeToLive(Timeout timeToLive)AsyncRequesterBootstrapAsyncRequesterBootstrap. setTlsHandshakeTimeout(Timeout handshakeTimeout)AsyncServerBootstrapAsyncServerBootstrap. setTlsHandshakeTimeout(Timeout handshakeTimeout)Assigns TLS handshakeTimeout.Constructors in org.apache.hc.core5.http.impl.bootstrap with parameters of type Timeout Constructor Description HttpAsyncRequester(IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.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 Timeout Modifier and Type Field Description static TimeoutHttpRequestExecutor. DEFAULT_WAIT_FOR_CONTINUEprivate static TimeoutBHttpConnectionBase. STALE_CHECK_TIMEOUTprivate TimeoutHttpRequestExecutor.Builder. waitForContinueprivate TimeoutHttpRequestExecutor. waitForContinueMethods in org.apache.hc.core5.http.impl.io that return Timeout Modifier and Type Method Description TimeoutBHttpConnectionBase. getSocketTimeout()Methods in org.apache.hc.core5.http.impl.io with parameters of type Timeout Modifier and Type Method Description protected booleanBHttpConnectionBase. awaitInput(Timeout timeout)private intBHttpConnectionBase. fillInputBuffer(Timeout timeout)booleanBHttpConnectionBase. isDataAvailable(Timeout timeout)voidBHttpConnectionBase. setSocketTimeout(Timeout timeout)HttpRequestExecutor.BuilderHttpRequestExecutor.Builder. withWaitForContinue(Timeout waitForContinue)Constructors in org.apache.hc.core5.http.impl.io with parameters of type Timeout Constructor Description HttpRequestExecutor(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 Timeout Modifier and Type Field Description private TimeoutClientHttp1IOEventHandlerFactory. handshakeTimeoutprivate TimeoutServerHttp1IOEventHandlerFactory. handshakeTimeoutprivate TimeoutClientHttp1StreamHandler. timeoutMethods in org.apache.hc.core5.http.impl.nio that return Timeout Modifier and Type Method Description (package private) TimeoutAbstractHttp1StreamDuplexer. getSessionTimeout()TimeoutAbstractHttp1IOEventHandler. getSocketTimeout()TimeoutAbstractHttp1StreamDuplexer. getSocketTimeout()TimeoutHttp1StreamChannel. getSocketTimeout()TimeoutServerHttp1StreamDuplexer.DelayedOutputChannel. getSocketTimeout()Methods in org.apache.hc.core5.http.impl.nio with parameters of type Timeout Modifier and Type Method Description voidAbstractHttp1StreamDuplexer. onTimeout(Timeout timeout)(package private) voidAbstractHttp1StreamDuplexer. setSessionTimeout(Timeout timeout)voidAbstractHttp1IOEventHandler. setSocketTimeout(Timeout timeout)voidAbstractHttp1StreamDuplexer. setSocketTimeout(Timeout timeout)voidHttp1StreamChannel. setSocketTimeout(Timeout timeout)voidServerHttp1StreamDuplexer.DelayedOutputChannel. setSocketTimeout(Timeout timeout)voidAbstractHttp1IOEventHandler. timeout(IOSession session, Timeout timeout)Constructors in org.apache.hc.core5.http.impl.nio with parameters of type Timeout Constructor Description ClientHttp1IOEventHandlerFactory(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 Timeout Modifier and Type Field Description private static TimeoutSocketConfig. DEFAULT_SOCKET_TIMEOUTprivate TimeoutSocketConfig.Builder. soTimeoutprivate TimeoutSocketConfig. soTimeoutMethods in org.apache.hc.core5.http.io that return Timeout Modifier and Type Method Description TimeoutSocketConfig. getSoTimeout()Methods in org.apache.hc.core5.http.io with parameters of type Timeout Modifier and Type Method Description booleanBHttpConnection. isDataAvailable(Timeout timeout)Checks if input data is available from the connection.SocketConfig.BuilderSocketConfig.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 Timeout Constructor Description SocketConfig(Timeout soTimeout, boolean soReuseAddress, TimeValue soLinger, boolean soKeepAlive, boolean tcpNoDelay, int sndBufSize, int rcvBufSize, int backlogSize, java.net.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 Timeout Modifier and Type Method Description booleanBasicClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)voidBasicClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, java.lang.Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback)booleanBasicServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)voidBasicServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, java.lang.Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback)booleanTlsStrategy. upgrade(TransportSecurityLayer sessionLayer, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)default voidTlsStrategy. upgrade(TransportSecurityLayer sessionLayer, NamedEndpoint endpoint, java.lang.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 Timeout Modifier and Type Field Description private TimeoutClientHttpProtocolNegotiationStarter. handshakeTimeoutprivate TimeoutServerHttpProtocolNegotiationStarter. handshakeTimeoutMethods in org.apache.hc.core5.http2.impl.nio that return Timeout Modifier and Type Method Description TimeoutAbstractH2IOEventHandler. getSocketTimeout()TimeoutAbstractH2StreamMultiplexer. getSocketTimeout()TimeoutHttpProtocolNegotiator. getSocketTimeout()TimeoutPrefaceHandlerBase. getSocketTimeout()Methods in org.apache.hc.core5.http2.impl.nio with parameters of type Timeout Modifier and Type Method Description voidAbstractH2StreamMultiplexer. onTimeout(Timeout timeout)voidAbstractH2IOEventHandler. setSocketTimeout(Timeout timeout)voidAbstractH2StreamMultiplexer. setSocketTimeout(Timeout timeout)voidHttpProtocolNegotiator. setSocketTimeout(Timeout timeout)voidPrefaceHandlerBase. setSocketTimeout(Timeout timeout)voidAbstractH2IOEventHandler. timeout(IOSession session, Timeout timeout)voidHttpProtocolNegotiator. timeout(IOSession session, Timeout timeout)voidPrefaceHandlerBase. timeout(IOSession session, Timeout timeout)Constructors in org.apache.hc.core5.http2.impl.nio with parameters of type Timeout Constructor Description ClientHttpProtocolNegotiationStarter(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 Timeout Modifier and Type Field Description private TimeoutH2RequesterBootstrap. handshakeTimeoutprivate TimeoutH2ServerBootstrap. handshakeTimeoutMethods in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Timeout Modifier and Type Method Description protected java.util.concurrent.Future<AsyncClientEndpoint>H2AsyncRequester. doConnect(HttpHost host, Timeout timeout, java.lang.Object attachment, FutureCallback<AsyncClientEndpoint> callback)private voidH2MultiplexingRequester. execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, CancellableDependency cancellableDependency, Timeout timeout, HttpContext context)CancellableH2MultiplexingRequester. execute(AsyncClientExchangeHandler exchangeHandler, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context)CancellableH2MultiplexingRequester. execute(AsyncClientExchangeHandler exchangeHandler, Timeout timeout, HttpContext context)<T> java.util.concurrent.Future<T>H2MultiplexingRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, HandlerFactory<AsyncPushConsumer> pushHandlerFactory, Timeout timeout, HttpContext context, FutureCallback<T> callback)<T> java.util.concurrent.Future<T>H2MultiplexingRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, FutureCallback<T> callback)<T> java.util.concurrent.Future<T>H2MultiplexingRequester. execute(AsyncRequestProducer requestProducer, AsyncResponseConsumer<T> responseConsumer, Timeout timeout, HttpContext context, FutureCallback<T> callback)H2RequesterBootstrapH2RequesterBootstrap. setHandshakeTimeout(Timeout handshakeTimeout)H2ServerBootstrapH2ServerBootstrap. setHandshakeTimeout(Timeout handshakeTimeout)Constructors in org.apache.hc.core5.http2.impl.nio.bootstrap with parameters of type Timeout Constructor Description H2AsyncRequester(HttpVersionPolicy versionPolicy, IOReactorConfig ioReactorConfig, IOEventHandlerFactory eventHandlerFactory, Decorator<IOSession> ioSessionDecorator, Callback<java.lang.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 Timeout Modifier and Type Method Description protected java.util.concurrent.Future<IOSession>H2ConnPool. 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 Timeout Modifier and Type Method Description booleanH2ClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)voidH2ClientTlsStrategy. upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, java.lang.Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback)booleanH2ServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession, HttpHost host, java.net.SocketAddress localAddress, java.net.SocketAddress remoteAddress, java.lang.Object attachment, Timeout handshakeTimeout)voidH2ServerTlsStrategy. upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, java.lang.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 Timeout Modifier and Type Method Description static java.net.SocketTimeoutExceptionSocketTimeoutExceptionFactory. create(Timeout timeout)Creates 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 Timeout Modifier and Type Field Description private static TimeoutDefaultDisposalCallback. DEFAULT_CLOSE_TIMEOUTMethods in org.apache.hc.core5.pool with parameters of type Timeout Modifier and Type Method Description java.util.concurrent.Future<PoolEntry<T,C>>ConnPool. lease(T route, java.lang.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.java.util.concurrent.Future<PoolEntry<T,C>>LaxConnPool. lease(T route, java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)java.util.concurrent.Future<PoolEntry<T,C>>LaxConnPool.PerRoutePool. lease(java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)java.util.concurrent.Future<PoolEntry<T,C>>StrictConnPool. lease(T route, java.lang.Object state, Timeout requestTimeout, FutureCallback<PoolEntry<T,C>> callback)Constructors in org.apache.hc.core5.pool with parameters of type Timeout Constructor Description LeaseRequest(java.lang.Object state, Timeout requestTimeout, BasicFuture<PoolEntry<T,C>> future)LeaseRequest(T route, java.lang.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 Timeout Modifier and Type Field Description private TimeoutIOSessionImpl. socketTimeoutprivate TimeoutIOReactorConfig.Builder. soTimeoutprivate TimeoutIOReactorConfig. soTimeout(package private) TimeoutIOSessionRequest. timeoutMethods in org.apache.hc.core5.reactor that return Timeout Modifier and Type Method Description TimeoutInternalDataChannel. getSocketTimeout()TimeoutIOSession. getSocketTimeout()Returns value of the socket timeout in milliseconds.TimeoutIOSessionImpl. getSocketTimeout()TimeoutIOReactorConfig. 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 Timeout Modifier and Type Method Description voidAbstractSingleCoreIOReactor. close(CloseMode closeMode, Timeout timeout)Shuts down the I/O reactor either gracefully or immediately.voidMultiCoreIOReactor. close(CloseMode closeMode, Timeout timeout)Shuts down the I/O reactor either gracefully or immediately.java.util.concurrent.Future<IOSession>AbstractIOReactorBase. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)java.util.concurrent.Future<IOSession>ConnectionInitiator. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)Requests a connection to a remote host.java.util.concurrent.Future<IOSession>SingleCoreIOReactor. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)protected abstract java.util.concurrent.Future<IOSession>AbstractIOSessionPool. connectSession(T namedEndpoint, Timeout connectTimeout, FutureCallback<IOSession> callback)java.util.concurrent.Future<IOSession>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 voidInternalChannel. onTimeout(Timeout timeout)(package private) voidInternalConnectChannel. onTimeout(Timeout timeout)(package private) voidInternalDataChannel. onTimeout(Timeout timeout)voidInternalDataChannel. setSocketTimeout(Timeout timeout)voidIOSession. setSocketTimeout(Timeout timeout)Sets value of the socket timeout in milliseconds.voidIOSessionImpl. setSocketTimeout(Timeout timeout)IOReactorConfig.BuilderIOReactorConfig.Builder. setSoTimeout(Timeout soTimeout)Determines the default socket timeout value for non-blocking I/O operations.voidInternalDataChannel. startTls(javax.net.ssl.SSLContext sslContext, NamedEndpoint endpoint, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout)voidInternalDataChannel. startTls(javax.net.ssl.SSLContext sslContext, NamedEndpoint endpoint, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback)voidIOEventHandler. timeout(IOSession session, Timeout timeout)Triggered when the given session has timed out.voidSocksProxyProtocolHandler. timeout(IOSession session, Timeout timeout)Constructors in org.apache.hc.core5.reactor with parameters of type Timeout Constructor Description IOReactorConfig(TimeValue selectInterval, int ioThreadCount, Timeout soTimeout, boolean soReuseAddress, TimeValue soLinger, boolean soKeepAlive, boolean tcpNoDelay, int trafficClass, int sndBufSize, int rcvBufSize, int backlogSize, java.net.SocketAddress socksProxyAddress, java.lang.String socksProxyUsername, java.lang.String socksProxyPassword)IOSessionRequest(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.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 Timeout Modifier and Type Field Description private TimeoutSSLIOSession. handshakeTimeoutprivate TimeoutSSLIOSession. socketTimeoutMethods in org.apache.hc.core5.reactor.ssl that return Timeout Modifier and Type Method Description TimeoutSSLIOSession. getSocketTimeout()Methods in org.apache.hc.core5.reactor.ssl with parameters of type Timeout Modifier and Type Method Description voidSSLIOSession. setSocketTimeout(Timeout timeout)voidTransportSecurityLayer. startTls(javax.net.ssl.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(javax.net.ssl.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 Timeout Constructor Description SSLIOSession(NamedEndpoint targetEndpoint, IOSession session, SSLMode sslMode, javax.net.ssl.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, javax.net.ssl.SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier, Timeout handshakeTimeout, Callback<SSLIOSession> sessionStartCallback, Callback<SSLIOSession> sessionEndCallback, FutureCallback<javax.net.ssl.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 Timeout Modifier and Type Method Description TimeoutLoggingIOSession. getSocketTimeout()Methods in org.apache.hc.core5.testing.nio with parameters of type Timeout Modifier and Type Method Description java.util.concurrent.Future<IOSession>AsyncRequester. connect(NamedEndpoint remoteEndpoint, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, Timeout timeout, java.lang.Object attachment, FutureCallback<IOSession> callback)java.util.concurrent.Future<ClientSessionEndpoint>H2TestClient. connect(java.lang.String hostname, int port, Timeout timeout)java.util.concurrent.Future<ClientSessionEndpoint>H2TestClient. connect(HttpHost host, Timeout timeout)java.util.concurrent.Future<ClientSessionEndpoint>H2TestClient. connect(HttpHost host, Timeout timeout, FutureCallback<ClientSessionEndpoint> callback)java.util.concurrent.Future<ClientSessionEndpoint>Http1TestClient. connect(java.lang.String hostname, int port, Timeout timeout)java.util.concurrent.Future<ClientSessionEndpoint>Http1TestClient. connect(HttpHost host, Timeout timeout)java.util.concurrent.Future<ClientSessionEndpoint>Http1TestClient. connect(HttpHost host, Timeout timeout, FutureCallback<ClientSessionEndpoint> callback)java.util.concurrent.Future<IOSession>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 Timeout Modifier and Type Field Description private TimeoutTimeoutValueException. actualprivate TimeoutTimeoutValueException. deadlinestatic TimeoutTimeout. DISABLEDA disabled timeout represented as 0MILLISECONDS.static TimeoutTimeout. ONE_MILLISECONDA one millisecondsTimeout.static TimeoutTimeout. ZERO_MILLISECONDSA zero millisecondsTimeout.Methods in org.apache.hc.core5.util that return Timeout Modifier and Type Method Description static TimeoutTimeout. defaultsToDisabled(Timeout timeout)TimeoutTimeoutValueException. getActual()Gets how long was the expected timeout in milliseconds.TimeoutTimeoutValueException. getDeadline()Gets how long we actually waited in milliseconds.static TimeoutTimeout. of(long duration, java.util.concurrent.TimeUnit timeUnit)Creates a Timeout.static TimeoutTimeout. of(java.time.Duration duration)Creates 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 TimeoutTimeout. parse(java.lang.String value)Parses a Timeout in the format<Integer><SPACE><TimeUnit>, for example"1,200 MILLISECONDS"TimeoutTimeValue. toTimeout()Methods in org.apache.hc.core5.util with parameters of type Timeout Modifier and Type Method Description static TimeoutTimeout. defaultsToDisabled(Timeout timeout)Constructors in org.apache.hc.core5.util with parameters of type Timeout Constructor Description TimeoutValueException(Timeout deadline, Timeout actual)Creates a new exception for the given timeout deadline and actual timeout.
-