|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Throwable to the AsyncHandler or Future
ListenableFuture.HttpContent in order to build a Response
IOExceptionFilter that will be invoked when an IOException
occurs during the download/upload operations.
AsyncHttpProvider
AsyncHttpProvider
AsyncHttpProvider
RequestFilter that will be invoked before AsyncHttpClient.executeRequest(Request)
ResponseFilter that will be invoked as soon as the response is
received, and before AsyncHandler.onStatusReceived(HttpResponseStatus).
TransferListener
WebSocketListener
WebSocketListener that will be added to the WebSocket
Request based on the last valid bytes
position.
AsyncHttpProvider for Apache Http Client 3.1Appendable customer for ByteBufferAsyncHandler augmented with an AsyncCompletionHandler.onCompleted(Response) convenience method which gets called
when the Response processing is finished.AsyncHandler of type ResponseAsyncHandler.onStatusReceived(HttpResponseStatus),
AsyncHandler.onHeadersReceived(HttpResponseHeaders),
AsyncHandler.onBodyPartReceived(HttpResponseBodyPart), which could be invoked multiple times,
AsyncHandler.onCompleted(), once the response has been fully read.
Returning a AsyncHandler.STATE.ABORT from any of those callback methods will interrupt asynchronous response
processing, after that only AsyncHandler.onCompleted() is going to be called.AsyncHandler.AsyncHttpClientConfig configuration.
AsyncHttpProvider and
the default AsyncHttpClientConfig configuration.
AsyncHttpClientConfig configuration and the
AsyncHttpClient.DEFAULT_PROVIDER
AsyncHttpClientConfig configuration and
and a AsyncHttpProvider.
AsyncHttpClientConfig configuration and
and a AsyncHttpProvider class' name.
AsyncHttpClient.AsyncHttpClientAsyncHttpClientConfigAsyncHttpProvider proprietary configurable properties.AsyncHttpProvider common utilities.SimpleAsyncHttpClient class in order to process response's bytes.AsyncHttpClientConfig
Realm
Response instance
WebSocketUpgradeHandler
BodyGenerator backed by a byte array.ByteBuffer implementation of BodyConsumerRequestBuilder.build() method is called.
FeedableBodyGenerator.BaseFeeder.feed(org.glassfish.grizzly.Buffer, boolean).
Future cannot be recovered.
DefaultChannelGroup that's used mainly as a cleanup container, where CleanupChannelGroup.close() is only
supposed to be called once.AsyncHttpProvider by spawning a thread and avoid blocking.
AsyncHttpProvider for caching http connections.FileInputStream for the current filename.
TCPNIOTransport
and FilterChainBuilder instances.
Cookie.
AsyncHttpClient to execute requests.
AsyncHandler
AsyncHandler when the response arrive.
AsyncHandler when the response arrive.
Runnable, Executor) pairs that guarantees
that every Runnable that is added using the add method will be
executed in its associated Executor after ExecutionList.run() is called.ExecutorService an AsyncHttpClient use for handling
asynchronous response.
Buffer to the connection.
Buffer to the connection.
BodyGenerator that allows data to be fed to the
connection in blocking or non-blocking fashion via the use of a FeedableBodyGenerator.Feeder.FeedableBodyGenerator.Feeder implementations.FeedableBodyGenerator
without blocking.NonBlockingFeeder with the associated
FeedableBodyGenerator.
FeedableBodyGenerator.Feeder implementation allows the implementation to
feed data in whatever fashion is deemed appropriate.SimpleFeeder with the associated
FeedableBodyGenerator.
RandomAccessFile that can be used as a ResumableBodyConsumerAsyncHttpProvider will invoke RequestFilter.filter(com.ning.http.client.filter.FilterContext) and will use the
returned FilterContext.getRequest() and FilterContext.getAsyncHandler() to continue the request
processing.
AsyncHttpProvider will invoke IOExceptionFilter.filter(com.ning.http.client.filter.FilterContext) and will
use the returned FilterContext to replay the Request or abort the processing.
AsyncHttpProvider will invoke RequestFilter.filter(com.ning.http.client.filter.FilterContext) and will use the
returned FilterContext.getRequest() and FilterContext.getAsyncHandler() to continue the request
processing.
AsyncHttpProvider will invoke ResponseFilter.filter(com.ning.http.client.filter.FilterContext) and will use the
returned FilterContext.replayRequest() and FilterContext.getAsyncHandler() to decide if the response
processing can continue.
FilterContext can be used to decorate Request and AsyncHandler from a list of RequestFilter.AsyncHandler to interrupt invocation of
the RequestFilter and ResponseFilter.String -> List<String> map that adds a fluent interface, i.e.String -> List<String> map that adds a fluent interface, i.e.ConnectionsPool support enabled.
Request body
Request body
Request body
Request body
Request headers
Request headers
Request headers
Request headers
BodyDeferringAsyncHandler.getResponse().
AsyncHandler
AsyncHttpProviderConfig
ByteBuffer that wraps the actual bytes read from the response's chunk.
ByteBuffer that wraps the actual bytes read from the response's chunk.
AsyncHttpClientConfig
ConnectionsPool
AsyncHttpClient can wait when connecting to a remote host
Cookie.
Cookie.
File to upload.
List of the response header value.
List of the response header value.
HostnameVerifier
AsyncHttpClient will keep connection
in pool.
AsyncHttpClient can stay idle.
IOException
IOException
AsyncHttpClientConfig.getAllowPoolingConnection()
Future#get() method.
AsyncHttpClient will keep connection in the pool, or -1 to keep connection while possible.
AsyncHttpClient can handle.
IOException is throw by the remote server
AsyncHttpClient can handle.
Part
AsyncHttpProvider
ProxyServer
ProxyServer used by an AsyncHttpClient
Realm}
Realm
Request
RequestFilter
AsyncHttpClient wait for a response
ResponseFilter
HttpResponseHeaders
HttpResponseStatus
SSLContext used for SSL connection.
SSLEngineFactory used for SSL connection.
URI.
URI.
URI
WebSocket may be idle before being timed out.
AsyncHttpProvider.AsyncHttpProviderConfig implementation that allows customization
of the Grizzly runtime outside of the scope of what the
AsyncHttpClientConfig offers.ConnectionsPool implementation.HttpResponseBodyPart implementation using the Grizzly 2.0 HTTP client
codec.HttpResponseBodyPart implementation using the Grizzly 2.0 HTTP client
codec.AbstractListenableFuture implementation adaptation of Grizzly's
FutureImpl.HttpResponseHeaders implementation using the Grizzly 2.0 HTTP client
codec.HttpResponseStatus implementation using the Grizzly 2.0 HTTP client
codec.AsyncHandler.
AsyncHandler.
AsyncHandler.
AsyncHandler.
AsyncHandler.
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler It will return false if the
either AsyncHandler.onStatusReceived(HttpResponseStatus)
or AsyncHandler.onHeadersReceived(HttpResponseHeaders) returned AsyncHandler.STATE.ABORT
AsyncHandler
AsyncHandler
AsyncHandler
AsyncHandler
AsyncHandler
SimpleAHCTransferListener.onHeaders(String, HeaderMap).AsyncHandlerInputStream that reads all the elements in an array of HttpResponseBodyParts.BodyGenerator which use an InputStream for reading bytes, without having to read the entire
stream in memory.IOException occurs during an http transaction.true if the WebSocket is open/connected.
true if all parts are repeatable, false otherwise.
RequestEntity.writeRequest(java.io.OutputStream) can be called more than once.
FutureMap in memory, contains information about the transferred bytes.
Map in memory, contains information about the transferred bytes.
AsyncHttpClientConfig.getMaxRedirects() has been reached.ConnectionsPool based on a ConcurrentHashMapResponse API.Future that can be used to track when an asynchronous HTTP request has been fully processed.SSLEngine.
FeedableBodyGenerator that
data is available once again to continue feeding.
RandomAccessFile, allowing
resumable file download.
WebSocket is close.
WebSocket is close.
WebSocket is close.
File, String or FileInputStream has been fully
written on the I/O socket.
File, String or FileInputStream has been fully
written on the I/O socket.
File, String or FileInputStream has been fully
written on the I/O socket.
Request body as been progressed.
Request body as been progressed.
Request body wasn't fully written in a single I/O write
operation.
WebSocket is open.
WebSocket is open.
File, String or FileInputStream has been fully
written on the I/O socket.
File, String or FileInputStream has been fully
written on the I/O socket.
File, String or FileInputStream has been fully
written on the I/O socket.
WebSocket is open.
WebSocket is open.
AsyncHttpProvider will invoke that
method
AsyncHttpProvider will invoke that
method
OutputStream implementation for BodyConsumerasctime() format.
AsyncHttpClient.BoundRequestBuilder using a Request
Response
Response
AsyncHandler with two extra callback who get invoked during the content upload to a remote server.ResumableAsyncHandler.ResumableProcessor which use a properties file
to store the download index information.AsyncHttpProvider
RealmIOExceptionFilter tthat will be invoked when an IOException
occurs during the download/upload operations.
RequestFilter that will be invoked before AsyncHttpClient.executeRequest(Request)
ResponseFilter that will be invoked as soon as the response is
received, and before AsyncHandler.onStatusReceived(HttpResponseStatus).
TransferListener
WebSocketListener
WebSocketListener
Request be executed.
Request.RequestAsyncCompletionHandlerAsyncHandler which support resumable download, e.g when used with an ResumableIOExceptionFilter,
this handler can resume the download operation at the point it was before the interruption occured.IOExceptionFilter that replay the current Request using
a ResumableAsyncHandlerResumableAsyncHandlerTransferListener which use a RandomAccessFile for storing the received bytes.Socket.setReuseAddress(boolean)
Map instance which contains information about the current transfer state.
Map instance which contains information about the current transfer state.
ping with an optional payload
(limited to 125 bytes or less).
- sendPong(byte[]) -
Method in class com.ning.http.client.providers.netty.NettyWebSocket
-
- sendPong(byte[]) -
Method in interface com.ning.http.client.websocket.WebSocket
- Send a
ping with an optional payload
(limited to 125 bytes or less).
- sendStart(OutputStream, byte[]) -
Method in class com.ning.http.multipart.Part
- Write the start to the specified output stream
- sendTextMessage(String) -
Method in class com.ning.http.client.providers.netty.NettyWebSocket
-
- sendTextMessage(String) -
Method in interface com.ning.http.client.websocket.WebSocket
- Send a text message
- sendTransferEncodingHeader(OutputStream) -
Method in class com.ning.http.multipart.Part
- Write the content transfer encoding header to the specified output stream
- setAlgorithm(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setAllowPoolingConnection(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set true if connection can be pooled by a
ConnectionsPool.
- setAllowPoolingConnection(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setAllowPoolingConnection(boolean) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setAllowSslConnectionPool(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Return true is if connections pooling is enabled.
- setAllowSslConnectionPool(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setApplicationThreadPool(ExecutorService) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setApril() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setAsyncHttpClientProviderConfig(AsyncHttpProviderConfig<?, ?>) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the
AsyncHttpProviderConfig
- setAugust() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setBody(byte[]) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setBody(Request.EntityWriter, long) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setBody(Request.EntityWriter) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setBody(InputStream) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setBody(String) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setBody(byte[]) -
Method in class com.ning.http.client.RequestBuilder
-
- setBody(Request.EntityWriter, long) -
Method in class com.ning.http.client.RequestBuilder
-
- setBody(Request.EntityWriter) -
Method in class com.ning.http.client.RequestBuilder
-
- setBody(InputStream) -
Method in class com.ning.http.client.RequestBuilder
- Deprecated.
RequestBuilderBase.setBody(BodyGenerator) setBody(new InputStreamBodyGenerator(inputStream))
- setBody(String) -
Method in class com.ning.http.client.RequestBuilder
-
- setBody(File) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setBody(byte[]) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setBody(String) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setBody(InputStream) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setBody(Request.EntityWriter) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setBody(Request.EntityWriter, long) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setBody(BodyGenerator) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setBodyEncoding(String) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setCharSet(String) -
Method in class com.ning.http.multipart.PartBase
- Sets the character encoding.
- setCharSet(String) -
Method in class com.ning.http.multipart.StringPart
-
- setCompressionEnabled(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Enable HTTP compression.
- setCompressionEnabled(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setCompressionEnabled(boolean) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setConnectAllowed(boolean) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setConnectionPoolKeyStrategy(ConnectionPoolKeyStrategy) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setConnectionsPool(ConnectionsPool<?, ?>) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the
ConnectionsPool
- setConnectionsPool(ConnectionsPool<?, ?>) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setConnectionTimeoutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum time in millisecond an
AsyncHttpClient can wait when connecting to a remote host
- setConnectionTimeOutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setConnectionTimeoutInMs(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setContentId(String) -
Method in class com.ning.http.multipart.PartBase
-
- setContentLength(int) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setContentType(String) -
Method in class com.ning.http.multipart.PartBase
- Sets the content type.
- setDayOfMonth(int) -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setDecember() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setDefaultThrowableHandler(ThrowableHandler) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setDisableZeroCopy(boolean) -
Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
-
- setDomain(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
- Deprecated.
- setEncoding(String) -
Method in class com.ning.http.client.ProxyServer
-
- setEnconding(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setErrorDocumentBehaviour(SimpleAsyncHttpClient.ErrorDocumentBehaviour) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- This setting controls whether an error document should be written via
the
BodyConsumer after an error status code was received (e.g.
- setExecutorService(ExecutorService) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the
ExecutorService an AsyncHttpClient use for handling
asynchronous response.
- setExecutorService(ExecutorService) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setFebruary() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setFeeder(FeedableBodyGenerator.Feeder) -
Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator
- Add a
FeedableBodyGenerator.Feeder implementation that will be invoked when writing
without blocking is possible.
- setFollowRedirects(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set to true to enable HTTP redirect
- setFollowRedirects(boolean) -
Method in class com.ning.http.client.RequestBuilder
-
- setFollowRedirects(boolean) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setFollowRedirects(boolean) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setFollowRedirects(boolean) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setHashedWheelTimer(HashedWheelTimer) -
Method in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
-
- setHeader(String, String) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setHeader(String, String) -
Method in class com.ning.http.client.RequestBuilder
-
- setHeader(String, String) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setHeader(String, String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setHeader(String, String) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setHeaders(FluentCaseInsensitiveStringsMap) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setHeaders(Map<String, Collection<String>>) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setHeaders(FluentCaseInsensitiveStringsMap) -
Method in class com.ning.http.client.RequestBuilder
-
- setHeaders(Map<String, Collection<String>>) -
Method in class com.ning.http.client.RequestBuilder
-
- setHeaders(FluentCaseInsensitiveStringsMap) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setHeaders(Map<String, Collection<String>>) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setHeaders(FluentCaseInsensitiveStringsMap) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setHeaders(Map<String, Collection<String>>) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setHeaders(Map<String, Collection<String>>) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setHeaders(FluentCaseInsensitiveStringsMap) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setHostnameVerifier(HostnameVerifier) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the
HostnameVerifier
- setHostnameVerifier(HostnameVerifier) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setHour(int) -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setHttpResponse(HttpResponse) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setIdleConnectionInPoolTimeoutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum time in millisecond an
AsyncHttpClient will keep connection
idle in pool.
- setIdleConnectionInPoolTimeoutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setIdleConnectionInPoolTimeoutInMs(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setIdleConnectionTimeoutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum time in millisecond an
AsyncHttpClient can stay idle.
- setIdleConnectionTimeoutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setIdleConnectionTimeoutReached() -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setInetAddress(InetAddress) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setInnerFuture(Future<V>) -
Method in class com.ning.http.client.providers.apache.ApacheResponseFuture
-
- setInnerFuture(Future<V>) -
Method in class com.ning.http.client.providers.jdk.JDKFuture
-
- setIOThreadMultiplier(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
- setIoThreadMultiplier(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setJanuary() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setJuly() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setJune() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setKeepAlive(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Deprecated. - Use
AsyncHttpClientConfig.Builder.setAllowPoolingConnection(boolean)
- setKeepAlive(boolean) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setListener(SimpleAHCTransferListener) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- Set the listener to notify about connection progress.
- setLocalInetAddress(InetAddress) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setMarch() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setMaxBufferSize(int) -
Method in class com.ning.http.client.providers.netty.NettyWebSocket
-
- setMaxByteSize(long) -
Method in class com.ning.http.client.websocket.WebSocketUpgradeHandler.Builder
- Set the max size of the WebSocket byte message that will be sent.
- setMaxConnectionLifeTimeInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum time in millisecond connection can be added to the pool for further reuse
- setMaxConnectionPerHost(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setMaxDefaultRedirects(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setMaximumConnectionsPerHost(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum number of connections per hosts an
AsyncHttpClient can handle.
- setMaximumConnectionsPerHost(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setMaximumConnectionsTotal(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum number of connections an
AsyncHttpClient can handle.
- setMaximumConnectionsTotal(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setMaximumNumberOfRedirects(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum number of HTTP redirect
- setMaximumNumberOfRedirects(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setMaxPendingBytes(int) -
Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator
- Configured the maximum number of bytes that may be pending to be written
to the wire.
- setMaxRequestRetry(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the number of time a request will be retried when an
IOException occurs because of a Network exception.
- setMaxRequestRetry(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setMaxRequestRetry(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- Set the number of time a request will be retried when an
IOException occurs because of a Network exception.
- setMaxTextSize(long) -
Method in class com.ning.http.client.websocket.WebSocketUpgradeHandler.Builder
- Set the max size of the WebSocket text message that will be sent.
- setMaxTotalConnections(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setMay() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setMethod(String) -
Method in class com.ning.http.client.RequestBuilder
-
- setMethod(String) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setMethodName(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setMinute(int) -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setName(String) -
Method in class com.ning.http.multipart.PartBase
- Sets the part name.
- setNc(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setNettyRequest(HttpRequest) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setNonce(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setNovembre() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setNtlmDomain(String) -
Method in class com.ning.http.client.ProxyServer
-
- setNtlmDomain(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setNtlmHost(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setNtlmMessageType2Received(boolean) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setOctobre() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setOpaque(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setParameters(Map<String, Collection<String>>) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setParameters(FluentStringsMap) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setParameters(Map<String, Collection<String>>) -
Method in class com.ning.http.client.RequestBuilder
-
- setParameters(FluentStringsMap) -
Method in class com.ning.http.client.RequestBuilder
-
- setParameters(FluentStringsMap) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setParameters(Map<String, Collection<String>>) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setParameters(Map<String, Collection<String>>) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setParameters(FluentStringsMap) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setParameters(FluentStringsMap) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setParameters(Map<String, Collection<String>>) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setPassword(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setPerRequestConfig(PerRequestConfig) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setPrincipal(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setProtocol(String) -
Method in class com.ning.http.client.websocket.WebSocketUpgradeHandler.Builder
- Set the WebSocket protocol.
- setProviderClass(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setProviderConfig(AsyncHttpProviderConfig<?, ?>) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setProxyHost(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setProxyPassword(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setProxyPort(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setProxyPrincipal(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setProxyProtocol(ProxyServer.Protocol) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setProxyServer(ProxyServer) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set an instance of
ProxyServer used by an AsyncHttpClient
- setProxyServer(ProxyServer) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setProxyServer(ProxyServer) -
Method in class com.ning.http.client.RequestBuilder
-
- setProxyServer(ProxyServer) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setProxyServerSelector(ProxyServerSelector) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set an instance of
ProxyServerSelector used by an AsyncHttpClient
- setProxyServerSelector(ProxyServerSelector) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setQop(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setQueryParameters(FluentStringsMap) -
Method in class com.ning.http.client.RequestBuilder
-
- setQueryParameters(FluentStringsMap) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setRangeOffset(long) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setRealm(Realm) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the
Realm that will be used for all requests.
- setRealm(Realm) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setRealm(Realm) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setRealmDomain(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setRealmEnconding(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setRealmName(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setRealmName(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setRealmPassword(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setRealmPrincipal(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setRealmScheme(Realm.AuthScheme) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setRealmUsePreemptiveAuth(boolean) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setReaper(ScheduledExecutorService) -
Method in class com.ning.http.client.providers.apache.ApacheAsyncHttpProviderConfig
-
- setReaperFuture(Future<?>) -
Method in class com.ning.http.client.providers.apache.ApacheResponseFuture
-
- setRedirectEnabled(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setRemoveQueryParamOnRedirect(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setRemoveQueryParamsOnRedirect(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set to false if you don't want the query parameters removed when a redirect occurs.
- setRequest(Request) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setRequestCompressionLevel(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the compression level, or -1 if no compression is used.
- setRequestCompressionLevel(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setRequestCompressionLevel(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setRequestTimeoutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum time in millisecond an
AsyncHttpClient wait for a response
- setRequestTimeoutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setRequestTimeoutInMs(int) -
Method in class com.ning.http.client.PerRequestConfig
- Deprecated.
- setRequestTimeoutInMs(int) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setRequestTimeoutReached() -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setResponse(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setResumableDownload(boolean) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- Enable resumable downloads for the SimpleAHC.
- setResumableDownload(boolean) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setResumableListener(ResumableListener) -
Method in class com.ning.http.client.resumable.ResumableAsyncHandler
- Set a
ResumableListener
- setReuseChannel(boolean) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setScheme(Realm.AuthScheme) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setSecond(int) -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setSeptember() -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- setSignatureCalculator(SignatureCalculator) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setSignatureCalculator(SignatureCalculator) -
Method in class com.ning.http.client.AsyncHttpClient
- Set default signature calculator to use for requests build by this client instance
- setSSLContext(SSLContext) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the
SSLContext for secure connection.
- setSslContext(SSLContext) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setSSLContext(SSLContext) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setSSLEngineFactory(SSLEngineFactory) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the
SSLEngineFactory for secure connection.
- setSslEngineFactory(SSLEngineFactory) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setSSLEngineFactory(SSLEngineFactory) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setStalledTime(long) -
Method in class com.ning.http.multipart.FilePart
-
- setState(NettyResponseFuture.STATE) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setStrict302Handling(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Configures this AHC instance to be strict in it's handling of 302 redirects
in a POST/Redirect/GET situation.
- setTimeConverter(TimeConverter) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
- setTimeoutsHolder(TimeoutsHolder) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setTransferEncoding(String) -
Method in class com.ning.http.multipart.PartBase
- Sets the transfer encoding.
- setURI(URI) -
Method in class com.ning.http.client.providers.netty.NettyResponseFuture
-
- setUri(String) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setURI(URI) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setUrl(String) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setUrl(String) -
Method in class com.ning.http.client.RequestBuilder
-
- setUrl(String) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setUrl(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setUrl(String) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setUsePreemptiveAuth(boolean) -
Method in class com.ning.http.client.Realm.RealmBuilder
-
- setUseProxyProperties(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Sets whether AHC should use the default http.proxy* system properties
to obtain proxy information.
- setUseProxySelector(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Sets whether AHC should use the default JDK ProxySelector to select a proxy server.
- setUserAgent(String) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the USER_AGENT header value
- setUserAgent(String) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setUserAgent(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setUseRawUrl(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Allows use unescaped URLs in requests
useful for retrieving data from broken sites
- setUseRawUrl(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfigBean
-
- setUseRelativeURIsWithSSLProxies(boolean) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Configures this AHC instance to use relative URIs instead of absolute ones when talking with a SSL proxy.
- setVirtualHost(String) -
Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
-
- setVirtualHost(String) -
Method in class com.ning.http.client.RequestBuilder
-
- setVirtualHost(String) -
Method in class com.ning.http.client.RequestBuilderBase
-
- setVirtualHost(String) -
Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- setVirtualHost(String) -
Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
-
- setWebSocketIdleTimeoutInMs(int) -
Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- Set the maximum time in millisecond an
WebSocket can stay idle.
- setYear(int) -
Method in class com.ning.http.client.date.RFC2616Date.Builder
-
- sha1(byte[]) -
Static method in class com.ning.http.client.providers.netty.WebSocketUtil
-
- signatureCalculator -
Variable in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- Calculator used for calculating request signature for the request being
built, if any.
- signatureCalculator -
Variable in class com.ning.http.client.AsyncHttpClient
- Default signature calculator to use for all requests constructed by this client instance.
- SignatureCalculator - Interface in com.ning.http.client
- Interface that allows injecting signature calculator into
RequestBuilder so that signature calculation and inclusion can
be added as a pluggable component. - SimpleAHCTransferListener - Interface in com.ning.http.client.simple
- A simple transfer listener for use with the
SimpleAsyncHttpClient. - SimpleAsyncHttpClient - Class in com.ning.http.client
- Simple implementation of
AsyncHttpClient and it's related builders (AsyncHttpClientConfig,
Realm, ProxyServer and AsyncHandler. - SimpleAsyncHttpClient.Builder - Class in com.ning.http.client
-
- SimpleAsyncHttpClient.Builder() -
Constructor for class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
- SimpleAsyncHttpClient.DerivedBuilder - Interface in com.ning.http.client
- This interface contains possible configuration changes for a derived SimpleAsyncHttpClient.
- SimpleAsyncHttpClient.ErrorDocumentBehaviour - Enum in com.ning.http.client
-
- size() -
Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
- size() -
Method in class com.ning.http.client.FluentStringsMap
-
- size() -
Method in class com.ning.http.client.simple.HeaderMap
-
- SOCKET_CHANNEL_FACTORY -
Static variable in class com.ning.http.client.providers.netty.NettyAsyncHttpProviderConfig
- Allow configuring the Netty's socket channel factory.
- SpnegoEngine - Class in com.ning.http.client.providers.netty.spnego
- SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication
scheme.
- SpnegoEngine(SpnegoTokenGenerator) -
Constructor for class com.ning.http.client.providers.netty.spnego.SpnegoEngine
-
- SpnegoEngine() -
Constructor for class com.ning.http.client.providers.netty.spnego.SpnegoEngine
-
- SpnegoTokenGenerator - Interface in com.ning.http.client.providers.netty.spnego
- Abstract SPNEGO token generator.
- SSL_HANDLER -
Static variable in class com.ning.http.client.providers.netty.NettyAsyncHttpProvider
-
- sslContext -
Variable in class com.ning.http.client.AsyncHttpClientConfig
-
- sslEngineFactory -
Variable in class com.ning.http.client.AsyncHttpClientConfig
-
- SSLEngineFactory - Interface in com.ning.http.client
- Factory that creates an
SSLEngine to be used for a single SSL connection. - SslUtils - Class in com.ning.http.util
- This class is a copy of http://github.com/sonatype/wagon-ning/raw/master/src/main/java/org/apache/maven/wagon/providers/http/SslUtils.java
- SslUtils() -
Constructor for class com.ning.http.util.SslUtils
-
- start() -
Method in class com.ning.http.multipart.FilePartStallHandler
-
- stream(byte[], boolean) -
Method in class com.ning.http.client.providers.netty.NettyWebSocket
-
- stream(byte[], int, int, boolean) -
Method in class com.ning.http.client.providers.netty.NettyWebSocket
-
- stream(byte[], boolean) -
Method in interface com.ning.http.client.websocket.WebSocket
- Allows streaming of multiple binary fragments.
- stream(byte[], int, int, boolean) -
Method in interface com.ning.http.client.websocket.WebSocket
- Allows streaming of multiple binary fragments.
- streamText(String, boolean) -
Method in class com.ning.http.client.providers.netty.NettyWebSocket
-
- streamText(String, boolean) -
Method in interface com.ning.http.client.websocket.WebSocket
- Allows streaming of multiple text fragments.
- strict302Handling -
Variable in class com.ning.http.client.AsyncHttpClientConfig
-
- StringPart - Class in com.ning.http.client
- A string multipart part.
- StringPart(String, String, String) -
Constructor for class com.ning.http.client.StringPart
-
- StringPart(String, String) -
Constructor for class com.ning.http.client.StringPart
-
- StringPart - Class in com.ning.http.multipart
- This class is an adaptation of the Apache HttpClient implementation
- StringPart(String, String, String, String) -
Constructor for class com.ning.http.multipart.StringPart
- Constructor.
- StringPart(String, String, String) -
Constructor for class com.ning.http.multipart.StringPart
-
- StringPart(String, String) -
Constructor for class com.ning.http.multipart.StringPart
- Constructor.
RequestFilter throttles requests and block when the number of permits is reached, waiting for
the response to arrives before executing the next request.Throwable handler to be used with SimpleAsyncHttpClientTransferCompletionHandler.TransferAdapter with this listener.
AsyncHandler that can be used to notify a set of TransferListener
Response.getResponseBody() get called.
GrizzlyAsyncHttpProviderConfig
and allows low-level customization of the TCPNIOTransport beyond the
defaults typically used.AsyncHandler.STATE.UPGRADE is returned.ByteBuffer
AsyncHandler that add support for WebDav's response manipulation.Response which add support for getting the response's body as an XML document (@link WebDavResponse#getBodyAsXML}WebSocketListener for bytesWebSocketListener for WebSocket events.WebSocketListener for text messageAsyncHandler which is able to execute WebSocket upgrade.WebSocketUpgradeHandlerOutputStream
OutputStream
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||