Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort(Throwable) - Method in interface com.ning.http.client.ListenableFuture
- abort(Throwable) - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- ABORT - Enum constant in enum com.ning.http.client.AsyncHandler.STATE
-
Stop the processing.
- AbstractFilePart - Class in com.ning.http.client.multipart
-
This class is an adaptation of the Apache HttpClient implementation
- AbstractFilePart(String, String, Charset, String, String) - Constructor for class com.ning.http.client.multipart.AbstractFilePart
-
FilePart Constructor.
- AbstractListenableFuture<V> - Class in com.ning.http.client.listenable
-
An abstract base implementation of the listener support provided by
ListenableFuture. - AbstractListenableFuture() - Constructor for class com.ning.http.client.listenable.AbstractListenableFuture
- acceptAnyCertificate - Variable in class com.ning.http.client.AsyncHttpClientConfig
- accumulate(HttpResponseBodyPart) - Method in class com.ning.http.client.Response.ResponseBuilder
- accumulate(HttpResponseHeaders) - Method in class com.ning.http.client.Response.ResponseBuilder
- accumulate(HttpResponseStatus) - Method in class com.ning.http.client.Response.ResponseBuilder
- ACCUMULATE - Enum constant in enum com.ning.http.client.SimpleAsyncHttpClient.ErrorDocumentBehaviour
-
Accumulate error documents in memory but do not consume.
- add(Runnable, Executor) - Method in class com.ning.http.client.listenable.ExecutionList
-
Add the runnable/executor pair to the list of pairs to execute.
- add(String, String) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- add(String, String) - Method in class com.ning.http.client.FluentStringsMap
- add(String, String...) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Adds the specified values and returns this object.
- add(String, String...) - Method in class com.ning.http.client.FluentStringsMap
-
Adds the specified values and returns this object.
- add(String, Collection<String>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Adds the specified values and returns this object.
- add(String, Collection<String>) - Method in class com.ning.http.client.FluentStringsMap
-
Adds the specified values and returns this object.
- addAll(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Adds all key-values pairs from the given object to this object and returns this object.
- addAll(FluentStringsMap) - Method in class com.ning.http.client.FluentStringsMap
-
Adds all key-values pairs from the given object to this object and returns this object.
- addAll(Map<String, Collection<String>>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Adds all key-values pairs from the given map to this object and returns this object.
- addAll(Map<String, Collection<String>>) - Method in class com.ning.http.client.FluentStringsMap
-
Adds all key-values pairs from the given map to this object and returns this object.
- addBodyPart(Part) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- addBodyPart(Part) - Method in class com.ning.http.client.RequestBuilder
- addBodyPart(Part) - Method in class com.ning.http.client.RequestBuilderBase
- addBodyPart(Part) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- addBodyPart(Part) - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- addCookie(Cookie) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- addCookie(Cookie) - Method in class com.ning.http.client.RequestBuilder
- addCookie(Cookie) - Method in class com.ning.http.client.RequestBuilderBase
- addCookie(Cookie) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- addCookie(Cookie) - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- addCustomHeader(String, String) - Method in class com.ning.http.client.multipart.PartBase
- addFormParam(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- addFormParam(String, String) - Method in class com.ning.http.client.RequestBuilder
- addFormParam(String, String) - Method in class com.ning.http.client.RequestBuilderBase
- addFormParam(String, String) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- addFormParam(String, String) - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- addHeader(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- addHeader(String, String) - Method in class com.ning.http.client.RequestBuilder
- addHeader(String, String) - Method in class com.ning.http.client.RequestBuilderBase
- addHeader(String, String) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- addHeader(String, String) - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- addIOExceptionFilter(IOExceptionFilter) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Add an
IOExceptionFilterthat will be invoked when anIOExceptionoccurs during the download/upload operations. - addIoExceptionFilters(IOExceptionFilter) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- addListener(Runnable, Executor) - Method in class com.ning.http.client.listenable.AbstractListenableFuture
- addListener(Runnable, Executor) - Method in interface com.ning.http.client.ListenableFuture
-
Adds a listener and executor to the ListenableFuture.
- addListener(Runnable, Executor) - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- addNonProxyHost(String) - Method in class com.ning.http.client.ProxyServer
- addOrReplaceCookie(Cookie) - Method in class com.ning.http.client.RequestBuilder
- addOrReplaceCookie(Cookie) - Method in class com.ning.http.client.RequestBuilderBase
- addProperty(GrizzlyAsyncHttpProviderConfig.Property, Object) - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- addProperty(U, V) - Method in interface com.ning.http.client.AsyncHttpProviderConfig
-
Add a property that will be used when the AsyncHttpClient initialize its
AsyncHttpProvider - addQueryParam(String, String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- addQueryParam(String, String) - Method in class com.ning.http.client.RequestBuilder
- addQueryParam(String, String) - Method in class com.ning.http.client.RequestBuilderBase
- addQueryParam(String, String) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- addQueryParam(String, String) - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- addQueryParams(List<Param>) - Method in class com.ning.http.client.RequestBuilder
- addQueryParams(List<Param>) - Method in class com.ning.http.client.RequestBuilderBase
- addRequestFilter(RequestFilter) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Add an
RequestFilterthat will be invoked beforeAsyncHttpClient.executeRequest(Request) - addRequestFilter(RequestFilter) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- addResponseFilter(ResponseFilter) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Add an
ResponseFilterthat will be invoked as soon as the response is received, and beforeAsyncHandler.onStatusReceived(HttpResponseStatus). - addResponseFilters(ResponseFilter) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- addTransferListener(TransferListener) - Method in class com.ning.http.client.listener.TransferCompletionHandler
-
Add a
TransferListener - addWebSocketListener(WebSocketListener) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- addWebSocketListener(WebSocketListener) - Method in interface com.ning.http.client.ws.WebSocket
-
Add a
WebSocketListener - addWebSocketListener(WebSocketListener) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler.Builder
-
Add a
WebSocketListenerthat will be added to theWebSocket - adjustRequestRange(Request) - Method in class com.ning.http.client.resumable.ResumableAsyncHandler
-
Invoke this API if you want to set the Range header on your
Requestbased on the last valid bytes position. - AHC_ALLOW_UTF8 - Static variable in class com.ning.http.client.multipart.PartBase
- allowPoolingConnections - Variable in class com.ning.http.client.AsyncHttpClientConfig
- allowPoolingSslConnections - Variable in class com.ning.http.client.AsyncHttpClientConfig
- AppendableBodyConsumer - Class in com.ning.http.client.consumers
-
An
Appendablecustomer forByteBuffer - AppendableBodyConsumer(Appendable) - Constructor for class com.ning.http.client.consumers.AppendableBodyConsumer
- AppendableBodyConsumer(Appendable, String) - Constructor for class com.ning.http.client.consumers.AppendableBodyConsumer
- applicationThreadPool - Variable in class com.ning.http.client.AsyncHttpClientConfig
- asGuavaFuture(ListenableFuture<V>) - Static method in class com.ning.http.client.extra.ListenableFutureAdapter
- Assertions - Class in com.ning.http.util
- assertNotEmpty(String, String) - Static method in class com.ning.http.util.Assertions
- assertNotNull(Object, String) - Static method in class com.ning.http.util.Assertions
- ASYNC_CLIENT - Static variable in class com.ning.http.client.AsyncHttpClientConfigDefaults
- AsyncCompletionHandler<T> - Class in com.ning.http.client
-
An
AsyncHandleraugmented with anAsyncCompletionHandler.onCompleted(Response)convenience method which gets called when theResponseprocessing is finished. - AsyncCompletionHandler() - Constructor for class com.ning.http.client.AsyncCompletionHandler
- AsyncCompletionHandlerBase - Class in com.ning.http.client
-
Simple
AsyncHandlerof typeResponse - AsyncCompletionHandlerBase() - Constructor for class com.ning.http.client.AsyncCompletionHandlerBase
- asyncHandler(AsyncHandler<T>) - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- AsyncHandler<T> - Interface in com.ning.http.client
-
An asynchronous handler or callback which gets invoked as soon as some data is available when processing an asynchronous response.
Callback methods get invoked in the following order:AsyncHandler.onStatusReceived(HttpResponseStatus),AsyncHandler.onHeadersReceived(HttpResponseHeaders),AsyncHandler.onBodyPartReceived(HttpResponseBodyPart), which could be invoked multiple times,AsyncHandler.onCompleted(), once the response has been fully read. - AsyncHandler.STATE - Enum in com.ning.http.client
- AsyncHandlerExtensions - Interface in com.ning.http.client
-
This interface hosts new low level callback methods on
AsyncHandler. - AsyncHttpClient - Class in com.ning.http.client
-
This class support asynchronous and synchronous HTTP request.
- AsyncHttpClient() - Constructor for class com.ning.http.client.AsyncHttpClient
-
Create a new HTTP Asynchronous Client using the default
AsyncHttpClientConfigconfiguration. - AsyncHttpClient(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.AsyncHttpClient
-
Create a new HTTP Asynchronous Client using a
AsyncHttpClientConfigconfiguration and theAsyncHttpClient.DEFAULT_PROVIDER - AsyncHttpClient(AsyncHttpProvider) - Constructor for class com.ning.http.client.AsyncHttpClient
-
Create a new HTTP Asynchronous Client using an implementation of
AsyncHttpProviderand the defaultAsyncHttpClientConfigconfiguration. - AsyncHttpClient(AsyncHttpProvider, AsyncHttpClientConfig) - Constructor for class com.ning.http.client.AsyncHttpClient
-
Create a new HTTP Asynchronous Client using a
AsyncHttpClientConfigconfiguration and and aAsyncHttpProvider. - AsyncHttpClient(String, AsyncHttpClientConfig) - Constructor for class com.ning.http.client.AsyncHttpClient
-
Create a new HTTP Asynchronous Client using a
AsyncHttpClientConfigconfiguration and and a AsyncHttpProvider class' name. - AsyncHttpClient.BoundRequestBuilder - Class in com.ning.http.client
- AsyncHttpClientConfig - Class in com.ning.http.client
-
Configuration class to use with a
AsyncHttpClient. - AsyncHttpClientConfig() - Constructor for class com.ning.http.client.AsyncHttpClientConfig
- AsyncHttpClientConfig.Builder - Class in com.ning.http.client
-
Builder for an
AsyncHttpClient - AsyncHttpClientConfigBean - Class in com.ning.http.client
-
Simple JavaBean version of
AsyncHttpClientConfig - AsyncHttpClientConfigBean() - Constructor for class com.ning.http.client.AsyncHttpClientConfigBean
- AsyncHttpClientConfigDefaults - Class in com.ning.http.client
- AsyncHttpProvider - Interface in com.ning.http.client
-
Interface to be used when implementing custom asynchronous I/O HTTP client.
- AsyncHttpProviderConfig<U,
V> - Interface in com.ning.http.client -
AsyncHttpProviderproprietary configurable properties. - AsyncHttpProviderUtils - Class in com.ning.http.util
-
AsyncHttpProvidercommon utilities. - AsyncHttpProviderUtils() - Constructor for class com.ning.http.util.AsyncHttpProviderUtils
- AuthenticatorUtils - Class in com.ning.http.util
- AuthenticatorUtils() - Constructor for class com.ning.http.util.AuthenticatorUtils
- available() - Method in class com.ning.http.client.HttpResponseBodyPartsInputStream
- avoidProxy(ProxyServer, Request) - Static method in class com.ning.http.util.ProxyUtils
- avoidProxy(ProxyServer, String) - Static method in class com.ning.http.util.ProxyUtils
-
Checks whether proxy should be used according to nonProxyHosts settings of it, or we want to go directly to target host.
B
- BadStatusCodeException - Exception in com.ning.http.client.ws
- BadStatusCodeException(int) - Constructor for exception com.ning.http.client.ws.BadStatusCodeException
- Base64 - Class in com.ning.http.util
-
Implements the "base64" binary encoding scheme as defined by RFC 2045.
- BaseFeeder(FeedableBodyGenerator) - Constructor for class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.BaseFeeder
- BASIC - Enum constant in enum com.ning.http.client.Realm.AuthScheme
- Body - Interface in com.ning.http.client
-
A request body.
- BodyConsumer - Interface in com.ning.http.client
-
A simple API to be used with the
SimpleAsyncHttpClientclass in order to process response's bytes. - BodyDeferringAsyncHandler - Class in com.ning.http.client
-
An AsyncHandler that returns Response (without body, so status code and headers only) as fast as possible for inspection, but leaves you the option to defer body consumption.
- BodyDeferringAsyncHandler(OutputStream) - Constructor for class com.ning.http.client.BodyDeferringAsyncHandler
- BodyDeferringAsyncHandler.BodyDeferringInputStream - Class in com.ning.http.client
-
A simple helper class that is used to perform automatic "join" for async download and the error checking of the Future of the request.
- BodyDeferringInputStream(Future<Response>, BodyDeferringAsyncHandler, InputStream) - Constructor for class com.ning.http.client.BodyDeferringAsyncHandler.BodyDeferringInputStream
- BodyGenerator - Interface in com.ning.http.client
-
Creates a request body.
- bodyParts - Variable in class com.ning.http.client.ResponseBase
- BUFFER_WEBSOCKET_FRAGMENTS - Enum constant in enum com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig.Property
-
By default, Websocket messages that are fragmented will be buffered.
- build() - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- build() - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Build an
AsyncHttpClientConfig - build() - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- build() - Method in class com.ning.http.client.Realm.RealmBuilder
-
Build a
Realm - build() - Method in class com.ning.http.client.RequestBuilder
- build() - Method in class com.ning.http.client.RequestBuilderBase
- build() - Method in class com.ning.http.client.Response.ResponseBuilder
-
Build a
Responseinstance - build() - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- build() - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- build() - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler.Builder
-
Build a
WebSocketUpgradeHandler - buildCookies() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponse
- buildCookies() - Method in class com.ning.http.client.ResponseBase
- Builder() - Constructor for class com.ning.http.client.AsyncHttpClientConfig.Builder
- Builder() - Constructor for class com.ning.http.client.SimpleAsyncHttpClient.Builder
- Builder() - Constructor for class com.ning.http.client.ws.WebSocketUpgradeHandler.Builder
- Builder(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Create a config builder with values taken from the given prototype configuration.
- buildStaticIOException(String) - Static method in class com.ning.http.util.MiscUtils
- BUILT_PATH_UNTOUCHED_CHARS - Static variable in class com.ning.http.util.UTF8UrlEncoder
- BUILT_QUERY_UNTOUCHED_CHARS - Static variable in class com.ning.http.util.UTF8UrlEncoder
- ByteArrayBodyGenerator - Class in com.ning.http.client.generators
-
A
BodyGeneratorbacked by a byte array. - ByteArrayBodyGenerator(byte[]) - Constructor for class com.ning.http.client.generators.ByteArrayBodyGenerator
- ByteArrayBodyGenerator.ByteBody - Class in com.ning.http.client.generators
- ByteArrayPart - Class in com.ning.http.client.multipart
- ByteArrayPart(String, byte[]) - Constructor for class com.ning.http.client.multipart.ByteArrayPart
- ByteArrayPart(String, byte[], String) - Constructor for class com.ning.http.client.multipart.ByteArrayPart
- ByteArrayPart(String, byte[], String, Charset) - Constructor for class com.ning.http.client.multipart.ByteArrayPart
- ByteArrayPart(String, byte[], String, Charset, String) - Constructor for class com.ning.http.client.multipart.ByteArrayPart
- ByteArrayPart(String, byte[], String, Charset, String, String) - Constructor for class com.ning.http.client.multipart.ByteArrayPart
- ByteArrayPart(String, byte[], String, Charset, String, String, String) - Constructor for class com.ning.http.client.multipart.ByteArrayPart
- ByteBody() - Constructor for class com.ning.http.client.generators.ByteArrayBodyGenerator.ByteBody
- byteBuffer2ByteArray(ByteBuffer) - Static method in class com.ning.http.util.StringUtils
- ByteBufferBodyConsumer - Class in com.ning.http.client.consumers
-
A
ByteBufferimplementation ofBodyConsumer - ByteBufferBodyConsumer(ByteBuffer) - Constructor for class com.ning.http.client.consumers.ByteBufferBodyConsumer
C
- calculateAndAddSignature(Request, RequestBuilderBase<?>) - Method in class com.ning.http.client.oauth.OAuthSignatureCalculator
- calculateAndAddSignature(Request, RequestBuilderBase<?>) - Method in interface com.ning.http.client.SignatureCalculator
-
Method called when
RequestBuilder.build()method is called. - calculateCharset(String) - Method in class com.ning.http.client.ResponseBase
- calculateSignature(String, Uri, long, String, List<Param>, List<Param>) - Method in class com.ning.http.client.oauth.OAuthSignatureCalculator
-
Method for calculating OAuth signature using HMAC/SHA-1 method.
- cancel(boolean) - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- cancelled() - Method in class com.ning.http.util.PreservingThreadContextCompletionHandler
- canFeed() - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.NonBlockingFeeder
-
Notification that it's possible to send another block of data via
FeedableBodyGenerator.BaseFeeder.feed(org.glassfish.grizzly.Buffer, boolean). - canFeed() - Method in class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- charAt(int) - Method in class com.ning.http.util.StringCharSequence
- charSequence2ByteBuffer(CharSequence, Charset) - Static method in class com.ning.http.util.StringUtils
- charSequence2Bytes(CharSequence, Charset) - Static method in class com.ning.http.util.StringUtils
- CHARSET_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
Content charset as a byte array
- chunk - Variable in class com.ning.http.client.generators.InputStreamBodyGenerator.ISBody
- CLASS_LOADER_ATTRIBUTE_KEY - Static variable in class com.ning.http.client.providers.grizzly.HttpTransactionContext
- cleanExpiredCookies() - Method in class com.ning.http.client.RequestBuilderBase
- clear() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- clear() - Method in class com.ning.http.client.FluentStringsMap
- clear() - Method in class com.ning.http.client.simple.HeaderMap
-
Only read access is supported.
- clone(Realm) - Method in class com.ning.http.client.Realm.RealmBuilder
- close() - Method in class com.ning.http.client.AsyncHttpClient
-
Close the underlying connections.
- close() - Method in interface com.ning.http.client.AsyncHttpProvider
-
Close the current underlying TCP/HTTP connection.
- close() - Method in class com.ning.http.client.BodyDeferringAsyncHandler.BodyDeferringInputStream
-
Closes the input stream, and "joins" (wait for complete execution together with potential exception thrown) of the async request.
- close() - Method in class com.ning.http.client.consumers.AppendableBodyConsumer
- close() - Method in class com.ning.http.client.consumers.ByteBufferBodyConsumer
- close() - Method in class com.ning.http.client.consumers.FileBodyConsumer
- close() - Method in class com.ning.http.client.consumers.OutputStreamBodyConsumer
- close() - Method in class com.ning.http.client.generators.ByteArrayBodyGenerator.ByteBody
- close() - Method in class com.ning.http.client.generators.FileBodyGenerator.FileBody
- close() - Method in class com.ning.http.client.generators.InputStreamBodyGenerator.ISBody
- close() - Method in class com.ning.http.client.multipart.MultipartBody
- close() - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider
- close() - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- close() - Method in class com.ning.http.client.SimpleAsyncHttpClient
-
Close the underlying AsyncHttpClient for this instance.
- close() - Method in interface com.ning.http.client.ws.WebSocket
-
Close the WebSocket.
- close(int, String) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- close(int, String) - Method in interface com.ning.http.client.ws.WebSocket
- closeAsynchronously() - Method in class com.ning.http.client.AsyncHttpClient
-
Asynchronous close the
AsyncHttpProviderby spawning a thread and avoid blocking. - closeOut() - Method in class com.ning.http.client.BodyDeferringAsyncHandler
- closeSilently(Closeable) - Static method in class com.ning.http.util.MiscUtils
- com.ning.http.client - package com.ning.http.client
- com.ning.http.client.consumers - package com.ning.http.client.consumers
- com.ning.http.client.cookie - package com.ning.http.client.cookie
- com.ning.http.client.extra - package com.ning.http.client.extra
- com.ning.http.client.filter - package com.ning.http.client.filter
- com.ning.http.client.generators - package com.ning.http.client.generators
- com.ning.http.client.listenable - package com.ning.http.client.listenable
- com.ning.http.client.listener - package com.ning.http.client.listener
- com.ning.http.client.multipart - package com.ning.http.client.multipart
- com.ning.http.client.ntlm - package com.ning.http.client.ntlm
- com.ning.http.client.oauth - package com.ning.http.client.oauth
- com.ning.http.client.providers.grizzly - package com.ning.http.client.providers.grizzly
- com.ning.http.client.providers.grizzly.events - package com.ning.http.client.providers.grizzly.events
- com.ning.http.client.providers.grizzly.websocket - package com.ning.http.client.providers.grizzly.websocket
- com.ning.http.client.resumable - package com.ning.http.client.resumable
- com.ning.http.client.simple - package com.ning.http.client.simple
- com.ning.http.client.spnego - package com.ning.http.client.spnego
- com.ning.http.client.uri - package com.ning.http.client.uri
- com.ning.http.client.webdav - package com.ning.http.client.webdav
- com.ning.http.client.ws - package com.ning.http.client.ws
- com.ning.http.util - package com.ning.http.util
- completableSend(byte[]) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- completableSend(byte[]) - Method in interface com.ning.http.client.ws.WebSocket
- completableSend(String) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- completableSend(String) - Method in interface com.ning.http.client.ws.WebSocket
- completableStream(byte[], boolean) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- completableStream(byte[], boolean) - Method in interface com.ning.http.client.ws.WebSocket
- completableStream(byte[], int, int, boolean) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- completableStream(byte[], int, int, boolean) - Method in interface com.ning.http.client.ws.WebSocket
- completableStream(String, boolean) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- completableStream(String, boolean) - Method in interface com.ning.http.client.ws.WebSocket
- completed() - Method in class com.ning.http.client.multipart.FilePartStallHandler
- completed(E) - Method in class com.ning.http.util.PreservingThreadContextCompletionHandler
- CompletedFailure(String, Throwable) - Constructor for class com.ning.http.client.ListenableFuture.CompletedFailure
- CompletedFailure(Throwable) - Constructor for class com.ning.http.client.ListenableFuture.CompletedFailure
- compressionEnforced - Variable in class com.ning.http.client.AsyncHttpClientConfig
- computeBasicAuthentication(ProxyServer) - Static method in class com.ning.http.util.AuthenticatorUtils
- computeBasicAuthentication(Realm) - Static method in class com.ning.http.util.AuthenticatorUtils
- computeDigestAuthentication(Realm) - Static method in class com.ning.http.util.AuthenticatorUtils
- computeRealmURI(Realm) - Static method in class com.ning.http.util.AuthenticatorUtils
- computeRealmURI(Uri, boolean, boolean) - Static method in class com.ning.http.util.AuthenticatorUtils
- config - Variable in class com.ning.http.client.HttpResponseStatus
- connectionHeader(boolean, boolean) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- connectionPool - Variable in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- ConnectionPoolPartitioning - Interface in com.ning.http.client
- ConnectionPoolPartitioning.PerHostConnectionPoolPartitioning - Enum in com.ning.http.client
- ConnectionPoolPartitioning.ProxyPartitionKey - Class in com.ning.http.client
- connectionTTL - Variable in class com.ning.http.client.AsyncHttpClientConfig
- connectTimeout - Variable in class com.ning.http.client.AsyncHttpClientConfig
- consume(ByteBuffer) - Method in interface com.ning.http.client.BodyConsumer
-
Consume the received bytes.
- consume(ByteBuffer) - Method in class com.ning.http.client.consumers.AppendableBodyConsumer
- consume(ByteBuffer) - Method in class com.ning.http.client.consumers.ByteBufferBodyConsumer
- consume(ByteBuffer) - Method in class com.ning.http.client.consumers.FileBodyConsumer
- consume(ByteBuffer) - Method in class com.ning.http.client.consumers.OutputStreamBodyConsumer
- consumerAuth - Variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
- ConsumerKey - Class in com.ning.http.client.oauth
-
Value class for OAuth consumer keys.
- ConsumerKey(String, String) - Constructor for class com.ning.http.client.oauth.ConsumerKey
- containsKey(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- containsKey(Object) - Method in class com.ning.http.client.FluentStringsMap
- containsKey(Object) - Method in class com.ning.http.client.simple.HeaderMap
- containsValue(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- containsValue(Object) - Method in class com.ning.http.client.FluentStringsMap
- containsValue(Object) - Method in class com.ning.http.client.simple.HeaderMap
- content - Variable in class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- CONTENT_DISPOSITION_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
Content dispostion as a byte array
- CONTENT_ID_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
Content type header as a byte array
- CONTENT_TRANSFER_ENCODING_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
Content type header as a byte array
- CONTENT_TYPE_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
Content type header as a byte array
- contentToByte(List<HttpResponseBodyPart>) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- contentToInputStream(List<HttpResponseBodyPart>) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- contentToString(List<HttpResponseBodyPart>, Charset) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- CONTINUE - Enum constant in enum com.ning.http.client.AsyncHandler.STATE
-
Continue the processing
- ContinueEvent - Class in com.ning.http.client.providers.grizzly.events
- ContinueEvent(HttpTransactionContext) - Constructor for class com.ning.http.client.providers.grizzly.events.ContinueEvent
- Cookie - Class in com.ning.http.client.cookie
- Cookie(String, String, boolean, String, String, long, boolean, boolean) - Constructor for class com.ning.http.client.cookie.Cookie
- CookieDecoder - Class in com.ning.http.client.cookie
- CookieDecoder() - Constructor for class com.ning.http.client.cookie.CookieDecoder
- CookieEncoder - Class in com.ning.http.client.cookie
- CookieUtil - Class in com.ning.http.client.cookie
- CounterPartVisitor - Class in com.ning.http.client.multipart
- CounterPartVisitor() - Constructor for class com.ning.http.client.multipart.CounterPartVisitor
- create(Uri, String) - Static method in class com.ning.http.client.uri.Uri
- create(String) - Static method in class com.ning.http.client.uri.Uri
- createBody() - Method in interface com.ning.http.client.BodyGenerator
-
Creates a new instance of the request body to be read.
- createBody() - Method in class com.ning.http.client.generators.ByteArrayBodyGenerator
- createBody() - Method in class com.ning.http.client.generators.FileBodyGenerator
- createBody() - Method in class com.ning.http.client.generators.InputStreamBodyGenerator
- createBody() - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator
- createProxyServerSelector(ProxyServer) - Static method in class com.ning.http.util.ProxyUtils
-
Create a proxy server selector that always selects a single proxy server.
- createProxyServerSelector(ProxySelector) - Static method in class com.ning.http.util.ProxyUtils
-
Create a proxy server selector based on the passed in JDK proxy selector.
- createProxyServerSelector(Properties) - Static method in class com.ning.http.util.ProxyUtils
-
Creates a proxy server instance from the given properties.
- CRLF_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
Carriage return/linefeed as a byte array
- customize(TCPNIOTransport, FilterChainBuilder) - Method in interface com.ning.http.client.providers.grizzly.TransportCustomizer
-
Customizes the configuration of the provided
TCPNIOTransportandFilterChainBuilderinstances.
D
- DateUtils - Class in com.ning.http.util
- decode(String) - Static method in class com.ning.http.client.cookie.CookieDecoder
-
Decodes the specified HTTP header value into
Cookie. - decode(String) - Static method in class com.ning.http.util.Base64
-
Decodes the specified base64 string back into its raw data.
- decode(String) - Static method in class com.ning.http.util.UTF8UrlDecoder
- decode(String, int, int) - Static method in class com.ning.http.util.UTF8UrlDecoder
- DECOMPRESS_RESPONSE - Enum constant in enum com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig.Property
-
true (default), if an HTTP response has to be decompressed (if compressed by a server), or false if decompression has to be delegated to a user.
- DEFAULT - Static variable in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator
-
Defer to whatever the connection has been configured for max pending bytes.
- DEFAULT_CHARSET - Static variable in class com.ning.http.client.multipart.StringPart
-
Default charset of string parameters
- DEFAULT_CHARSET - Static variable in class com.ning.http.util.AsyncHttpProviderUtils
- DEFAULT_CONTENT_TYPE - Static variable in class com.ning.http.client.multipart.AbstractFilePart
-
Default content encoding of file attachments.
- DEFAULT_CONTENT_TYPE - Static variable in class com.ning.http.client.multipart.StringPart
-
Default content encoding of string parameters.
- DEFAULT_TRANSFER_ENCODING - Static variable in class com.ning.http.client.multipart.AbstractFilePart
-
Default transfer encoding of file attachments.
- DEFAULT_TRANSFER_ENCODING - Static variable in class com.ning.http.client.multipart.StringPart
-
Default transfer encoding of string parameters
- defaultAcceptAnyCertificate() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultAllowPoolingConnections() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultAllowPoolingSslConnections() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultCompressionEnforced() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultConnectionTTL() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultConnectTimeout() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultDisableUrlEncodingForBoundRequests() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultEnabledProtocols() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultFollowRedirect() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- DefaultHostnameVerifier - Class in com.ning.http.util
-
Uses the internal HostnameChecker to verify the server's hostname matches with the certificate.
- DefaultHostnameVerifier() - Constructor for class com.ning.http.util.DefaultHostnameVerifier
-
A hostname verifier that uses the {{sun.security.util.HostnameChecker}} under the hood.
- DefaultHostnameVerifier(HostnameChecker) - Constructor for class com.ning.http.util.DefaultHostnameVerifier
-
A hostname verifier that takes an external hostname checker.
- DefaultHostnameVerifier(HostnameChecker, HostnameVerifier) - Constructor for class com.ning.http.util.DefaultHostnameVerifier
-
A hostname verifier with a hostname checker, that falls back to another hostname verifier if not found.
- DefaultHostnameVerifier(HostnameVerifier) - Constructor for class com.ning.http.util.DefaultHostnameVerifier
-
A hostname verifier that falls back to another hostname verifier if not found.
- defaultIoThreadMultiplier() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultMaxConnections() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultMaxConnectionsPerHost() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultMaxRedirects() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultMaxRequestHeaders() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultMaxRequestRetry() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultNtlmAvoidSendPayloadOnType1() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultPooledConnectionIdleTimeout() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultReadTimeout() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultRequestTimeout() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- DefaultSSLEngineFactory(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.SSLEngineFactory.DefaultSSLEngineFactory
- defaultSslSessionCacheSize() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultSslSessionTimeout() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultStrict302Handling() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultUseProxyProperties() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultUseProxySelector() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultUserAgent() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- defaultUseRelativeURIsWithConnectProxies() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- DefaultWebSocketListener - Class in com.ning.http.client.ws
-
Default WebSocketListener implementation.
- DefaultWebSocketListener() - Constructor for class com.ning.http.client.ws.DefaultWebSocketListener
- defaultWebSocketTimeout() - Static method in class com.ning.http.client.AsyncHttpClientConfigDefaults
- delete() - Method in class com.ning.http.client.SimpleAsyncHttpClient
- delete(BodyConsumer) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- delete(BodyConsumer, ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- delete(ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- delete(String) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Removes the values for the given key if present and returns this object.
- delete(String) - Method in class com.ning.http.client.FluentStringsMap
-
Removes the values for the given key if present and returns this object.
- deleteAll(String...) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Removes the values for the given keys if present and returns this object.
- deleteAll(String...) - Method in class com.ning.http.client.FluentStringsMap
-
Removes the values for the given keys if present and returns this object.
- deleteAll(Collection<String>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Removes the values for the given keys if present and returns this object.
- deleteAll(Collection<String>) - Method in class com.ning.http.client.FluentStringsMap
-
Removes the values for the given keys if present and returns this object.
- derive() - Method in class com.ning.http.client.SimpleAsyncHttpClient
-
Returns a Builder for a derived SimpleAsyncHttpClient that uses the same instance of
AsyncHttpClientto execute requests. - digest(ByteBuffer) - Method in class com.ning.http.client.oauth.ThreadSafeHMAC
- DIGEST - Enum constant in enum com.ning.http.client.Realm.AuthScheme
- disableUrlEncodingForBoundRequests - Variable in class com.ning.http.client.AsyncHttpClientConfig
- doCreateBody() - Method in class com.ning.http.client.generators.InputStreamBodyGenerator
- done() - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- done() - Method in interface com.ning.http.client.ListenableFuture
-
Terminate and if there is no exception, mark this Future as done and release the internal lock.
- doRead() - Method in class com.ning.http.client.generators.InputStreamBodyGenerator.ISBody
E
- enabledCipherSuites - Variable in class com.ning.http.client.AsyncHttpClientConfig
- enabledProtocols - Variable in class com.ning.http.client.AsyncHttpClientConfig
- encode(byte[]) - Static method in class com.ning.http.util.Base64
-
Encodes the specified data into a base64 string.
- encode(Uri, List<Param>) - Method in enum com.ning.http.util.UriEncoder
- encode(Collection<Cookie>) - Static method in class com.ning.http.client.cookie.CookieEncoder
- encodeAndAppendFormElement(StringBuilder, CharSequence) - Static method in class com.ning.http.util.UTF8UrlEncoder
- encodeAndAppendQuery(StringBuilder, String) - Static method in class com.ning.http.util.UTF8UrlEncoder
- encodeAndAppendQueryElement(StringBuilder, CharSequence) - Static method in class com.ning.http.util.UTF8UrlEncoder
- encodePath(String) - Method in enum com.ning.http.util.UriEncoder
- encodePath(String) - Static method in class com.ning.http.util.UTF8UrlEncoder
- encodeQueryElement(String) - Static method in class com.ning.http.util.UTF8UrlEncoder
- entrySet() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- entrySet() - Method in class com.ning.http.client.FluentStringsMap
- entrySet() - Method in class com.ning.http.client.simple.HeaderMap
- equals(Object) - Method in class com.ning.http.client.ConnectionPoolPartitioning.ProxyPartitionKey
- equals(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- equals(Object) - Method in class com.ning.http.client.FluentStringsMap
- equals(Object) - Method in class com.ning.http.client.oauth.ConsumerKey
- equals(Object) - Method in class com.ning.http.client.oauth.RequestToken
- equals(Object) - Method in class com.ning.http.client.Param
- equals(Object) - Method in class com.ning.http.client.Realm
- equals(Object) - Method in class com.ning.http.client.uri.Uri
- execute() - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- execute(AsyncHandler<T>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- execute(Request, AsyncHandler<T>) - Method in interface com.ning.http.client.AsyncHttpProvider
-
Execute the request and invoke the
AsyncHandlerwhen the response arrive. - execute(Request, AsyncHandler<T>) - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider
- executeRequest(Request) - Method in class com.ning.http.client.AsyncHttpClient
-
Execute an HTTP request.
- executeRequest(Request, AsyncHandler<T>) - Method in class com.ning.http.client.AsyncHttpClient
-
Execute an HTTP request.
- ExecutionList - Class in com.ning.http.client.listenable
-
A list of (
Runnable,Executor) pairs that guarantees that everyRunnablethat is added using the add method will be executed in its associatedExecutorafterExecutionList.run()is called. - ExecutionList() - Constructor for class com.ning.http.client.listenable.ExecutionList
- executorService() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the
ExecutorServiceanAsyncHttpClientuse for handling asynchronous response. - EXTRA_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
Extra characters as a byte array
F
- failed(Throwable) - Method in class com.ning.http.util.PreservingThreadContextCompletionHandler
- feed(Buffer, boolean) - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.BaseFeeder
- feed(Buffer, boolean) - Method in interface com.ning.http.client.providers.grizzly.FeedableBodyGenerator.Feeder
-
This method will write the specified
Bufferto the connection. - feedableBodyGenerator - Variable in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.BaseFeeder
- FeedableBodyGenerator - Class in com.ning.http.client.providers.grizzly
-
A Grizzly-specific
BodyGeneratorthat allows data to be fed to the connection in blocking or non-blocking fashion via the use of aFeedableBodyGenerator.Feeder. - FeedableBodyGenerator() - Constructor for class com.ning.http.client.providers.grizzly.FeedableBodyGenerator
- FeedableBodyGenerator.BaseFeeder - Class in com.ning.http.client.providers.grizzly
-
Base class for
FeedableBodyGenerator.Feederimplementations. - FeedableBodyGenerator.Feeder - Interface in com.ning.http.client.providers.grizzly
-
Specifies the functionality all Feeders must implement.
- FeedableBodyGenerator.NonBlockingFeeder - Class in com.ning.http.client.providers.grizzly
-
Implementations of this class provide the framework to read data from some source and feed data to the
FeedableBodyGeneratorwithout blocking. - FeedableBodyGenerator.NonBlockingFeeder.ReadyToFeedListener - Interface in com.ning.http.client.providers.grizzly
-
Listener to signal that data is available to be fed.
- FeedableBodyGenerator.SimpleFeeder - Class in com.ning.http.client.providers.grizzly
-
This simple
FeedableBodyGenerator.Feederimplementation allows the implementation to feed data in whatever fashion is deemed appropriate. - FileBody(File) - Constructor for class com.ning.http.client.generators.FileBodyGenerator.FileBody
- FileBody(File, long, long) - Constructor for class com.ning.http.client.generators.FileBodyGenerator.FileBody
- FileBodyConsumer - Class in com.ning.http.client.consumers
-
A
RandomAccessFilethat can be used as aResumableBodyConsumer - FileBodyConsumer(RandomAccessFile) - Constructor for class com.ning.http.client.consumers.FileBodyConsumer
- FileBodyGenerator - Class in com.ning.http.client.generators
-
Creates a request body from the contents of a file.
- FileBodyGenerator(File) - Constructor for class com.ning.http.client.generators.FileBodyGenerator
- FileBodyGenerator(File, long, long) - Constructor for class com.ning.http.client.generators.FileBodyGenerator
- FileBodyGenerator.FileBody - Class in com.ning.http.client.generators
- FilePart - Class in com.ning.http.client.multipart
- FilePart(String, File) - Constructor for class com.ning.http.client.multipart.FilePart
- FilePart(String, File, String) - Constructor for class com.ning.http.client.multipart.FilePart
- FilePart(String, File, String, Charset) - Constructor for class com.ning.http.client.multipart.FilePart
- FilePart(String, File, String, Charset, String) - Constructor for class com.ning.http.client.multipart.FilePart
- FilePart(String, File, String, Charset, String, String) - Constructor for class com.ning.http.client.multipart.FilePart
- FilePart(String, File, String, Charset, String, String, String) - Constructor for class com.ning.http.client.multipart.FilePart
- FilePartStallHandler - Class in com.ning.http.client.multipart
- FilePartStallHandler(long, AbstractFilePart) - Constructor for class com.ning.http.client.multipart.FilePartStallHandler
- FileUploadStalledException - Exception in com.ning.http.client.multipart
- FileUploadStalledException() - Constructor for exception com.ning.http.client.multipart.FileUploadStalledException
- filter(FilterContext) - Method in class com.ning.http.client.extra.ThrottleRequestFilter
- filter(FilterContext) - Method in interface com.ning.http.client.filter.IOExceptionFilter
-
An
AsyncHttpProviderwill invokeIOExceptionFilter.filter(com.ning.http.client.filter.FilterContext)and will use the returnedFilterContextto replay theRequestor abort the processing. - filter(FilterContext) - Method in class com.ning.http.client.resumable.ResumableIOExceptionFilter
- filter(FilterContext<T>) - Method in interface com.ning.http.client.filter.RequestFilter
-
An
AsyncHttpProviderwill invokeRequestFilter.filter(com.ning.http.client.filter.FilterContext<T>)and will use the returnedFilterContext.getRequest()andFilterContext.getAsyncHandler()to continue the request processing. - filter(FilterContext<T>) - Method in interface com.ning.http.client.filter.ResponseFilter
-
An
AsyncHttpProviderwill invokeResponseFilter.filter(com.ning.http.client.filter.FilterContext<T>)and will use the returnedFilterContext.replayRequest()andFilterContext.getAsyncHandler()to decide if the response processing can continue. - FilterContext<T> - Class in com.ning.http.client.filter
- FilterContext.FilterContextBuilder<T> - Class in com.ning.http.client.filter
- FilterContextBuilder() - Constructor for class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- FilterContextBuilder(FilterContext<T>) - Constructor for class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- FilterException - Exception in com.ning.http.client.filter
-
An exception that can be thrown by an
AsyncHandlerto interrupt invocation of theRequestFilterandResponseFilter. - FilterException(String) - Constructor for exception com.ning.http.client.filter.FilterException
- FilterException(String, Throwable) - Constructor for exception com.ning.http.client.filter.FilterException
- finalize() - Method in class com.ning.http.client.AsyncHttpClient
- FIXING - Enum constant in enum com.ning.http.util.UriEncoder
- FluentCaseInsensitiveStringsMap - Class in com.ning.http.client
-
An implementation of a
String -> List<String>map that adds a fluent interface, i.e. - FluentCaseInsensitiveStringsMap() - Constructor for class com.ning.http.client.FluentCaseInsensitiveStringsMap
- FluentCaseInsensitiveStringsMap(FluentCaseInsensitiveStringsMap) - Constructor for class com.ning.http.client.FluentCaseInsensitiveStringsMap
- FluentCaseInsensitiveStringsMap(Map<String, Collection<String>>) - Constructor for class com.ning.http.client.FluentCaseInsensitiveStringsMap
- FluentStringsMap - Class in com.ning.http.client
-
An implementation of a
String -> List<String>map that adds a fluent interface, i.e. - FluentStringsMap() - Constructor for class com.ning.http.client.FluentStringsMap
- FluentStringsMap(FluentStringsMap) - Constructor for class com.ning.http.client.FluentStringsMap
- FluentStringsMap(Map<String, Collection<String>>) - Constructor for class com.ning.http.client.FluentStringsMap
- flush() - Method in interface com.ning.http.client.providers.grizzly.FeedableBodyGenerator.Feeder
-
This method will be invoked when it's possible to begin feeding data downstream.
- flush() - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.NonBlockingFeeder
- followRedirect - Variable in class com.ning.http.client.AsyncHttpClientConfig
- followRedirect(AsyncHttpClientConfig, Request) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- FORM_DATA_DISPOSITION_TYPE_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
form-data as a byte array
- FORM_URL_ENCODED_SAFE_CHARS - Static variable in class com.ning.http.util.UTF8UrlEncoder
G
- generateFileEnd() - Method in class com.ning.http.client.multipart.AbstractFilePart
- generateFileStart(byte[]) - Method in class com.ning.http.client.multipart.AbstractFilePart
- generateNonce() - Method in class com.ning.http.client.oauth.OAuthSignatureCalculator
- generateSpnegoDERObject(byte[]) - Method in interface com.ning.http.client.spnego.SpnegoTokenGenerator
- generateTimestamp() - Method in class com.ning.http.client.oauth.OAuthSignatureCalculator
- generateToken(String) - Method in class com.ning.http.client.spnego.SpnegoEngine
- generateType1Msg() - Method in class com.ning.http.client.ntlm.NTLMEngine
-
Creates the first message (type 1 message) in the NTLM authentication sequence.
- generateType3Msg(String, String, String, String, String) - Method in class com.ning.http.client.ntlm.NTLMEngine
- get() - Static method in class com.ning.http.client.cookie.RFC2616DateParser
- get() - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- get() - Method in class com.ning.http.client.SimpleAsyncHttpClient
- get(long, TimeUnit) - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- get(BodyConsumer) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- get(BodyConsumer, ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- get(ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- get(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- get(Object) - Method in class com.ning.http.client.FluentStringsMap
- get(Object) - Method in class com.ning.http.client.simple.HeaderMap
- getAlgorithm() - Method in class com.ning.http.client.Realm
- getAlgorithm() - Method in class com.ning.http.client.Realm.RealmBuilder
- getAndSetNtlmAttempted(Connection) - Static method in class com.ning.http.client.providers.grizzly.Utils
- getAsapResponse() - Method in class com.ning.http.client.BodyDeferringAsyncHandler.BodyDeferringInputStream
-
Delegates to
BodyDeferringAsyncHandler.getResponse(). - getAsyncHandler() - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- getAsyncHandler() - Method in class com.ning.http.client.filter.FilterContext
-
Return the original or decorated
AsyncHandler - getAsyncHandler() - Method in class com.ning.http.client.providers.grizzly.HttpTransactionContext
- getAsyncHttpProviderConfig() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the
AsyncHttpProviderConfig - getAuthority(Uri) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- getBaseUrl(Uri) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- getBodyAsXML() - Method in class com.ning.http.client.webdav.WebDavResponse
- getBodyByteBuffer() - Method in class com.ning.http.client.HttpResponseBodyPart
-
Return a
ByteBufferthat wraps the actual bytes read from the response's chunk. - getBodyByteBuffer() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
- getBodyEncoding() - Method in interface com.ning.http.client.Request
-
Return the encoding value used when encoding the request's body.
- getBodyGenerator() - Method in interface com.ning.http.client.Request
-
Return the current request's body generator.
- getBodyPartBytes() - Method in class com.ning.http.client.HttpResponseBodyPart
-
Return the response body's part bytes received.
- getBodyPartBytes() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
- getBoolean(String, boolean) - Static method in class com.ning.http.util.MiscUtils
- getBoundary() - Method in class com.ning.http.client.multipart.MultipartBody
- getByteData() - Method in interface com.ning.http.client.Request
-
Return the current request's body as a byte array
- getBytes() - Method in class com.ning.http.client.multipart.ByteArrayPart
- getBytes(byte[]) - Method in class com.ning.http.client.multipart.StringPart
- getCharset() - Method in interface com.ning.http.client.multipart.Part
-
Return the character encoding of this part.
- getCharset() - Method in class com.ning.http.client.multipart.PartBase
- getCharset() - Method in class com.ning.http.client.ProxyServer
- getCharset() - Method in class com.ning.http.client.Realm
- getCharset() - Method in class com.ning.http.client.Realm.RealmBuilder
- getCnonce() - Method in class com.ning.http.client.Realm
- getCompositeByteData() - Method in interface com.ning.http.client.Request
- getConfig() - Method in class com.ning.http.client.AsyncHttpClient
-
Return the
AsyncHttpClientConfig - getConfig() - Method in class com.ning.http.client.HttpResponseStatus
- getConnection() - Method in class com.ning.http.client.providers.grizzly.events.SSLSwitchingEvent
- getConnectionPool() - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- getConnectionPoolPartitioning() - Method in interface com.ning.http.client.Request
- getConnectionTTL() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the maximum time in millisecond an
AsyncHttpClientwill keep connection in the pool, or -1 to keep connection while possible. - getConnectTimeout() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the maximum time in millisecond an
AsyncHttpClientcan wait when connecting to a remote host - getContentId() - Method in interface com.ning.http.client.multipart.Part
-
Return the content ID of this part.
- getContentId() - Method in class com.ning.http.client.multipart.PartBase
- getContentLength() - Method in interface com.ning.http.client.Body
-
Gets the length of the body.
- getContentLength() - Method in class com.ning.http.client.generators.ByteArrayBodyGenerator.ByteBody
- getContentLength() - Method in class com.ning.http.client.generators.FileBodyGenerator.FileBody
- getContentLength() - Method in class com.ning.http.client.generators.InputStreamBodyGenerator.ISBody
- getContentLength() - Method in class com.ning.http.client.multipart.MultipartBody
- getContentLength() - Method in interface com.ning.http.client.multipart.RequestEntity
-
Gets the request entity's length.
- getContentLength() - Method in interface com.ning.http.client.Request
-
Return the current size of the content-lenght header based on the body's size.
- getContentType() - Method in class com.ning.http.client.multipart.MultipartBody
- getContentType() - Method in interface com.ning.http.client.multipart.Part
-
Returns the content type of this part.
- getContentType() - Method in class com.ning.http.client.multipart.PartBase
- getContentType() - Method in interface com.ning.http.client.multipart.RequestEntity
-
Gets the entity's content type.
- getContentType() - Method in interface com.ning.http.client.Response
-
Return the content-type header value.
- getContentType() - Method in class com.ning.http.client.ResponseBase
- getContentType() - Method in class com.ning.http.client.webdav.WebDavResponse
- getContext() - Method in class com.ning.http.client.providers.grizzly.events.ContinueEvent
- getCookies() - Method in interface com.ning.http.client.Request
-
Return Coookie.
- getCookies() - Method in interface com.ning.http.client.Response
-
Return the list of
Cookie. - getCookies() - Method in class com.ning.http.client.ResponseBase
- getCookies() - Method in class com.ning.http.client.webdav.WebDavResponse
- getCount() - Method in class com.ning.http.client.multipart.CounterPartVisitor
- getDataLength() - Method in class com.ning.http.client.multipart.ByteArrayPart
- getDataLength() - Method in class com.ning.http.client.multipart.FilePart
- getDataLength() - Method in class com.ning.http.client.multipart.PartBase
- getDataLength() - Method in class com.ning.http.client.multipart.StringPart
-
Return the length of the data.
- getDefaultPort(Uri) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- getDispositionType() - Method in interface com.ning.http.client.multipart.Part
-
Gets the disposition-type to be used in Content-Disposition header
- getDispositionType() - Method in class com.ning.http.client.multipart.PartBase
- getDomain() - Method in class com.ning.http.client.cookie.Cookie
- getEnabledCipherSuites() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
since 1.9.0
- getEnabledProtocols() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
since 1.9.0
- getExpires() - Method in class com.ning.http.client.cookie.Cookie
-
Deprecated.
- getFile() - Method in class com.ning.http.client.generators.FileBodyGenerator
- getFile() - Method in class com.ning.http.client.multipart.FilePart
- getFile() - Method in interface com.ning.http.client.Request
-
Return the
Fileto upload. - getFileName() - Method in class com.ning.http.client.multipart.AbstractFilePart
- getFirstValue(String) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Returns the value for the given key.
- getFirstValue(String) - Method in class com.ning.http.client.FluentStringsMap
-
Returns the value for the given key.
- getFirstValue(String) - Method in class com.ning.http.client.simple.HeaderMap
- getFollowRedirect() - Method in interface com.ning.http.client.Request
-
Return follow redirect
- getFormParams() - Method in interface com.ning.http.client.Request
-
Return the current form parameters.
- getGrizzlyDelegate() - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- getGrizzlyWebSocket() - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- getHeader(String) - Method in interface com.ning.http.client.Response
-
Return the response header
- getHeader(String) - Method in class com.ning.http.client.ResponseBase
- getHeader(String) - Method in class com.ning.http.client.webdav.WebDavResponse
- getHeaders() - Method in class com.ning.http.client.HttpResponseHeaders
-
Return the HTTP header
- getHeaders() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseHeaders
- getHeaders() - Method in interface com.ning.http.client.Request
-
Return the current set of Headers.
- getHeaders() - Method in interface com.ning.http.client.Response
- getHeaders() - Method in class com.ning.http.client.ResponseBase
- getHeaders() - Method in class com.ning.http.client.webdav.WebDavResponse
- getHeaders(String) - Method in interface com.ning.http.client.Response
-
Return a
Listof the response header value. - getHeaders(String) - Method in class com.ning.http.client.ResponseBase
- getHeaders(String) - Method in class com.ning.http.client.webdav.WebDavResponse
- getHost() - Method in class com.ning.http.client.providers.grizzly.events.SSLSwitchingEvent
- getHost() - Method in class com.ning.http.client.ProxyServer
- getHost() - Method in class com.ning.http.client.uri.Uri
- getHostnameVerifier() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the
HostnameVerifier - getHttpHeaderForAuthScheme(List<String>, String) - Static method in class com.ning.http.util.AuthenticatorUtils
- getHttpTxContext() - Method in class com.ning.http.client.providers.grizzly.events.GracefulCloseEvent
- getInetAddress() - Method in interface com.ning.http.client.Request
-
Return the InetAddress to override
- getInputStream() - Method in class com.ning.http.client.generators.InputStreamBodyGenerator
- getInstance() - Static method in class com.ning.http.util.SslUtils
- getIOException() - Method in class com.ning.http.client.filter.FilterContext
-
Return the
IOException - getIOExceptionFilters() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the list of
IOException - getIoThreadMultiplier() - Method in class com.ning.http.client.AsyncHttpClientConfig
- getJdkDefaultProxyServerSelector() - Static method in class com.ning.http.util.ProxyUtils
-
Get a proxy server selector based on the JDK default proxy selector.
- getJoinedValue(String, String) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Returns the values for the given key joined into a single string using the given delimiter.
- getJoinedValue(String, String) - Method in class com.ning.http.client.FluentStringsMap
-
Returns the values for the given key joined into a single string using the given delimiter.
- getJoinedValue(String, String) - Method in class com.ning.http.client.simple.HeaderMap
- getKey() - Method in class com.ning.http.client.oauth.ConsumerKey
- getKey() - Method in class com.ning.http.client.oauth.RequestToken
- getLastResponse() - Method in class com.ning.http.client.BodyDeferringAsyncHandler.BodyDeferringInputStream
-
Delegates to
Futuremethod.#get() - getLengthOfParts(List<Part>, byte[]) - Static method in class com.ning.http.client.multipart.MultipartUtils
- getLocalAddress() - Method in interface com.ning.http.client.Request
- getMaxAge() - Method in class com.ning.http.client.cookie.Cookie
- getMaxConnections() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the maximum number of connections an
AsyncHttpClientcan handle. - getMaxConnectionsPerHost() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the maximum number of connections per hosts an
AsyncHttpClientcan handle. - getMaxRedirects() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Get the maximum number of HTTP redirect
- getMaxRequestHeaders() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
since 1.14-MULE-021
- getMaxRequestRetry() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the number of time the library will retry when an
IOExceptionis throw by the remote server - getMessageEnd(byte[]) - Static method in class com.ning.http.client.multipart.MultipartUtils
- getMethod() - Method in interface com.ning.http.client.Request
-
Return the request's method name (GET, POST, etc.)
- getMethodName() - Method in class com.ning.http.client.Realm
- getMethodName() - Method in class com.ning.http.client.Realm.RealmBuilder
- getName() - Method in class com.ning.http.client.cookie.Cookie
- getName() - Method in interface com.ning.http.client.multipart.Part
-
Return the name of this part.
- getName() - Method in class com.ning.http.client.multipart.PartBase
- getName() - Method in class com.ning.http.client.Param
- getNameResolver() - Method in interface com.ning.http.client.Request
- getNc() - Method in class com.ning.http.client.Realm
- getNc() - Method in class com.ning.http.client.Realm.RealmBuilder
- getNonce() - Method in class com.ning.http.client.Realm
- getNonce() - Method in class com.ning.http.client.Realm.RealmBuilder
- getNonEmptyPath(Uri) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
-
Convenient for HTTP layer when targeting server root
- getNonProxyHosts() - Method in class com.ning.http.client.ProxyServer
- getNTLM(List<String>) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- getNtlmAvoidSendPayloadOnType1() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
since 1.14-MULE-029
- getNtlmDomain() - Method in class com.ning.http.client.ProxyServer
- getNtlmDomain() - Method in class com.ning.http.client.Realm
-
Return the NTLM domain to use.
- getNtlmDomain() - Method in class com.ning.http.client.Realm.RealmBuilder
- getNtlmHost() - Method in class com.ning.http.client.ProxyServer
- getNtlmHost() - Method in class com.ning.http.client.Realm
-
Return the NTLM host.
- getNtlmHost() - Method in class com.ning.http.client.Realm.RealmBuilder
- getOpaque() - Method in class com.ning.http.client.Realm
- getOpaque() - Method in class com.ning.http.client.Realm.RealmBuilder
- getOutputStream() - Method in class com.ning.http.client.multipart.OutputStreamPartVisitor
- getPartitionKey(Uri, ProxyServer) - Method in interface com.ning.http.client.ConnectionPoolPartitioning
- getPartitionKey(Uri, ProxyServer) - Method in enum com.ning.http.client.ConnectionPoolPartitioning.PerHostConnectionPoolPartitioning
- getParts() - Method in interface com.ning.http.client.Request
-
Return the current
Parts - getPassword() - Method in class com.ning.http.client.ProxyServer
- getPassword() - Method in class com.ning.http.client.Realm
- getPassword() - Method in class com.ning.http.client.Realm.RealmBuilder
- getPath() - Method in class com.ning.http.client.cookie.Cookie
- getPath() - Method in class com.ning.http.client.uri.Uri
- getPauseHandler() - Method in class com.ning.http.client.HttpResponseBodyPart
-
Retrieves a
PauseHandlerto pause/resume event processing. - getPauseHandler() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
- getPooledConnectionIdleTimeout() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the maximum time in millisecond an
AsyncHttpClientwill keep connection in pool. - getPort() - Method in class com.ning.http.client.providers.grizzly.events.SSLSwitchingEvent
- getPort() - Method in class com.ning.http.client.ProxyServer
- getPort() - Method in class com.ning.http.client.uri.Uri
- getPrincipal() - Method in class com.ning.http.client.ProxyServer
- getPrincipal() - Method in class com.ning.http.client.Realm
- getPrincipal() - Method in class com.ning.http.client.Realm.RealmBuilder
- getProperty(GrizzlyAsyncHttpProviderConfig.Property) - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- getProperty(U) - Method in interface com.ning.http.client.AsyncHttpProviderConfig
-
Return the value associated with the property's name
- getProtocol() - Method in class com.ning.http.client.ProxyServer
- getProtocol() - Method in enum com.ning.http.client.ProxyServer.Protocol
- getProtocolMajorVersion() - Method in class com.ning.http.client.HttpResponseStatus
-
Protocol major version.
- getProtocolMajorVersion() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseStatus
- getProtocolMinorVersion() - Method in class com.ning.http.client.HttpResponseStatus
-
Protocol minor version.
- getProtocolMinorVersion() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseStatus
- getProtocolName() - Method in class com.ning.http.client.HttpResponseStatus
-
Protocol name from status line.
- getProtocolName() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseStatus
- getProtocolText() - Method in class com.ning.http.client.HttpResponseStatus
-
Full protocol name + version
- getProtocolText() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseStatus
- getProvider() - Method in class com.ning.http.client.AsyncHttpClient
-
Return the asynchronous
AsyncHttpProvider - getProxyServer() - Method in interface com.ning.http.client.Request
-
Return the
ProxyServer - getProxyServer(AsyncHttpClientConfig, Request) - Static method in class com.ning.http.util.ProxyUtils
- getProxyServerSelector() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
An instance of
ProxyServerused by anAsyncHttpClient - getQop() - Method in class com.ning.http.client.Realm
- getQop() - Method in class com.ning.http.client.Realm.RealmBuilder
- getQuery() - Method in class com.ning.http.client.uri.Uri
- getQueryParams() - Method in interface com.ning.http.client.Request
-
Return the query params.
- getRangeOffset() - Method in interface com.ning.http.client.Request
-
Return the HTTP Range header value, or
- getReadTimeout() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the maximum time in millisecond an
AsyncHttpClientcan stay idle. - getRealm() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the current
Realm} - getRealm() - Method in interface com.ning.http.client.Request
-
Return the
Realm - getRealmName() - Method in class com.ning.http.client.Realm
- getRealmName() - Method in class com.ning.http.client.Realm.RealmBuilder
- getRegionLength() - Method in class com.ning.http.client.generators.FileBodyGenerator
- getRegionSeek() - Method in class com.ning.http.client.generators.FileBodyGenerator
- getRequest() - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- getRequest() - Method in class com.ning.http.client.filter.FilterContext
-
Return the original or decorated
Request - getRequestFilters() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the list of
RequestFilter - getRequestTimeout() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the maximum time in millisecond an
AsyncHttpClientwaits until the response is completed. - getRequestTimeout() - Method in interface com.ning.http.client.Request
-
Overrides the config default value
- getResponse() - Method in class com.ning.http.client.BodyDeferringAsyncHandler
-
This method -- unlike Future
.get() -- will block only as long, as headers arrive. - getResponse() - Method in class com.ning.http.client.Realm
- getResponse() - Method in class com.ning.http.client.Realm.RealmBuilder
- getResponseBody() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponse
- getResponseBody() - Method in interface com.ning.http.client.Response
-
Return the entire response body as a String.
- getResponseBody() - Method in class com.ning.http.client.webdav.WebDavResponse
- getResponseBody(String) - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponse
- getResponseBody(String) - Method in interface com.ning.http.client.Response
-
Return the entire response body as a String.
- getResponseBody(String) - Method in class com.ning.http.client.webdav.WebDavResponse
- getResponseBodyAsByteBuffer() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponse
- getResponseBodyAsByteBuffer() - Method in interface com.ning.http.client.Response
-
Return the entire response body as a ByteBuffer.
- getResponseBodyAsByteBuffer() - Method in class com.ning.http.client.webdav.WebDavResponse
- getResponseBodyAsBytes() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponse
- getResponseBodyAsBytes() - Method in interface com.ning.http.client.Response
-
Return the entire response body as a byte[].
- getResponseBodyAsBytes() - Method in class com.ning.http.client.webdav.WebDavResponse
- getResponseBodyAsStream() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponse
- getResponseBodyAsStream() - Method in interface com.ning.http.client.Response
-
Returns an input stream for the response body.
- getResponseBodyAsStream() - Method in class com.ning.http.client.webdav.WebDavResponse
- getResponseBodyExcerpt(int) - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponse
- getResponseBodyExcerpt(int) - Method in interface com.ning.http.client.Response
-
Returns the first maxLength bytes of the response body as a string.
- getResponseBodyExcerpt(int) - Method in class com.ning.http.client.webdav.WebDavResponse
- getResponseBodyExcerpt(int, String) - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponse
- getResponseBodyExcerpt(int, String) - Method in interface com.ning.http.client.Response
-
Returns the first maxLength bytes of the response body as a string.
- getResponseBodyExcerpt(int, String) - Method in class com.ning.http.client.webdav.WebDavResponse
- getResponseFilters() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the list of
ResponseFilter - getResponseHeaders() - Method in class com.ning.http.client.filter.FilterContext
-
Return the response
HttpResponseHeaders - getResponseStatus() - Method in class com.ning.http.client.filter.FilterContext
-
Return the unprocessed response's
HttpResponseStatus - getScheme() - Method in class com.ning.http.client.ProxyServer
- getScheme() - Method in class com.ning.http.client.Realm
- getScheme() - Method in class com.ning.http.client.Realm.RealmBuilder
- getScheme() - Method in class com.ning.http.client.uri.Uri
- getSchemeDefaultPort(String) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- getSecret() - Method in class com.ning.http.client.oauth.ConsumerKey
- getSecret() - Method in class com.ning.http.client.oauth.RequestToken
- getSSLContext() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return an instance of
SSLContextused for SSL connection. - getSSLContext(AsyncHttpClientConfig) - Method in class com.ning.http.util.SslUtils
- getSslEngineFactory() - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- getSslSessionCacheSize() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
since 1.9.13
- getSslSessionTimeout() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
since 1.9.13
- getStalledTime() - Method in class com.ning.http.client.multipart.AbstractFilePart
- getStatus() - Method in exception com.ning.http.client.ws.BadStatusCodeException
- getStatusCode() - Method in class com.ning.http.client.HttpResponseStatus
-
Return the response status code
- getStatusCode() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseStatus
- getStatusCode() - Method in interface com.ning.http.client.Response
-
Returns the status code for the request.
- getStatusCode() - Method in class com.ning.http.client.ResponseBase
- getStatusCode() - Method in class com.ning.http.client.webdav.WebDavResponse
- getStatusText() - Method in class com.ning.http.client.HttpResponseStatus
-
Return the response status text
- getStatusText() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseStatus
- getStatusText() - Method in interface com.ning.http.client.Response
-
Returns the status text for the request.
- getStatusText() - Method in class com.ning.http.client.ResponseBase
- getStatusText() - Method in class com.ning.http.client.webdav.WebDavResponse
- getStreamData() - Method in interface com.ning.http.client.Request
-
Return the current request's body as an InputStream
- getStringData() - Method in interface com.ning.http.client.Request
-
Return the current request's body as a string
- getTransferEncoding() - Method in interface com.ning.http.client.multipart.Part
-
Return the transfer encoding of this part.
- getTransferEncoding() - Method in class com.ning.http.client.multipart.PartBase
- getTransferredBytes() - Method in class com.ning.http.client.consumers.FileBodyConsumer
- getTransferredBytes() - Method in interface com.ning.http.client.ResumableBodyConsumer
-
Get the previously transferred bytes, for example the current file size.
- getUri() - Method in class com.ning.http.client.HttpResponseStatus
-
Return the request
Uri - getUri() - Method in class com.ning.http.client.Realm
- getUri() - Method in class com.ning.http.client.Realm.RealmBuilder
- getUri() - Method in interface com.ning.http.client.Request
- getUri() - Method in interface com.ning.http.client.Response
-
Return the request
Uri. - getUri() - Method in class com.ning.http.client.ResponseBase
- getUri() - Method in class com.ning.http.client.webdav.WebDavResponse
- getUrl() - Method in class com.ning.http.client.ProxyServer
- getUrl() - Method in interface com.ning.http.client.Request
- getUsePreemptiveAuth() - Method in class com.ning.http.client.Realm
-
Return true is preemptive authentication is enabled
- getUsePreemptiveAuth() - Method in class com.ning.http.client.Realm.RealmBuilder
- getUserAgent() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the USER_AGENT header value
- getUserInfo() - Method in class com.ning.http.client.uri.Uri
- getValue() - Method in class com.ning.http.client.cookie.Cookie
- getValue() - Method in class com.ning.http.client.multipart.StringPart
- getValue() - Method in class com.ning.http.client.Param
- getVirtualHost() - Method in interface com.ning.http.client.Request
-
Return the virtual host value.
- getWebSocketTimeout() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return the maximum time, in milliseconds, a
WebSocketmay be idle before being timed out. - GracefulCloseEvent - Class in com.ning.http.client.providers.grizzly.events
-
FilterChainEventto gracefully complete the request-response processing whenConnectionis getting closed by the remote host. - GracefulCloseEvent(HttpTransactionContext) - Constructor for class com.ning.http.client.providers.grizzly.events.GracefulCloseEvent
- GrizzlyAsyncHttpProvider - Class in com.ning.http.client.providers.grizzly
-
A Grizzly 2.0-based implementation of
AsyncHttpProvider. - GrizzlyAsyncHttpProvider(AsyncHttpClientConfig) - Constructor for class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider
- GrizzlyAsyncHttpProviderConfig - Class in com.ning.http.client.providers.grizzly
-
AsyncHttpProviderConfigimplementation that allows customization of the Grizzly runtime outside of the scope of what theAsyncHttpClientConfigoffers. - GrizzlyAsyncHttpProviderConfig() - Constructor for class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- GrizzlyAsyncHttpProviderConfig.Property - Enum in com.ning.http.client.providers.grizzly
-
Grizzly-specific customization properties.
- GrizzlyResponse - Class in com.ning.http.client.providers.grizzly
-
HttpResponseBodyPartimplementation using the Grizzly 2.0 HTTP client codec. - GrizzlyResponse(HttpResponsePacket, HttpResponseStatus, HttpResponseHeaders, List<HttpResponseBodyPart>) - Constructor for class com.ning.http.client.providers.grizzly.GrizzlyResponse
- GrizzlyResponseBodyPart - Class in com.ning.http.client.providers.grizzly
-
HttpResponseBodyPartimplementation using the Grizzly 2.0 HTTP client codec. - GrizzlyResponseBodyPart(HttpContent, Connection) - Constructor for class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
-
Deprecated.
- GrizzlyResponseBodyPart(HttpContent, FilterChainContext) - Constructor for class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
- GrizzlyResponseHeaders - Class in com.ning.http.client.providers.grizzly
-
HttpResponseHeadersimplementation using the Grizzly 2.0 HTTP client codec. - GrizzlyResponseHeaders(HttpResponsePacket) - Constructor for class com.ning.http.client.providers.grizzly.GrizzlyResponseHeaders
- GrizzlyResponseStatus - Class in com.ning.http.client.providers.grizzly
-
HttpResponseStatusimplementation using the Grizzly 2.0 HTTP client codec. - GrizzlyResponseStatus(HttpResponsePacket, Uri, AsyncHttpClientConfig) - Constructor for class com.ning.http.client.providers.grizzly.GrizzlyResponseStatus
- GrizzlyWebSocketAdapter - Class in com.ning.http.client.providers.grizzly.websocket
-
Grizzly AHC
WebSocketadapter.
H
- hasExpired() - Method in class com.ning.http.client.cookie.Cookie
- hashCode() - Method in class com.ning.http.client.ConnectionPoolPartitioning.ProxyPartitionKey
- hashCode() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- hashCode() - Method in class com.ning.http.client.FluentStringsMap
- hashCode() - Method in class com.ning.http.client.oauth.ConsumerKey
- hashCode() - Method in class com.ning.http.client.oauth.RequestToken
- hashCode() - Method in class com.ning.http.client.Param
- hashCode() - Method in class com.ning.http.client.Realm
- hashCode() - Method in class com.ning.http.client.uri.Uri
- hasResponseBody() - Method in interface com.ning.http.client.Response
-
Return true if the response's body has been computed by an
AsyncHandler. - hasResponseBody() - Method in class com.ning.http.client.ResponseBase
- hasResponseBody() - Method in class com.ning.http.client.webdav.WebDavResponse
- hasResponseHeaders() - Method in interface com.ning.http.client.Response
-
Return true if the response's headers has been computed by an
AsyncHandlerIt will return false if the eitherAsyncHandler.onStatusReceived(HttpResponseStatus)orAsyncHandler.onHeadersReceived(HttpResponseHeaders)returnedAsyncHandler.STATE.ABORT - hasResponseHeaders() - Method in class com.ning.http.client.ResponseBase
- hasResponseHeaders() - Method in class com.ning.http.client.webdav.WebDavResponse
- hasResponseStatus() - Method in interface com.ning.http.client.Response
-
Return true if the response's status has been computed by an
AsyncHandler - hasResponseStatus() - Method in class com.ning.http.client.ResponseBase
- hasResponseStatus() - Method in class com.ning.http.client.webdav.WebDavResponse
- head() - Method in class com.ning.http.client.SimpleAsyncHttpClient
- head(ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- HEADER_AUTHORIZATION - Static variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
- HeaderMap - Class in com.ning.http.client.simple
-
A map containing headers with the sole purpose of being given to
SimpleAHCTransferListener#onHeaders(String, HeaderMap). - HeaderMap(FluentCaseInsensitiveStringsMap) - Constructor for class com.ning.http.client.simple.HeaderMap
- headers - Variable in class com.ning.http.client.ResponseBase
- headers(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.listener.TransferCompletionHandler
-
Set headers to this listener.
- HEADERS_CHARSET - Static variable in class com.ning.http.client.multipart.PartBase
- HostnameChecker - Interface in com.ning.http.util
-
Hostname checker interface.
- hostnameVerifier - Variable in class com.ning.http.client.AsyncHttpClientConfig
- HTTP - Enum constant in enum com.ning.http.client.ProxyServer.Protocol
- HTTP - Static variable in class com.ning.http.util.AsyncHttpProviderUtils
- HttpResponseBodyPart - Class in com.ning.http.client
-
A callback class used when an HTTP response body is received.
- HttpResponseBodyPart(boolean) - Constructor for class com.ning.http.client.HttpResponseBodyPart
- HttpResponseBodyPartsInputStream - Class in com.ning.http.client
-
An
InputStreamthat reads all the elements in an array ofHttpResponseBodyParts. - HttpResponseBodyPartsInputStream(List<HttpResponseBodyPart>) - Constructor for class com.ning.http.client.HttpResponseBodyPartsInputStream
- HttpResponseHeaders - Class in com.ning.http.client
-
A class that represent the HTTP headers.
- HttpResponseHeaders() - Constructor for class com.ning.http.client.HttpResponseHeaders
- HttpResponseHeaders(boolean) - Constructor for class com.ning.http.client.HttpResponseHeaders
- HttpResponseStatus - Class in com.ning.http.client
-
A class that represent the HTTP response' status line (code + text)
- HttpResponseStatus(Uri, AsyncHttpClientConfig) - Constructor for class com.ning.http.client.HttpResponseStatus
- HTTPS - Enum constant in enum com.ning.http.client.ProxyServer.Protocol
- HTTPS - Static variable in class com.ning.http.util.AsyncHttpProviderUtils
- HttpTransactionContext - Class in com.ning.http.client.providers.grizzly
I
- initializeTransport(AsyncHttpClientConfig) - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider
- inputStream - Variable in class com.ning.http.client.generators.InputStreamBodyGenerator
- InputStreamBodyGenerator - Class in com.ning.http.client.generators
-
A
BodyGeneratorwhich use anInputStreamfor reading bytes, without having to read the entire stream in memory. - InputStreamBodyGenerator(InputStream) - Constructor for class com.ning.http.client.generators.InputStreamBodyGenerator
- InputStreamBodyGenerator.ISBody - Class in com.ning.http.client.generators
- INSTANCE - Enum constant in enum com.ning.http.client.ConnectionPoolPartitioning.PerHostConnectionPoolPartitioning
- INSTANCE - Enum constant in enum com.ning.http.client.NameResolver.JdkNameResolver
- INSTANCE - Static variable in class com.ning.http.client.ntlm.NTLMEngine
- INSTANCE - Static variable in class com.ning.http.client.spnego.SpnegoEngine
- ioException(IOException) - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- IOExceptionFilter - Interface in com.ning.http.client.filter
-
This filter is invoked when an
IOExceptionoccurs during an http transaction. - ioExceptionFilters - Variable in class com.ning.http.client.AsyncHttpClientConfig
- ioThreadMultiplier - Variable in class com.ning.http.client.AsyncHttpClientConfig
- isAcceptAnyCertificate() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
since 1.9.0
- isAllowPoolingConnections() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Is pooling connections enabled.
- isAllowPoolingSslConnections() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Return true is SSL connection polling is enabled.
- ISBody() - Constructor for class com.ning.http.client.generators.InputStreamBodyGenerator.ISBody
- isCancelled() - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- isClosed() - Method in class com.ning.http.client.AsyncHttpClient
-
Return true if closed
- isCompressionEnforced() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Is HTTP compression enforced.
- isDisableUrlEncodingForBoundedRequests() - Method in class com.ning.http.client.AsyncHttpClientConfig
- isDone() - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- isDone() - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.NonBlockingFeeder
- isDone() - Method in class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- isEmpty() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- isEmpty() - Method in class com.ning.http.client.FluentStringsMap
- isEmpty() - Method in class com.ning.http.client.simple.HeaderMap
- isFailed() - Method in class com.ning.http.client.multipart.FilePartStallHandler
- isFollowRedirect() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
Is HTTP redirect enabled
- isForceHttp10() - Method in class com.ning.http.client.ProxyServer
- isHttpOnly() - Method in class com.ning.http.client.cookie.Cookie
- isLast() - Method in class com.ning.http.client.HttpResponseBodyPart
-
Return true if this is the last part.
- isLast() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
- isNonEmpty(byte[]) - Static method in class com.ning.http.util.MiscUtils
- isNonEmpty(Object[]) - Static method in class com.ning.http.util.MiscUtils
- isNonEmpty(String) - Static method in class com.ning.http.util.MiscUtils
- isNonEmpty(Collection<?>) - Static method in class com.ning.http.util.MiscUtils
- isNonEmpty(Map<?, ?>) - Static method in class com.ning.http.util.MiscUtils
- isNtlmEstablished(Connection) - Static method in class com.ning.http.client.providers.grizzly.Utils
- isOmitQuery() - Method in class com.ning.http.client.Realm
- isOmitQuery() - Method in class com.ning.http.client.Realm.RealmBuilder
- isOpen() - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- isOpen() - Method in interface com.ning.http.client.ws.WebSocket
-
Returns
trueif the WebSocket is open/connected. - isReady() - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.NonBlockingFeeder
- isReady() - Method in class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- isRedirected() - Method in interface com.ning.http.client.Response
-
Return true if the response redirects to another object.
- isRedirected() - Method in class com.ning.http.client.ResponseBase
- isRedirected() - Method in class com.ning.http.client.webdav.WebDavResponse
- isSameHostAndProtocol(Uri, Uri) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- isSecure() - Method in class com.ning.http.client.cookie.Cookie
- isSecure() - Method in class com.ning.http.client.providers.grizzly.events.SSLSwitchingEvent
- isSecure(Uri) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- isSecure(String) - Static method in class com.ning.http.client.providers.grizzly.Utils
- isSecure(String) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- isStrict302Handling() - Method in class com.ning.http.client.AsyncHttpClientConfig
-
In the case of a POST/Redirect/Get scenario where the server uses a 302 for the redirect, should AHC respond to the redirect with a GET or whatever the original method was.
- isTargetProxy() - Method in class com.ning.http.client.Realm
- isTargetProxy() - Method in class com.ning.http.client.Realm.RealmBuilder
- isTraillingHeadersReceived() - Method in class com.ning.http.client.HttpResponseHeaders
-
Return true is headers has been received after the response body.
- isUnderlyingConnectionToBeClosed() - Method in class com.ning.http.client.HttpResponseBodyPart
-
Return true of the underlying connection will be closed once the response has been fully processed.
- isUnderlyingConnectionToBeClosed() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
- isUseAbsoluteURI() - Method in class com.ning.http.client.Realm
- isUseAbsoluteURI() - Method in class com.ning.http.client.Realm.RealmBuilder
- isUseRelativeURIsWithConnectProxies() - Method in class com.ning.http.client.AsyncHttpClientConfig
- isValid() - Method in class com.ning.http.client.AsyncHttpClientConfig
- isWebSocket(String) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- isWrap() - Method in class com.ning.http.client.cookie.Cookie
- iterator() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- iterator() - Method in class com.ning.http.client.FluentStringsMap
K
- KERBEROS - Enum constant in enum com.ning.http.client.ProxyServer.Protocol
- KERBEROS - Enum constant in enum com.ning.http.client.Realm.AuthScheme
- keySet() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- keySet() - Method in class com.ning.http.client.FluentStringsMap
- keySet() - Method in class com.ning.http.client.simple.HeaderMap
L
- length - Variable in class com.ning.http.util.StringCharSequence
- length() - Method in class com.ning.http.client.extra.ResumableRandomAccessFileListener
- length() - Method in class com.ning.http.client.HttpResponseBodyPart
-
Return length of this part in bytes.
- length() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
- length() - Method in interface com.ning.http.client.resumable.ResumableListener
-
Return the length of previously downloaded bytes.
- length() - Method in class com.ning.http.util.StringCharSequence
- length(byte[]) - Method in interface com.ning.http.client.multipart.Part
-
Return the full length of all the data.
- length(byte[]) - Method in class com.ning.http.client.multipart.PartBase
-
Return the full length of all the data.
- ListenableFuture<V> - Interface in com.ning.http.client
-
Extended
Future - ListenableFuture.CompletedFailure<T> - Class in com.ning.http.client
- ListenableFutureAdapter - Class in com.ning.http.client.extra
- ListenableFutureAdapter() - Constructor for class com.ning.http.client.extra.ListenableFutureAdapter
- load() - Method in class com.ning.http.client.resumable.PropertiesBasedResumableProcessor
- load() - Method in interface com.ning.http.client.resumable.ResumableAsyncHandler.ResumableProcessor
-
Load the
Mapin memory, contains information about the transferred bytes.
M
- mac - Variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
- main(String[]) - Static method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProvider
- markUnderlyingConnectionAsToBeClosed() - Method in class com.ning.http.client.HttpResponseBodyPart
-
Close the underlying connection once the processing has completed.
- markUnderlyingConnectionAsToBeClosed() - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
- match(String, X509Certificate) - Method in interface com.ning.http.util.HostnameChecker
- match(String, X509Certificate) - Method in class com.ning.http.util.ProxyHostnameChecker
- match(String, Principal) - Method in interface com.ning.http.util.HostnameChecker
- match(String, Principal) - Method in class com.ning.http.util.ProxyHostnameChecker
- MAX_HTTP_PACKET_HEADER_SIZE - Enum constant in enum com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig.Property
-
Defines the maximum HTTP packet header size.
- maxConnections - Variable in class com.ning.http.client.AsyncHttpClientConfig
- maxConnectionsPerHost - Variable in class com.ning.http.client.AsyncHttpClientConfig
- MaxRedirectException - Exception in com.ning.http.client
-
Thrown when the
AsyncHttpClientConfig.getMaxRedirects()has been reached. - MaxRedirectException() - Constructor for exception com.ning.http.client.MaxRedirectException
- MaxRedirectException(String) - Constructor for exception com.ning.http.client.MaxRedirectException
- maxRedirects - Variable in class com.ning.http.client.AsyncHttpClientConfig
- maxRequestHeaders - Variable in class com.ning.http.client.AsyncHttpClientConfig
- maxRequestRetry - Variable in class com.ning.http.client.AsyncHttpClientConfig
- MDC_ATTRIBUTE_KEY - Static variable in class com.ning.http.client.providers.grizzly.HttpTransactionContext
- millisTime() - Static method in class com.ning.http.util.DateUtils
- MiscUtils - Class in com.ning.http.util
- MultipartBody - Class in com.ning.http.client.multipart
- MultipartBody(List<Part>, String, long, byte[]) - Constructor for class com.ning.http.client.multipart.MultipartBody
- MultipartUtils - Class in com.ning.http.client.multipart
N
- NAME_BYTES - Static variable in interface com.ning.http.client.multipart.Part
-
name as a byte array
- NameResolver - Interface in com.ning.http.client
- NameResolver.JdkNameResolver - Enum in com.ning.http.client
- newInstance(AsyncHttpProviderConfig<?, ?>, ProtocolHandler) - Static method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
-
Create new GrizzlyWebSocketAdapter instance.
- newMultipartBody(List<Part>, FluentCaseInsensitiveStringsMap) - Static method in class com.ning.http.client.multipart.MultipartUtils
-
Creates a new multipart entity containing the given parts.
- newSSLEngine(String, int) - Method in class com.ning.http.client.SSLEngineFactory.DefaultSSLEngineFactory
- newSSLEngine(String, int) - Method in interface com.ning.http.client.SSLEngineFactory
-
Creates new
SSLEngine. - newValidCookie(String, String, boolean, String, String, int, long, boolean, boolean) - Static method in class com.ning.http.client.cookie.Cookie
-
Deprecated.
- newValidCookie(String, String, boolean, String, String, long, boolean, boolean) - Static method in class com.ning.http.client.cookie.Cookie
- NO_PROXY_SELECTOR - Static variable in interface com.ning.http.client.ProxyServerSelector
-
A selector that always selects no proxy.
- NonBlockingFeeder(FeedableBodyGenerator) - Constructor for class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.NonBlockingFeeder
-
Constructs the
NonBlockingFeederwith the associatedFeedableBodyGenerator. - NonBlockingInputStreamFeeder - Class in com.ning.http.client.providers.grizzly
- NonBlockingInputStreamFeeder(FeedableBodyGenerator, InputStream) - Constructor for class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- NonBlockingInputStreamFeeder(FeedableBodyGenerator, InputStream, int) - Constructor for class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- NONCE_BUFFER - Static variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
- NONE - Enum constant in enum com.ning.http.client.Realm.AuthScheme
- notifyReadyToFeed(FeedableBodyGenerator.NonBlockingFeeder.ReadyToFeedListener) - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.NonBlockingFeeder
-
Callback registration to signal the
FeedableBodyGeneratorthat data is available once again to continue feeding. - notifyReadyToFeed(FeedableBodyGenerator.NonBlockingFeeder.ReadyToFeedListener) - Method in class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- NTLM - Enum constant in enum com.ning.http.client.ProxyServer.Protocol
- NTLM - Enum constant in enum com.ning.http.client.Realm.AuthScheme
- ntlmAvoidSendPayloadOnType1 - Variable in class com.ning.http.client.AsyncHttpClientConfig
- NTLMEngine - Class in com.ning.http.client.ntlm
-
Provides an implementation for NTLMv1, NTLMv2, and NTLM2 Session forms of the NTLM authentication protocol.
- NTLMEngine() - Constructor for class com.ning.http.client.ntlm.NTLMEngine
- NTLMEngineException - Exception in com.ning.http.client.ntlm
-
Signals NTLM protocol failure.
- NTLMEngineException() - Constructor for exception com.ning.http.client.ntlm.NTLMEngineException
- NTLMEngineException(String) - Constructor for exception com.ning.http.client.ntlm.NTLMEngineException
-
Creates a new NTLMEngineException with the specified message.
- NTLMEngineException(String, Throwable) - Constructor for exception com.ning.http.client.ntlm.NTLMEngineException
-
Creates a new NTLMEngineException with the specified detail message and cause.
O
- OAuthSignatureCalculator - Class in com.ning.http.client.oauth
-
Simple OAuth signature calculator that can used for constructing client signatures for accessing services that use OAuth for authorization.
- OAuthSignatureCalculator(ConsumerKey, RequestToken) - Constructor for class com.ning.http.client.oauth.OAuthSignatureCalculator
- OMIT - Enum constant in enum com.ning.http.client.SimpleAsyncHttpClient.ErrorDocumentBehaviour
-
Omit error documents.
- onAllBytesReceived() - Method in class com.ning.http.client.extra.ResumableRandomAccessFileListener
- onAllBytesReceived() - Method in interface com.ning.http.client.resumable.ResumableListener
-
Invoked when all the bytes has been sucessfully transferred.
- onBodyPartReceived(HttpResponseBodyPart) - Method in class com.ning.http.client.AsyncCompletionHandler
- onBodyPartReceived(HttpResponseBodyPart) - Method in interface com.ning.http.client.AsyncHandler
-
Invoked as soon as some response body part are received.
- onBodyPartReceived(HttpResponseBodyPart) - Method in class com.ning.http.client.BodyDeferringAsyncHandler
- onBodyPartReceived(HttpResponseBodyPart) - Method in class com.ning.http.client.listener.TransferCompletionHandler
- onBodyPartReceived(HttpResponseBodyPart) - Method in class com.ning.http.client.resumable.ResumableAsyncHandler
- onBodyPartReceived(HttpResponseBodyPart) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
- onBodyPartReceived(HttpResponseBodyPart) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- onBytesReceived(byte[]) - Method in interface com.ning.http.client.listener.TransferListener
-
Invoked every time response's chunk are received.
- onBytesReceived(Uri, long, long, long) - Method in interface com.ning.http.client.simple.SimpleAHCTransferListener
-
This method is called when bytes of the responses body are received.
- onBytesReceived(ByteBuffer) - Method in class com.ning.http.client.extra.ResumableRandomAccessFileListener
-
This method uses the last valid bytes written on disk to position a
RandomAccessFile, allowing resumable file download. - onBytesReceived(ByteBuffer) - Method in interface com.ning.http.client.resumable.ResumableListener
-
Invoked when some bytes are available to digest.
- onBytesSent(long, long, long) - Method in interface com.ning.http.client.listener.TransferListener
-
Invoked every time request's chunk are sent.
- onBytesSent(Uri, long, long, long) - Method in interface com.ning.http.client.simple.SimpleAHCTransferListener
-
This method is called when bytes are sent.
- onClose(WebSocket) - Method in class com.ning.http.client.ws.DefaultWebSocketListener
- onClose(WebSocket) - Method in interface com.ning.http.client.ws.WebSocketListener
-
Invoked when the
WebSocketis close. - onClose(WebSocket, int, String) - Method in interface com.ning.http.client.ws.WebSocketCloseCodeReasonListener
-
Invoked when the
WebSocketis close. - onClose(WebSocket, int, String) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- onCompleted() - Method in class com.ning.http.client.AsyncCompletionHandler
- onCompleted() - Method in interface com.ning.http.client.AsyncHandler
-
Invoked once the HTTP response processing is finished.
- onCompleted() - Method in class com.ning.http.client.BodyDeferringAsyncHandler
- onCompleted() - Method in class com.ning.http.client.resumable.ResumableAsyncHandler
- onCompleted() - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
- onCompleted() - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- onCompleted(Response) - Method in class com.ning.http.client.AsyncCompletionHandler
-
Invoked once the HTTP response processing is finished.
- onCompleted(Response) - Method in class com.ning.http.client.AsyncCompletionHandlerBase
- onCompleted(Response) - Method in class com.ning.http.client.listener.TransferCompletionHandler
- onCompleted(Uri, int, String) - Method in interface com.ning.http.client.simple.SimpleAHCTransferListener
-
This method is called when the request is completed.
- onCompleted(WebDavResponse) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
-
Invoked once the HTTP response has been fully read.
- onConnectionOpen() - Method in interface com.ning.http.client.AsyncHandlerExtensions
-
Notify the callback when a new connection was successfully opened.
- onConnectionPooled() - Method in interface com.ning.http.client.AsyncHandlerExtensions
-
Notify the callback when a new connection was successfully fetched from the pool.
- onContentWriteCompleted() - Method in class com.ning.http.client.AsyncCompletionHandler
-
Invoked when the content (a
File,StringorFileInputStreamhas been fully written on the I/O socket. - onContentWriteCompleted() - Method in interface com.ning.http.client.ProgressAsyncHandler
-
Invoked when the content (a
File,StringorFileInputStreamhas been fully written on the I/O socket. - onContentWriteProgress(long, long, long) - Method in class com.ning.http.client.AsyncCompletionHandler
-
Invoked when the I/O operation associated with the
Requestbody as been progressed. - onContentWriteProgress(long, long, long) - Method in class com.ning.http.client.listener.TransferCompletionHandler
- onContentWriteProgress(long, long, long) - Method in interface com.ning.http.client.ProgressAsyncHandler
-
Invoked when the I/O operation associated with the
Requestbody wasn't fully written in a single I/O write operation. - onDnsResolved(InetAddress) - Method in interface com.ning.http.client.AsyncHandlerExtensions
-
Notify the callback after DNS resolution has completed.
- onError(Throwable) - Method in class com.ning.http.client.ws.DefaultWebSocketListener
- onError(Throwable) - Method in interface com.ning.http.client.ws.WebSocketListener
-
Invoked when the
WebSocketis open. - onFailure(Throwable) - Method in interface com.ning.http.client.UpgradeHandler
-
If the upgrade fail.
- onFailure(Throwable) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- onFragment(HttpResponseBodyPart) - Method in interface com.ning.http.client.ws.WebSocketByteFragmentListener
- onFragment(HttpResponseBodyPart) - Method in interface com.ning.http.client.ws.WebSocketTextFragmentListener
- onFullWriteQueue(Connection) - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.NonBlockingFeeder
- onFullWriteQueue(Connection) - Method in class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- onHeaders(Uri, HeaderMap) - Method in interface com.ning.http.client.simple.SimpleAHCTransferListener
-
This method is called after the response headers are received.
- onHeadersReceived(HttpResponseHeaders) - Method in class com.ning.http.client.AsyncCompletionHandler
- onHeadersReceived(HttpResponseHeaders) - Method in interface com.ning.http.client.AsyncHandler
-
Invoked as soon as the HTTP headers has been received.
- onHeadersReceived(HttpResponseHeaders) - Method in class com.ning.http.client.BodyDeferringAsyncHandler
- onHeadersReceived(HttpResponseHeaders) - Method in class com.ning.http.client.listener.TransferCompletionHandler
- onHeadersReceived(HttpResponseHeaders) - Method in class com.ning.http.client.resumable.ResumableAsyncHandler
- onHeadersReceived(HttpResponseHeaders) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
- onHeadersReceived(HttpResponseHeaders) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- onHeaderWriteCompleted() - Method in class com.ning.http.client.AsyncCompletionHandler
-
Invoked when the content (a
File,StringorFileInputStreamhas been fully written on the I/O socket. - onHeaderWriteCompleted() - Method in class com.ning.http.client.listener.TransferCompletionHandler
- onHeaderWriteCompleted() - Method in interface com.ning.http.client.ProgressAsyncHandler
-
Invoked when the content (a
File,StringorFileInputStreamhas been fully written on the I/O socket. - onMessage(byte[]) - Method in class com.ning.http.client.ws.DefaultWebSocketListener
- onMessage(byte[]) - Method in interface com.ning.http.client.ws.WebSocketByteListener
-
Invoked when bytes are available.
- onMessage(String) - Method in class com.ning.http.client.ws.DefaultWebSocketListener
- onMessage(String) - Method in interface com.ning.http.client.ws.WebSocketTextListener
-
Invoked when WebSocket text message are received.
- onOpen(WebSocket) - Method in class com.ning.http.client.ws.DefaultWebSocketListener
- onOpen(WebSocket) - Method in interface com.ning.http.client.ws.WebSocketListener
-
Invoked when the
WebSocketis open. - onOpenConnection() - Method in interface com.ning.http.client.AsyncHandlerExtensions
-
Notify the callback when trying to open a new connection.
- onPing(byte[]) - Method in class com.ning.http.client.ws.DefaultWebSocketListener
- onPing(byte[]) - Method in interface com.ning.http.client.ws.WebSocketPingListener
-
Invoked when a ping message is received
- onPong(byte[]) - Method in class com.ning.http.client.ws.DefaultWebSocketListener
- onPong(byte[]) - Method in interface com.ning.http.client.ws.WebSocketPongListener
-
Invoked when a pong message is received
- onPoolConnection() - Method in interface com.ning.http.client.AsyncHandlerExtensions
-
Notify the callback when trying to fetch a connection from the pool.
- onRequestHeadersSent(FluentCaseInsensitiveStringsMap) - Method in interface com.ning.http.client.listener.TransferListener
-
Invoked when the request bytes are starting to get send.
- onRequestResponseCompleted() - Method in interface com.ning.http.client.listener.TransferListener
-
Invoked when the response bytes are been fully received.
- onResponseHeadersReceived(FluentCaseInsensitiveStringsMap) - Method in interface com.ning.http.client.listener.TransferListener
-
Invoked when the response bytes are starting to get received.
- onRetry() - Method in interface com.ning.http.client.AsyncHandlerExtensions
-
Notify the callback every time a request is being retried.
- onSendRequest(Object) - Method in interface com.ning.http.client.AsyncHandlerExtensions
-
Notify the callback when a request is about to be written on the wire.
- onSslHandshakeCompleted() - Method in interface com.ning.http.client.AsyncHandlerExtensions
-
Notify the callback when the SSL handshake performed to establish an HTTPS connection has been completed.
- onStatus(Uri, int, String) - Method in interface com.ning.http.client.simple.SimpleAHCTransferListener
-
This method is called after the connection status is received.
- onStatusReceived(HttpResponseStatus) - Method in class com.ning.http.client.AsyncCompletionHandler
- onStatusReceived(HttpResponseStatus) - Method in interface com.ning.http.client.AsyncHandler
-
Invoked as soon as the HTTP status line has been received
- onStatusReceived(HttpResponseStatus) - Method in class com.ning.http.client.BodyDeferringAsyncHandler
- onStatusReceived(HttpResponseStatus) - Method in class com.ning.http.client.resumable.ResumableAsyncHandler
- onStatusReceived(HttpResponseStatus) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
- onStatusReceived(HttpResponseStatus) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- onSuccess(WebSocket) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- onSuccess(T) - Method in interface com.ning.http.client.UpgradeHandler
-
If the HTTP Upgrade succeed (response's status code equals 101), the
AsyncHttpProviderwill invoke that method - onThrowable(Throwable) - Method in class com.ning.http.client.AsyncCompletionHandler
- onThrowable(Throwable) - Method in class com.ning.http.client.AsyncCompletionHandlerBase
- onThrowable(Throwable) - Method in interface com.ning.http.client.AsyncHandler
-
Invoked when an unexpected exception occurs during the processing of the response.
- onThrowable(Throwable) - Method in class com.ning.http.client.BodyDeferringAsyncHandler
- onThrowable(Throwable) - Method in class com.ning.http.client.listener.TransferCompletionHandler
- onThrowable(Throwable) - Method in interface com.ning.http.client.listener.TransferListener
-
Invoked when there is an unexpected issue.
- onThrowable(Throwable) - Method in class com.ning.http.client.resumable.ResumableAsyncHandler
- onThrowable(Throwable) - Method in interface com.ning.http.client.ThrowableHandler
- onThrowable(Throwable) - Method in class com.ning.http.client.webdav.WebDavCompletionHandlerBase
- onThrowable(Throwable) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- options() - Method in class com.ning.http.client.SimpleAsyncHttpClient
- options(BodyConsumer) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- options(BodyConsumer, ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- options(ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- OutputStreamBodyConsumer - Class in com.ning.http.client.consumers
-
A simple
OutputStreamimplementation forBodyConsumer - OutputStreamBodyConsumer(OutputStream) - Constructor for class com.ning.http.client.consumers.OutputStreamBodyConsumer
- OutputStreamPartVisitor - Class in com.ning.http.client.multipart
- OutputStreamPartVisitor(OutputStream) - Constructor for class com.ning.http.client.multipart.OutputStreamPartVisitor
P
- Param - Class in com.ning.http.client
-
A pair of (name, value) String
- Param(String, String) - Constructor for class com.ning.http.client.Param
- parse(String, ParsePosition) - Method in class com.ning.http.client.cookie.RFC2616DateParser
- parseCharset(String) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- parseProxyAuthenticateHeader(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- parseWWWAuthenticateHeader(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- Part - Interface in com.ning.http.client.multipart
- PartBase - Class in com.ning.http.client.multipart
- PartBase(String, String, Charset, String) - Constructor for class com.ning.http.client.multipart.PartBase
- PartBase(String, String, Charset, String, String) - Constructor for class com.ning.http.client.multipart.PartBase
-
Constructor.
- PartVisitor - Interface in com.ning.http.client.multipart
- patchNettyChunkingIssue(boolean) - Method in class com.ning.http.client.generators.InputStreamBodyGenerator
-
HACK: This is required because Netty has issues with chunking.
- PauseHandler - Class in com.ning.http.client.providers.grizzly
-
Handler to pause/resume event processing.
- PauseHandler(FilterChainContext) - Constructor for class com.ning.http.client.providers.grizzly.PauseHandler
- perConnectionAuthorizationHeader(Request, Uri, ProxyServer, Realm) - Static method in class com.ning.http.util.AuthenticatorUtils
- perConnectionProxyAuthorizationHeader(Request, ProxyServer, boolean) - Static method in class com.ning.http.util.AuthenticatorUtils
- perRequestAuthorizationHeader(Request, Uri, Realm) - Static method in class com.ning.http.util.AuthenticatorUtils
- perRequestProxyAuthorizationHeader(Request, Realm, ProxyServer, boolean) - Static method in class com.ning.http.util.AuthenticatorUtils
- pooledConnectionIdleTimeout - Variable in class com.ning.http.client.AsyncHttpClientConfig
- post(BodyConsumer, Part...) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- post(BodyGenerator) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- post(BodyGenerator, BodyConsumer) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- post(BodyGenerator, BodyConsumer, ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- post(BodyGenerator, ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- post(Part...) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- prepareConnect(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client CONNECT request.
- prepareDelete(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client DELETE request.
- prepareGet(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client GET request.
- prepareHead(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client HEAD request.
- prepareOptions(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client OPTIONS request.
- preparePatch(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client PATCH request.
- preparePost(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client POST request.
- preparePut(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client PUT request.
- prepareRequest(Request) - Method in class com.ning.http.client.AsyncHttpClient
-
Construct a
RequestBuilderusing aRequest - prepareResponse(HttpResponseHeaders, List<HttpResponseBodyPart>) - Method in class com.ning.http.client.HttpResponseStatus
-
Prepare a
Response - prepareResponse(HttpResponseHeaders, List<HttpResponseBodyPart>) - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseStatus
- prepareTrace(String) - Method in class com.ning.http.client.AsyncHttpClient
-
Prepare an HTTP client TRACE request.
- PreservingThreadContextCompletionHandler<E> - Class in com.ning.http.util
-
Completion handler wrapper that preserves the construction class loader and MDC on its methods executions.
- PreservingThreadContextCompletionHandler(CompletionHandler<E>) - Constructor for class com.ning.http.util.PreservingThreadContextCompletionHandler
- ProgressAsyncHandler<T> - Interface in com.ning.http.client
-
An extended
AsyncHandlerwith two extra callback who get invoked during the content upload to a remote server. - PropertiesBasedResumableProcessor - Class in com.ning.http.client.resumable
-
A
ResumableAsyncHandler.ResumableProcessorwhich use a properties file to store the download index information. - PropertiesBasedResumableProcessor() - Constructor for class com.ning.http.client.resumable.PropertiesBasedResumableProcessor
- propertiesSet() - Method in interface com.ning.http.client.AsyncHttpProviderConfig
-
Return the curent entry set.
- propertiesSet() - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- providerConfig - Variable in class com.ning.http.client.AsyncHttpClientConfig
- PROXY_HOST - Static variable in class com.ning.http.util.ProxyUtils
-
The host to use as proxy.
- PROXY_NONPROXYHOSTS - Static variable in class com.ning.http.util.ProxyUtils
-
A specification of non-proxy hosts.
- PROXY_PASSWORD - Static variable in class com.ning.http.util.ProxyUtils
-
The password to use for authentication for the proxy server.
- PROXY_PORT - Static variable in class com.ning.http.util.ProxyUtils
-
The port to use for the proxy.
- PROXY_PROTOCOL - Static variable in class com.ning.http.util.ProxyUtils
-
The protocol to use.
- PROXY_USER - Static variable in class com.ning.http.util.ProxyUtils
-
The username to use for authentication for the proxy server.
- ProxyHostnameChecker - Class in com.ning.http.util
-
A HostnameChecker proxy.
- ProxyHostnameChecker() - Constructor for class com.ning.http.util.ProxyHostnameChecker
- ProxyPartitionKey(String, String) - Constructor for class com.ning.http.client.ConnectionPoolPartitioning.ProxyPartitionKey
- ProxyServer - Class in com.ning.http.client
-
Represents a proxy server.
- ProxyServer(ProxyServer.Protocol, String, int) - Constructor for class com.ning.http.client.ProxyServer
- ProxyServer(ProxyServer.Protocol, String, int, String, String) - Constructor for class com.ning.http.client.ProxyServer
- ProxyServer(String, int) - Constructor for class com.ning.http.client.ProxyServer
- ProxyServer(String, int, String, String) - Constructor for class com.ning.http.client.ProxyServer
- ProxyServer.Protocol - Enum in com.ning.http.client
- proxyServerSelector - Variable in class com.ning.http.client.AsyncHttpClientConfig
- ProxyServerSelector - Interface in com.ning.http.client
-
Selector for a proxy server
- ProxyUtils - Class in com.ning.http.util
-
Utilities for Proxy handling.
- put(BodyConsumer, Part...) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- put(BodyGenerator) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- put(BodyGenerator, BodyConsumer) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- put(BodyGenerator, BodyConsumer, ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- put(BodyGenerator, ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- put(Part...) - Method in class com.ning.http.client.SimpleAsyncHttpClient
- put(String, long) - Method in class com.ning.http.client.resumable.PropertiesBasedResumableProcessor
- put(String, long) - Method in interface com.ning.http.client.resumable.ResumableAsyncHandler.ResumableProcessor
-
Associate a key with the number of bytes sucessfully transferred.
- put(String, List<String>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- put(String, List<String>) - Method in class com.ning.http.client.FluentStringsMap
- put(String, List<String>) - Method in class com.ning.http.client.simple.HeaderMap
-
Only read access is supported.
- putAll(Map<? extends String, ? extends List<String>>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- putAll(Map<? extends String, ? extends List<String>>) - Method in class com.ning.http.client.FluentStringsMap
- putAll(Map<? extends String, ? extends List<String>>) - Method in class com.ning.http.client.simple.HeaderMap
-
Only read access is supported.
Q
- QUOTE_BYTE - Static variable in interface com.ning.http.client.multipart.Part
-
Content dispostion as a byte
R
- RandomAccessBody - Interface in com.ning.http.client
-
A request body which supports random access to its contents.
- RAW - Enum constant in enum com.ning.http.util.UriEncoder
- rbQueryParams - Variable in class com.ning.http.client.RequestBuilderBase
- read() - Method in class com.ning.http.client.HttpResponseBodyPartsInputStream
- read(ByteBuffer) - Method in interface com.ning.http.client.Body
-
Reads the next chunk of bytes from the body.
- read(ByteBuffer) - Method in class com.ning.http.client.generators.ByteArrayBodyGenerator.ByteBody
- read(ByteBuffer) - Method in class com.ning.http.client.generators.FileBodyGenerator.FileBody
- read(ByteBuffer) - Method in class com.ning.http.client.generators.InputStreamBodyGenerator.ISBody
- read(ByteBuffer) - Method in class com.ning.http.client.multipart.MultipartBody
- readFully(InputStream, int[]) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- readTimeout - Variable in class com.ning.http.client.AsyncHttpClientConfig
- ready() - Method in interface com.ning.http.client.providers.grizzly.FeedableBodyGenerator.NonBlockingFeeder.ReadyToFeedListener
-
Data is once again ready to be fed.
- realm - Variable in class com.ning.http.client.AsyncHttpClientConfig
- Realm - Class in com.ning.http.client
-
This class is required when authentication is needed.
- Realm.AuthScheme - Enum in com.ning.http.client
- Realm.RealmBuilder - Class in com.ning.http.client
-
A builder for
Realm - realmBuilder() - Method in class com.ning.http.client.ProxyServer
- RealmBuilder() - Constructor for class com.ning.http.client.Realm.RealmBuilder
- REMOTELY_CLOSED_EXCEPTION - Static variable in class com.ning.http.util.AsyncHttpProviderUtils
- remove(Object) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- remove(Object) - Method in class com.ning.http.client.FluentStringsMap
- remove(Object) - Method in class com.ning.http.client.simple.HeaderMap
-
Only read access is supported.
- remove(String) - Method in class com.ning.http.client.resumable.PropertiesBasedResumableProcessor
- remove(String) - Method in interface com.ning.http.client.resumable.ResumableAsyncHandler.ResumableProcessor
-
Remove the key associate value.
- removeIOExceptionFilter(IOExceptionFilter) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Remove an
IOExceptionFiltertthat will be invoked when anIOExceptionoccurs during the download/upload operations. - removeNonProxyHost(String) - Method in class com.ning.http.client.ProxyServer
- removeProperty(GrizzlyAsyncHttpProviderConfig.Property) - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- removeProperty(U) - Method in interface com.ning.http.client.AsyncHttpProviderConfig
-
Remove the value associated with the property's name
- removeRequestFilter(RequestFilter) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Remove an
RequestFilterthat will be invoked beforeAsyncHttpClient.executeRequest(Request) - removeResponseFilter(ResponseFilter) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Remove an
ResponseFilterthat will be invoked as soon as the response is received, and beforeAsyncHandler.onStatusReceived(HttpResponseStatus). - removeTransferListener(TransferListener) - Method in class com.ning.http.client.listener.TransferCompletionHandler
-
Remove a
TransferListener - removeWebSocketListener(WebSocketListener) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- removeWebSocketListener(WebSocketListener) - Method in interface com.ning.http.client.ws.WebSocket
-
Add a
WebSocketListener - removeWebSocketListener(WebSocketListener) - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler.Builder
-
Remove a
WebSocketListener - replaceAll(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
- replaceAll(FluentStringsMap) - Method in class com.ning.http.client.FluentStringsMap
-
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
- replaceAll(Map<? extends String, ? extends Collection<String>>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
- replaceAll(Map<? extends String, ? extends Collection<String>>) - Method in class com.ning.http.client.FluentStringsMap
-
Replace the values for all keys from the given map that are also present in this object, with the values from the given map.
- replaceWith(String, String...) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Replaces the values for the given key with the given values.
- replaceWith(String, String...) - Method in class com.ning.http.client.FluentStringsMap
-
Replaces the values for the given key with the given values.
- replaceWith(String, Collection<String>) - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
-
Replaces the values for the given key with the given values.
- replaceWith(String, Collection<String>) - Method in class com.ning.http.client.FluentStringsMap
-
Replaces the values for the given key with the given values.
- replayRequest() - Method in class com.ning.http.client.filter.FilterContext
-
Return true if the current response's processing needs to be interrupted and a new
Requestbe executed. - replayRequest(boolean) - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- request - Variable in class com.ning.http.client.RequestBuilderBase
- request(Request) - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- Request - Interface in com.ning.http.client
-
The Request class can be used to construct HTTP request:
- requestBuilder(Request) - Method in class com.ning.http.client.AsyncHttpClient
- requestBuilder(String, String) - Method in class com.ning.http.client.AsyncHttpClient
- RequestBuilder - Class in com.ning.http.client
-
Builder for a
Request. - RequestBuilder() - Constructor for class com.ning.http.client.RequestBuilder
- RequestBuilder(Request) - Constructor for class com.ning.http.client.RequestBuilder
- RequestBuilder(Request, UriEncoder) - Constructor for class com.ning.http.client.RequestBuilder
- RequestBuilder(String) - Constructor for class com.ning.http.client.RequestBuilder
- RequestBuilder(String, boolean) - Constructor for class com.ning.http.client.RequestBuilder
- RequestBuilder(String, UriEncoder) - Constructor for class com.ning.http.client.RequestBuilder
- RequestBuilderBase<T extends RequestBuilderBase<T>> - Class in com.ning.http.client
-
Builder for
Request - RequestBuilderBase(Class<T>, Request) - Constructor for class com.ning.http.client.RequestBuilderBase
- RequestBuilderBase(Class<T>, Request, UriEncoder) - Constructor for class com.ning.http.client.RequestBuilderBase
- RequestBuilderBase(Class<T>, String, boolean) - Constructor for class com.ning.http.client.RequestBuilderBase
- RequestBuilderBase(Class<T>, String, UriEncoder) - Constructor for class com.ning.http.client.RequestBuilderBase
- RequestEntity - Interface in com.ning.http.client.multipart
-
This class is an adaptation of the Apache HttpClient implementation
- RequestFilter - Interface in com.ning.http.client.filter
-
A Filter interface that gets invoked before making an actual request.
- requestFilters - Variable in class com.ning.http.client.AsyncHttpClientConfig
- requestPause() - Method in class com.ning.http.client.providers.grizzly.PauseHandler
-
Marks the underlying
FilterChainContextso that the event filter knows that should pause the event processing after the current action. - requestTimeout - Variable in class com.ning.http.client.AsyncHttpClientConfig
- requestTimeout(AsyncHttpClientConfig, Request) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- RequestToken - Class in com.ning.http.client.oauth
-
Value class used for OAuth tokens (request secret, access secret); simple container with two parts, public id part ("key") and confidential ("secret") part.
- RequestToken(String, String) - Constructor for class com.ning.http.client.oauth.RequestToken
- reset() - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.BaseFeeder
- reset() - Method in interface com.ning.http.client.providers.grizzly.FeedableBodyGenerator.Feeder
-
This method will be called if the
BodyGeneratoris reused, as with authentication or redirect requests, so that if possible the underlying data is reset. - reset() - Method in class com.ning.http.client.providers.grizzly.NonBlockingInputStreamFeeder
- reset() - Method in class com.ning.http.client.Response.ResponseBuilder
-
Reset the internal state of this builder.
- resetCookies() - Method in class com.ning.http.client.RequestBuilderBase
- resetFormParams() - Method in class com.ning.http.client.RequestBuilderBase
- resetMultipartData() - Method in class com.ning.http.client.RequestBuilderBase
- resetNonMultipartData() - Method in class com.ning.http.client.RequestBuilderBase
- resetQuery() - Method in class com.ning.http.client.RequestBuilderBase
- resolve(String) - Method in enum com.ning.http.client.NameResolver.JdkNameResolver
- resolve(String) - Method in interface com.ning.http.client.NameResolver
- Response - Interface in com.ning.http.client
-
Represents the asynchronous HTTP response callback for an
AsyncCompletionHandler - Response.ResponseBuilder - Class in com.ning.http.client
- ResponseBase - Class in com.ning.http.client
- ResponseBase(HttpResponseStatus, HttpResponseHeaders, List<HttpResponseBodyPart>) - Constructor for class com.ning.http.client.ResponseBase
- ResponseBuilder() - Constructor for class com.ning.http.client.Response.ResponseBuilder
- ResponseFilter - Interface in com.ning.http.client.filter
-
A Filter interface that gets invoked before making the processing of the response bytes.
- responseFilters - Variable in class com.ning.http.client.AsyncHttpClientConfig
- responseHeaders(HttpResponseHeaders) - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- responseStatus(HttpResponseStatus) - Method in class com.ning.http.client.filter.FilterContext.FilterContextBuilder
- ResumableAsyncHandler<T> - Class in com.ning.http.client.resumable
-
An
AsyncHandlerwhich support resumable download, e.g when used with anResumableIOExceptionFilter, this handler can resume the download operation at the point it was before the interruption occured. - ResumableAsyncHandler() - Constructor for class com.ning.http.client.resumable.ResumableAsyncHandler
- ResumableAsyncHandler(boolean) - Constructor for class com.ning.http.client.resumable.ResumableAsyncHandler
- ResumableAsyncHandler(long) - Constructor for class com.ning.http.client.resumable.ResumableAsyncHandler
- ResumableAsyncHandler(long, AsyncHandler<T>) - Constructor for class com.ning.http.client.resumable.ResumableAsyncHandler
- ResumableAsyncHandler(AsyncHandler<T>) - Constructor for class com.ning.http.client.resumable.ResumableAsyncHandler
- ResumableAsyncHandler(ResumableAsyncHandler.ResumableProcessor) - Constructor for class com.ning.http.client.resumable.ResumableAsyncHandler
- ResumableAsyncHandler(ResumableAsyncHandler.ResumableProcessor, boolean) - Constructor for class com.ning.http.client.resumable.ResumableAsyncHandler
- ResumableAsyncHandler.ResumableProcessor - Interface in com.ning.http.client.resumable
-
An interface to implement in order to manage the way the incomplete file management are handled.
- ResumableBodyConsumer - Interface in com.ning.http.client
- ResumableIOExceptionFilter - Class in com.ning.http.client.resumable
- ResumableIOExceptionFilter() - Constructor for class com.ning.http.client.resumable.ResumableIOExceptionFilter
- ResumableListener - Interface in com.ning.http.client.resumable
-
A listener class that can be used to digest the bytes from an
ResumableAsyncHandler - ResumableRandomAccessFileListener - Class in com.ning.http.client.extra
-
A
TransferListenerwhich use aRandomAccessFilefor storing the received bytes. - ResumableRandomAccessFileListener(RandomAccessFile) - Constructor for class com.ning.http.client.extra.ResumableRandomAccessFileListener
- resume() - Method in class com.ning.http.client.consumers.FileBodyConsumer
- resume() - Method in class com.ning.http.client.providers.grizzly.PauseHandler
-
Resumes the event processing with the action saved when paused.
- resume() - Method in interface com.ning.http.client.ResumableBodyConsumer
-
Prepare this consumer to resume a download, for example by seeking to the end of the underlying file.
- RFC2616DateParser - Class in com.ning.http.client.cookie
-
A parser for RFC2616 Date format.
- RFC3986_PCHARS - Static variable in class com.ning.http.util.UTF8UrlEncoder
- RFC3986_RESERVED_CHARS - Static variable in class com.ning.http.util.UTF8UrlEncoder
- RFC3986_SUBDELIM_CHARS - Static variable in class com.ning.http.util.UTF8UrlEncoder
- RFC3986_UNRESERVED_CHARS - Static variable in class com.ning.http.util.UTF8UrlEncoder
-
Encoding table used for figuring out ascii characters that must be escaped (all non-Ascii characters need to be encoded anyway)
- run() - Method in class com.ning.http.client.listenable.ExecutionList
-
Runs this execution list, executing all pairs in the order they were added.
- run() - Method in class com.ning.http.client.multipart.FilePartStallHandler
- runListeners() - Method in class com.ning.http.client.listenable.AbstractListenableFuture
S
- save(Map<String, Long>) - Method in class com.ning.http.client.resumable.PropertiesBasedResumableProcessor
- save(Map<String, Long>) - Method in interface com.ning.http.client.resumable.ResumableAsyncHandler.ResumableProcessor
-
Save the current
Mapinstance which contains information about the current transfer state. - select(Uri) - Method in interface com.ning.http.client.ProxyServerSelector
-
Select a proxy server to use for the given URI.
- sendData(OutputStream) - Method in class com.ning.http.client.multipart.ByteArrayPart
- sendData(OutputStream) - Method in class com.ning.http.client.multipart.FilePart
- sendData(OutputStream) - Method in class com.ning.http.client.multipart.PartBase
- sendData(OutputStream) - Method in class com.ning.http.client.multipart.StringPart
-
Writes the data to the given OutputStream.
- sendMessage(byte[]) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- sendMessage(byte[]) - Method in interface com.ning.http.client.ws.WebSocket
-
Send a byte message.
- sendMessage(String) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- sendMessage(String) - Method in interface com.ning.http.client.ws.WebSocket
-
Send a text message
- sendPing(byte[]) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- sendPing(byte[]) - Method in interface com.ning.http.client.ws.WebSocket
-
Send a
ping with an optional payload (limited to 125 bytes or less). - sendPong(byte[]) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- sendPong(byte[]) - Method in interface com.ning.http.client.ws.WebSocket
-
Send a
ping with an optional payload (limited to 125 bytes or less). - setAcceptAnyCertificate(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- setAcceptAnyCertificate(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setAcceptAnyCertificate(boolean) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setAlgorithm(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- setAllowPoolingConnection(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setAllowPoolingConnections(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set true if connection can be pooled by a
ChannelPool. - setAllowPoolingConnections(boolean) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setAllowPoolingSslConnections(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
- setAsyncHttpClientProviderConfig(AsyncHttpProviderConfig<?, ?>) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the
AsyncHttpProviderConfig - setBody(byte[]) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- setBody(byte[]) - Method in class com.ning.http.client.RequestBuilder
- setBody(byte[]) - Method in class com.ning.http.client.RequestBuilderBase
- setBody(BodyGenerator) - Method in class com.ning.http.client.RequestBuilderBase
- setBody(File) - Method in class com.ning.http.client.RequestBuilderBase
- setBody(InputStream) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- setBody(InputStream) - Method in class com.ning.http.client.RequestBuilder
-
Deprecated.
- setBody(InputStream) - Method in class com.ning.http.client.RequestBuilderBase
- setBody(String) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- setBody(String) - Method in class com.ning.http.client.RequestBuilder
- setBody(String) - Method in class com.ning.http.client.RequestBuilderBase
- setBody(List<byte[]>) - Method in class com.ning.http.client.RequestBuilderBase
- setBodyEncoding(String) - Method in class com.ning.http.client.RequestBuilderBase
- setCharset(Charset) - Method in class com.ning.http.client.ProxyServer
- setCharset(Charset) - Method in class com.ning.http.client.Realm.RealmBuilder
- setCompressionEnforced(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Enforce HTTP compression.
- setCompressionEnforced(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setCompressionEnforced(boolean) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setConnectionPool(MultiEndpointPool<SocketAddress>) - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- setConnectionPoolKeyStrategy(ConnectionPoolPartitioning) - Method in class com.ning.http.client.RequestBuilderBase
- setConnectionTimeOut(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setConnectionTTL(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
- setConnectTimeout(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the maximum time in millisecond an
AsyncHttpClientcan wait when connecting to a remote host - setConnectTimeout(int) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setContentLength(int) - Method in class com.ning.http.client.RequestBuilderBase
- setCookies(Collection<Cookie>) - Method in class com.ning.http.client.RequestBuilderBase
- setCustomHeaders(List<Param>) - Method in class com.ning.http.client.multipart.PartBase
- setDefaultThrowableHandler(ThrowableHandler) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setDisableUrlEncodingForBoundedRequests(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Disable automatic url escaping
- setDisableUrlEncodingForBoundRequests(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setDispositionType(String) - Method in class com.ning.http.client.multipart.PartBase
- setEnabledCipherSuites(String[]) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- setEnabledProtocols(String[]) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- setErrorDocumentBehaviour(SimpleAsyncHttpClient.ErrorDocumentBehaviour) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
-
This setting controls whether an error document should be written via the
BodyConsumerafter an error status code was received (e.g. - setExecutorService(ExecutorService) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the
ExecutorServiceanAsyncHttpClientuse for handling asynchronous response. - setExecutorService(ExecutorService) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setFeeder(FeedableBodyGenerator.Feeder) - Method in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator
-
Add a
FeedableBodyGenerator.Feederimplementation that will be invoked when writing without blocking is possible. - setFileName(String) - Method in class com.ning.http.client.multipart.AbstractFilePart
- setFollowRedirect(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set to true to enable HTTP redirect
- setFollowRedirect(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- 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
- setForceHttp10(boolean) - Method in class com.ning.http.client.ProxyServer
- setFormParams(List<Param>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- setFormParams(List<Param>) - Method in class com.ning.http.client.RequestBuilder
- setFormParams(List<Param>) - Method in class com.ning.http.client.RequestBuilderBase
- setFormParams(List<Param>) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setFormParams(List<Param>) - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- setFormParams(Map<String, List<String>>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- setFormParams(Map<String, List<String>>) - Method in class com.ning.http.client.RequestBuilder
- setFormParams(Map<String, List<String>>) - Method in class com.ning.http.client.RequestBuilderBase
- setFormParams(Map<String, List<String>>) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setFormParams(Map<String, List<String>>) - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- 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(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.RequestBuilder
- setHeaders(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.RequestBuilderBase
- setHeaders(FluentCaseInsensitiveStringsMap) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setHeaders(FluentCaseInsensitiveStringsMap) - Method in interface com.ning.http.client.SimpleAsyncHttpClient.DerivedBuilder
- setHeaders(Map<String, Collection<String>>) - Method in class com.ning.http.client.AsyncHttpClient.BoundRequestBuilder
- setHeaders(Map<String, Collection<String>>) - Method in class com.ning.http.client.RequestBuilder
- setHeaders(Map<String, Collection<String>>) - Method in class com.ning.http.client.RequestBuilderBase
- 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
- setHostnameVerifier(HostnameVerifier) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the
HostnameVerifier - setHostnameVerifier(HostnameVerifier) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setIdleConnectionInPoolTimeout(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setInetAddress(InetAddress) - Method in class com.ning.http.client.RequestBuilderBase
- setIoThreadMultiplier(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setIOThreadMultiplier(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- 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
- setMaxConnectionLifeTime(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setMaxConnectionPerHost(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setMaxConnections(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the maximum number of connections an
AsyncHttpClientcan handle. - setMaxConnectionsPerHost(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the maximum number of connections per (scheme, host, port) an
AsyncHttpClientcan handle. - setMaximumConnectionsPerHost(int) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setMaximumConnectionsTotal(int) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- 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.
- setMaxRedirects(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the maximum number of HTTP redirect
- setMaxRedirects(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setMaxRequestHeaders(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- setMaxRequestHeaders(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setMaxRequestRetry(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the number of time a request will be retried when an
IOExceptionoccurs 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
IOExceptionoccurs because of a Network exception. - setMaxTotalConnections(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- 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
- setNameResolver(NameResolver) - Method in class com.ning.http.client.RequestBuilderBase
- setNc(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- setNonce(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- setNtlmAvoidSendPayloadOnType1(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- setNtlmDomain(String) - Method in class com.ning.http.client.ProxyServer
- setNtlmDomain(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- setNtlmEstablished(Connection) - Static method in class com.ning.http.client.providers.grizzly.Utils
- setNtlmEstablished(Connection, Boolean) - Static method in class com.ning.http.client.providers.grizzly.Utils
- setNtlmHost(String) - Method in class com.ning.http.client.ProxyServer
- setNtlmHost(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- setOmitQuery(boolean) - Method in class com.ning.http.client.Realm.RealmBuilder
- setOpaque(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- setPassword(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- setPooledConnectionIdleTimeout(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the maximum time in millisecond an
AsyncHttpClientwill keep connection idle in pool. - setPooledConnectionIdleTimeout(int) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setPrincipal(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- 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
ProxyServerused by anAsyncHttpClient - 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
ProxyServerSelectorused by anAsyncHttpClient - setProxyServerSelector(ProxyServerSelector) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setQop(String) - Method in class com.ning.http.client.Realm.RealmBuilder
- setQueryParams(List<Param>) - Method in class com.ning.http.client.RequestBuilder
- setQueryParams(List<Param>) - Method in class com.ning.http.client.RequestBuilderBase
- setQueryParams(Map<String, List<String>>) - Method in class com.ning.http.client.RequestBuilder
- setQueryParams(Map<String, List<String>>) - Method in class com.ning.http.client.RequestBuilderBase
- setRangeOffset(long) - Method in class com.ning.http.client.RequestBuilderBase
- setReadTimeout(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the maximum time in millisecond an
AsyncHttpClientcan stay idle. - setReadTimeout(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setRealm(Realm) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the
Realmthat 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
- setRealmCharset(Charset) - 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
- setRealmNtlmDomain(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
- setRequestTimeout(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the maximum time in millisecond an
AsyncHttpClientwaits until the response is completed. - setRequestTimeout(int) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setRequestTimeout(int) - Method in class com.ning.http.client.RequestBuilderBase
- setRequestTimeout(int) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- 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 - setScheme(Realm.AuthScheme) - Method in class com.ning.http.client.ProxyServer
- setScheme(Realm.AuthScheme) - Method in class com.ning.http.client.Realm.RealmBuilder
- 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
- setSignatureCalculator(SignatureCalculator) - Method in class com.ning.http.client.RequestBuilderBase
- setSslContext(SSLContext) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setSSLContext(SSLContext) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the
SSLContextfor secure connection. - setSSLContext(SSLContext) - Method in class com.ning.http.client.SimpleAsyncHttpClient.Builder
- setSslEngineFactory(SSLEngineFactory) - Method in class com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig
- setSslSessionCacheSize(Integer) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- setSslSessionCacheSize(Integer) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setSslSessionTimeout(Integer) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
- setSslSessionTimeout(Integer) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setStalledTime(long) - Method in class com.ning.http.client.multipart.AbstractFilePart
- 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.
- setStrict302Handling(boolean) - Method in class com.ning.http.client.AsyncHttpClientConfigBean
- setTargetProxy(boolean) - Method in class com.ning.http.client.Realm.RealmBuilder
- setUri(Uri) - 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
- setUseAbsoluteURI(boolean) - Method in class com.ning.http.client.Realm.RealmBuilder
- 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
- setUseRelativeURIsWithConnectProxies(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 or WebSocket 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
- setWebSocketTimeout(int) - Method in class com.ning.http.client.AsyncHttpClientConfig.Builder
-
Set the maximum time in millisecond an
WebSocketcan stay idle. - signatureCalculator - Variable in class com.ning.http.client.AsyncHttpClient
-
Default signature calculator to use for all requests constructed by this client instance.
- signatureCalculator - Variable in class com.ning.http.client.RequestBuilderBase
- SignatureCalculator - Interface in com.ning.http.client
-
Interface that allows injecting signature calculator into
RequestBuilderso 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
AsyncHttpClientand it's related builders (AsyncHttpClientConfig,Realm,ProxyServerandAsyncHandler. - SimpleAsyncHttpClient.Builder - Class in com.ning.http.client
- 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
- SimpleFeeder(FeedableBodyGenerator) - Constructor for class com.ning.http.client.providers.grizzly.FeedableBodyGenerator.SimpleFeeder
-
Constructs the
SimpleFeederwith the associatedFeedableBodyGenerator. - 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
- SPNEGO - Enum constant in enum com.ning.http.client.ProxyServer.Protocol
- SPNEGO - Enum constant in enum com.ning.http.client.Realm.AuthScheme
- SpnegoEngine - Class in com.ning.http.client.spnego
-
SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication scheme.
- SpnegoEngine() - Constructor for class com.ning.http.client.spnego.SpnegoEngine
- SpnegoEngine(SpnegoTokenGenerator) - Constructor for class com.ning.http.client.spnego.SpnegoEngine
- SpnegoTokenGenerator - Interface in com.ning.http.client.spnego
-
Abstract SPNEGO token generator.
- sslContext - Variable in class com.ning.http.client.AsyncHttpClientConfig
- SSLEngineFactory - Interface in com.ning.http.client
-
Factory that creates an
SSLEngineto be used for a single SSL connection. - SSLEngineFactory.DefaultSSLEngineFactory - Class in com.ning.http.client
- sslSessionCacheSize - Variable in class com.ning.http.client.AsyncHttpClientConfig
- sslSessionTimeout - Variable in class com.ning.http.client.AsyncHttpClientConfig
- SSLSwitchingEvent - Class in com.ning.http.client.providers.grizzly.events
- SSLSwitchingEvent(Connection, boolean) - Constructor for class com.ning.http.client.providers.grizzly.events.SSLSwitchingEvent
- SSLSwitchingEvent(Connection, boolean, String, int) - Constructor for class com.ning.http.client.providers.grizzly.events.SSLSwitchingEvent
- SslUtils - Class in com.ning.http.util
- SslUtils() - Constructor for class com.ning.http.util.SslUtils
- start() - Method in class com.ning.http.client.multipart.FilePartStallHandler
- status - Variable in class com.ning.http.client.ResponseBase
- stream(byte[], boolean) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- stream(byte[], boolean) - Method in interface com.ning.http.client.ws.WebSocket
-
Allows streaming of multiple binary fragments.
- stream(byte[], int, int, boolean) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- stream(byte[], int, int, boolean) - Method in interface com.ning.http.client.ws.WebSocket
-
Allows streaming of multiple binary fragments.
- stream(String, boolean) - Method in class com.ning.http.client.providers.grizzly.websocket.GrizzlyWebSocketAdapter
- stream(String, boolean) - Method in interface com.ning.http.client.ws.WebSocket
-
Allows streaming of multiple text fragments.
- strict302Handling - Variable in class com.ning.http.client.AsyncHttpClientConfig
- stringBuilder() - Static method in class com.ning.http.util.StringUtils
-
BEWARE: MUSN'T APPEND TO ITSELF!
- StringCharSequence - Class in com.ning.http.util
-
A CharSequence String wrapper that doesn't copy the char[] (damn new String implementation!!!)
- StringCharSequence(String, int, int) - Constructor for class com.ning.http.util.StringCharSequence
- StringPart - Class in com.ning.http.client.multipart
- StringPart(String, String) - Constructor for class com.ning.http.client.multipart.StringPart
- StringPart(String, String, String) - Constructor for class com.ning.http.client.multipart.StringPart
- StringPart(String, String, String, Charset) - Constructor for class com.ning.http.client.multipart.StringPart
- StringPart(String, String, String, Charset, String) - Constructor for class com.ning.http.client.multipart.StringPart
- StringPart(String, String, String, Charset, String, String) - Constructor for class com.ning.http.client.multipart.StringPart
- StringUtils - Class in com.ning.http.util
- subSequence(int, int) - Method in class com.ning.http.util.StringCharSequence
T
- ThreadSafeHMAC - Class in com.ning.http.client.oauth
-
Since cloning (of MAC instances) is not necessarily supported on all platforms (and specifically seems to fail on MacOS), let's wrap synchronization/reuse details here.
- ThreadSafeHMAC(ConsumerKey, RequestToken) - Constructor for class com.ning.http.client.oauth.ThreadSafeHMAC
- ThrottleRequestFilter - Class in com.ning.http.client.extra
-
A
RequestFilterthrottles requests and block when the number of permits is reached, waiting for the response to arrives before executing the next request. - ThrottleRequestFilter(int) - Constructor for class com.ning.http.client.extra.ThrottleRequestFilter
- ThrottleRequestFilter(int, int) - Constructor for class com.ning.http.client.extra.ThrottleRequestFilter
- ThrowableHandler - Interface in com.ning.http.client
-
Simple
Throwablehandler to be used withSimpleAsyncHttpClient - toHexString(byte[]) - Static method in class com.ning.http.util.StringUtils
- toHexString(byte[], boolean) - Static method in class com.ning.http.util.StringUtils
-
Convert a byte array to a hexadecimal string.
- toJavaNetURI() - Method in class com.ning.http.client.uri.Uri
- toParams() - Method in class com.ning.http.client.FluentStringsMap
- toRelativeUrl() - Method in class com.ning.http.client.uri.Uri
- toString() - Method in class com.ning.http.client.ConnectionPoolPartitioning.ProxyPartitionKey
- toString() - Method in class com.ning.http.client.cookie.Cookie
- toString() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- toString() - Method in class com.ning.http.client.FluentStringsMap
- toString() - Method in class com.ning.http.client.multipart.AbstractFilePart
- toString() - Method in class com.ning.http.client.multipart.PartBase
- toString() - Method in class com.ning.http.client.oauth.ConsumerKey
- toString() - Method in class com.ning.http.client.oauth.RequestToken
- toString() - Method in enum com.ning.http.client.ProxyServer.Protocol
- toString() - Method in class com.ning.http.client.ProxyServer
- toString() - Method in class com.ning.http.client.Realm
- toString() - Method in interface com.ning.http.client.Response
-
Subclasses SHOULD implement toString() in a way that identifies the response for logging.
- toString() - Method in class com.ning.http.client.uri.Uri
- toString() - Method in class com.ning.http.util.StringCharSequence
- touch() - Method in class com.ning.http.client.ListenableFuture.CompletedFailure
- touch() - Method in interface com.ning.http.client.ListenableFuture
-
Touch the current instance to prevent external service to times out.
- touchSuccess() - Method in class com.ning.http.client.ws.WebSocketUpgradeHandler
- toUrl() - Method in class com.ning.http.client.uri.Uri
- TransferCompletionHandler - Class in com.ning.http.client.listener
-
A
org.asynchttpclient.AsyncHandlerthat can be used to notify a set ofTransferListener - TransferCompletionHandler() - Constructor for class com.ning.http.client.listener.TransferCompletionHandler
-
Create a TransferCompletionHandler that will not accumulate bytes.
- TransferCompletionHandler(boolean) - Constructor for class com.ning.http.client.listener.TransferCompletionHandler
-
Create a TransferCompletionHandler that can or cannot accumulate bytes and make it available when
org.asynchttpclient.Response#getResponseBody()get called. - TransferListener - Interface in com.ning.http.client.listener
-
A simple interface an application can implements in order to received byte transfer information.
- transferTo(long, WritableByteChannel) - Method in class com.ning.http.client.generators.FileBodyGenerator.FileBody
- transferTo(long, WritableByteChannel) - Method in class com.ning.http.client.multipart.MultipartBody
- transferTo(long, WritableByteChannel) - Method in interface com.ning.http.client.RandomAccessBody
-
Transfers the specified chunk of bytes from this body to the specified channel.
- TRANSPORT_CUSTOMIZER - Enum constant in enum com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig.Property
-
If this property is specified with a custom
TransportCustomizerinstance, theTCPNIOTransportinstance that is created byGrizzlyAsyncHttpProviderwill be passed to the customizer bypassing all default configuration of the transport typically performed by the provider. - TransportCustomizer - Interface in com.ning.http.client.providers.grizzly
-
This class may be provided as an option to the
GrizzlyAsyncHttpProviderConfigand allows low-level customization of theTCPNIOTransportbeyond the defaults typically used. - type() - Method in class com.ning.http.client.providers.grizzly.events.ContinueEvent
- type() - Method in class com.ning.http.client.providers.grizzly.events.GracefulCloseEvent
- type() - Method in class com.ning.http.client.providers.grizzly.events.SSLSwitchingEvent
- TYPE_TLS - Static variable in class com.ning.http.util.ProxyHostnameChecker
U
- UNBOUND - Static variable in class com.ning.http.client.providers.grizzly.FeedableBodyGenerator
-
There is no limit on bytes waiting to be written.
- updated(E) - Method in class com.ning.http.util.PreservingThreadContextCompletionHandler
- UPGRADE - Enum constant in enum com.ning.http.client.AsyncHandler.STATE
-
Upgrade the protocol.
- UpgradeHandler<T> - Interface in com.ning.http.client
-
Invoked when an
AsyncHandler.STATE.UPGRADEis returned. - Uri - Class in com.ning.http.client.uri
- Uri(String, String, String, int, String, String) - Constructor for class com.ning.http.client.uri.Uri
- uriEncoder - Variable in class com.ning.http.client.RequestBuilderBase
- uriEncoder(boolean) - Static method in enum com.ning.http.util.UriEncoder
- UriEncoder - Enum in com.ning.http.util
- urlEncodeFormParams(List<Param>, Charset) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- urlEncodeFormParams0(List<Param>) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- useProxyConnect(Uri) - Static method in class com.ning.http.util.AsyncHttpProviderUtils
- userAgent - Variable in class com.ning.http.client.AsyncHttpClientConfig
- userAuth - Variable in class com.ning.http.client.oauth.OAuthSignatureCalculator
- useRelativeURIsWithConnectProxies - Variable in class com.ning.http.client.AsyncHttpClientConfig
- UTF8UrlDecoder - Class in com.ning.http.util
- UTF8UrlEncoder - Class in com.ning.http.util
-
Convenience class that encapsulates details of "percent encoding" (as per RFC-3986, see [http://www.ietf.org/rfc/rfc3986.txt]).
- Utils - Class in com.ning.http.client.providers.grizzly
V
- valueOf(String) - Static method in enum com.ning.http.client.AsyncHandler.STATE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ning.http.client.ConnectionPoolPartitioning.PerHostConnectionPoolPartitioning
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ning.http.client.NameResolver.JdkNameResolver
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig.Property
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ning.http.client.ProxyServer.Protocol
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ning.http.client.Realm.AuthScheme
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ning.http.client.SimpleAsyncHttpClient.ErrorDocumentBehaviour
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ning.http.util.UriEncoder
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.ning.http.client.AsyncHandler.STATE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.ning.http.client.ConnectionPoolPartitioning.PerHostConnectionPoolPartitioning
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.ning.http.client.FluentCaseInsensitiveStringsMap
- values() - Method in class com.ning.http.client.FluentStringsMap
- values() - Static method in enum com.ning.http.client.NameResolver.JdkNameResolver
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.ning.http.client.providers.grizzly.GrizzlyAsyncHttpProviderConfig.Property
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.ning.http.client.ProxyServer.Protocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.ning.http.client.Realm.AuthScheme
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class com.ning.http.client.simple.HeaderMap
-
Only read access is supported.
- values() - Static method in enum com.ning.http.client.SimpleAsyncHttpClient.ErrorDocumentBehaviour
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.ning.http.util.UriEncoder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verify(String, SSLSession) - Method in class com.ning.http.util.DefaultHostnameVerifier
-
Verifies the hostname against the peer certificates in a session.
- visitContentIdHeader(PartVisitor) - Method in class com.ning.http.client.multipart.PartBase
- visitContentTypeHeader(PartVisitor) - Method in class com.ning.http.client.multipart.PartBase
- visitCustomHeaders(PartVisitor) - Method in class com.ning.http.client.multipart.PartBase
- visitDispositionHeader(PartVisitor) - Method in class com.ning.http.client.multipart.AbstractFilePart
- visitDispositionHeader(PartVisitor) - Method in class com.ning.http.client.multipart.PartBase
- visitEnd(PartVisitor) - Method in class com.ning.http.client.multipart.PartBase
- visitEndOfHeaders(PartVisitor) - Method in class com.ning.http.client.multipart.PartBase
- visitStart(PartVisitor, byte[]) - Method in class com.ning.http.client.multipart.PartBase
- visitTransferEncodingHeader(PartVisitor) - Method in class com.ning.http.client.multipart.PartBase
W
- WebDavCompletionHandlerBase<T> - Class in com.ning.http.client.webdav
-
Simple
AsyncHandlerthat add support for WebDav's response manipulation. - WebDavCompletionHandlerBase() - Constructor for class com.ning.http.client.webdav.WebDavCompletionHandlerBase
- WebDavResponse - Class in com.ning.http.client.webdav
-
Customized
Responsewhich add support for getting the response's body as an XML document (@link WebDavResponse#getBodyAsXML} - WebDavResponse(Response, Document) - Constructor for class com.ning.http.client.webdav.WebDavResponse
- webSocket - Variable in class com.ning.http.client.ws.DefaultWebSocketListener
- WebSocket - Interface in com.ning.http.client.ws
-
A Websocket client
- WEBSOCKET - Static variable in class com.ning.http.util.AsyncHttpProviderUtils
- WEBSOCKET_SSL - Static variable in class com.ning.http.util.AsyncHttpProviderUtils
- WebSocketByteFragmentListener - Interface in com.ning.http.client.ws
-
Invoked when WebSocket binary fragments are received.
- WebSocketByteListener - Interface in com.ning.http.client.ws
-
A
WebSocketListenerfor bytes - WebSocketCloseCodeReasonListener - Interface in com.ning.http.client.ws
-
Extend the normal close listener with one that support the WebSocket's code and reason.
- WebSocketListener - Interface in com.ning.http.client.ws
-
A generic
WebSocketListenerfor WebSocket events. - WebSocketPingListener - Interface in com.ning.http.client.ws
-
A WebSocket's Ping Listener
- WebSocketPongListener - Interface in com.ning.http.client.ws
-
A WebSocket's Pong Listener
- WebSocketTextFragmentListener - Interface in com.ning.http.client.ws
-
Invoked when WebSocket text fragments are received.
- WebSocketTextListener - Interface in com.ning.http.client.ws
-
A
WebSocketListenerfor text message - webSocketTimeout - Variable in class com.ning.http.client.AsyncHttpClientConfig
- WebSocketUpgradeHandler - Class in com.ning.http.client.ws
-
An
AsyncHandlerwhich is able to execute WebSocket upgrade. - WebSocketUpgradeHandler() - Constructor for class com.ning.http.client.ws.WebSocketUpgradeHandler
- WebSocketUpgradeHandler(List<WebSocketListener>) - Constructor for class com.ning.http.client.ws.WebSocketUpgradeHandler
- WebSocketUpgradeHandler.Builder - Class in com.ning.http.client.ws
-
Build a
WebSocketUpgradeHandler - withByte(byte) - Method in class com.ning.http.client.multipart.CounterPartVisitor
- withByte(byte) - Method in class com.ning.http.client.multipart.OutputStreamPartVisitor
- withByte(byte) - Method in interface com.ning.http.client.multipart.PartVisitor
- withBytes(byte[]) - Method in class com.ning.http.client.multipart.CounterPartVisitor
- withBytes(byte[]) - Method in class com.ning.http.client.multipart.OutputStreamPartVisitor
- withBytes(byte[]) - Method in interface com.ning.http.client.multipart.PartVisitor
- withNewQuery(String) - Method in class com.ning.http.client.uri.Uri
- withNewScheme(String) - Method in class com.ning.http.client.uri.Uri
- withoutQueryWithParams(List<Param>) - Method in enum com.ning.http.util.UriEncoder
- withQueryWithoutParams(String) - Method in enum com.ning.http.util.UriEncoder
- withQueryWithParams(String, List<Param>) - Method in enum com.ning.http.util.UriEncoder
- write(OutputStream, byte[]) - Method in interface com.ning.http.client.multipart.Part
-
Write all the data to the output stream.
- write(OutputStream, byte[]) - Method in class com.ning.http.client.multipart.PartBase
-
Write all the data to the output stream.
- write(WritableByteChannel, byte[]) - Method in class com.ning.http.client.multipart.ByteArrayPart
- write(WritableByteChannel, byte[]) - Method in class com.ning.http.client.multipart.FilePart
- write(WritableByteChannel, byte[]) - Method in interface com.ning.http.client.multipart.Part
- write(WritableByteChannel, byte[]) - Method in class com.ning.http.client.multipart.StringPart
- WRITE - Enum constant in enum com.ning.http.client.SimpleAsyncHttpClient.ErrorDocumentBehaviour
-
Write error documents as usual via
BodyConsumer.consume(java.nio.ByteBuffer). - writeBytesToChannel(WritableByteChannel, byte[]) - Static method in class com.ning.http.client.multipart.MultipartUtils
- writeHappened() - Method in class com.ning.http.client.multipart.FilePartStallHandler
- writeRequest(OutputStream) - Method in interface com.ning.http.client.multipart.RequestEntity
-
Writes the request entity to the given stream.
- writeTo(OutputStream) - Method in class com.ning.http.client.HttpResponseBodyPart
-
Write the available bytes to the
OutputStream - writeTo(OutputStream) - Method in class com.ning.http.client.providers.grizzly.GrizzlyResponseBodyPart
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
RequestBuilderBase.setBody(BodyGenerator)setBody(new InputStreamBodyGenerator(inputStream))