A B C D E F G H I K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractConnPool<T,C,E extends PoolEntry<T,C>> - Class in org.apache.http.pool
-
Abstract synchronous (blocking) pool of connections.
- AbstractConnPool(ConnFactory<T, C>, int, int) - Constructor for class org.apache.http.pool.AbstractConnPool
- AbstractHttpEntity - Class in org.apache.http.entity
-
Abstract base class for entities.
- AbstractHttpEntity() - Constructor for class org.apache.http.entity.AbstractHttpEntity
-
Protected default constructor.
- AbstractHttpMessage - Class in org.apache.http.message
-
Basic implementation of
HttpMessage. - AbstractHttpMessage() - Constructor for class org.apache.http.message.AbstractHttpMessage
- AbstractHttpMessage(HttpParams) - Constructor for class org.apache.http.message.AbstractHttpMessage
-
Deprecated.(4.3) use
AbstractHttpMessage() - AbstractHttpParams - Class in org.apache.http.params
-
Deprecated.(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
- AbstractHttpParams() - Constructor for class org.apache.http.params.AbstractHttpParams
-
Deprecated.Instantiates parameters.
- AbstractMessageParser<T extends HttpMessage> - Class in org.apache.http.impl.io
-
Abstract base class for HTTP message parsers that obtain input from an instance of
SessionInputBuffer. - AbstractMessageParser(SessionInputBuffer, LineParser, MessageConstraints) - Constructor for class org.apache.http.impl.io.AbstractMessageParser
-
Creates new instance of AbstractMessageParser.
- AbstractMessageParser(SessionInputBuffer, LineParser, HttpParams) - Constructor for class org.apache.http.impl.io.AbstractMessageParser
-
Deprecated.
- AbstractMessageWriter<T extends HttpMessage> - Class in org.apache.http.impl.io
-
Abstract base class for HTTP message writers that serialize output to an instance of
SessionOutputBuffer. - AbstractMessageWriter(SessionOutputBuffer, LineFormatter) - Constructor for class org.apache.http.impl.io.AbstractMessageWriter
-
Creates an instance of AbstractMessageWriter.
- AbstractMessageWriter(SessionOutputBuffer, LineFormatter, HttpParams) - Constructor for class org.apache.http.impl.io.AbstractMessageWriter
-
Deprecated.
- ACCEPT - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.1
- ACCEPT_CHARSET - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.2
- ACCEPT_ENCODING - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.3
- ACCEPT_LANGUAGE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.4
- ACCEPT_RANGES - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.5
- adapt(HttpContext) - Static method in class org.apache.http.protocol.HttpCoreContext
- add(HttpRequestInterceptor) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- add(HttpResponseInterceptor) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addAll(HttpRequestInterceptor...) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addAll(HttpResponseInterceptor...) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addAllFirst(HttpRequestInterceptor...) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addAllFirst(HttpResponseInterceptor...) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addAllLast(HttpRequestInterceptor...) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addAllLast(HttpResponseInterceptor...) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addFirst(HttpRequestInterceptor) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addFirst(HttpResponseInterceptor) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addHeader(String, String) - Method in interface org.apache.http.HttpMessage
-
Adds a header to this message.
- addHeader(String, String) - Method in class org.apache.http.message.AbstractHttpMessage
- addHeader(Header) - Method in interface org.apache.http.HttpMessage
-
Adds a header to this message.
- addHeader(Header) - Method in class org.apache.http.message.AbstractHttpMessage
- addHeader(Header) - Method in class org.apache.http.message.HeaderGroup
-
Adds the given header to the group.
- addLast(HttpRequestInterceptor) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addLast(HttpResponseInterceptor) - Method in class org.apache.http.protocol.HttpProcessorBuilder
- addRequestInterceptor(HttpRequestInterceptor) - Method in interface org.apache.http.protocol.HttpRequestInterceptorList
-
Deprecated.Appends a request interceptor to this list.
- addRequestInterceptor(HttpRequestInterceptor, int) - Method in interface org.apache.http.protocol.HttpRequestInterceptorList
-
Deprecated.Inserts a request interceptor at the specified index.
- addResponseInterceptor(HttpResponseInterceptor) - Method in interface org.apache.http.protocol.HttpResponseInterceptorList
-
Deprecated.Appends a response interceptor to this list.
- addResponseInterceptor(HttpResponseInterceptor, int) - Method in interface org.apache.http.protocol.HttpResponseInterceptorList
-
Deprecated.Inserts a response interceptor at the specified index.
- address - Variable in class org.apache.http.HttpHost
- AGE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.6
- allHeaders - Variable in class org.apache.http.message.BasicHeaderIterator
-
An array of headers to iterate over.
- allHeaders - Variable in class org.apache.http.message.BasicListHeaderIterator
-
A list of headers to iterate over.
- ALLOW - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.1, RFC 2616 (HTTP/1.1) Section 14.7
- append(byte[], int, int) - Method in class org.apache.http.util.ByteArrayBuffer
-
Appends
lenbytes to this buffer from the given source array starting at indexoff. - append(byte[], int, int) - Method in class org.apache.http.util.CharArrayBuffer
-
Appends
lenbytes to this buffer from the given source array starting at indexoff. - append(char) - Method in class org.apache.http.util.CharArrayBuffer
-
Appends
chchar to this buffer. - append(char[], int, int) - Method in class org.apache.http.util.ByteArrayBuffer
-
Appends
lenchars to this buffer from the given source array starting at indexoff. - append(char[], int, int) - Method in class org.apache.http.util.CharArrayBuffer
-
Appends
lenchars to this buffer from the given source array starting at indexoff. - append(int) - Method in class org.apache.http.util.ByteArrayBuffer
-
Appends
bbyte to this buffer. - append(Object) - Method in class org.apache.http.util.CharArrayBuffer
-
Appends chars of the textual representation of the given object to this buffer.
- append(String) - Method in class org.apache.http.util.CharArrayBuffer
-
Appends chars of the given string to this buffer.
- append(ByteArrayBuffer, int, int) - Method in class org.apache.http.util.CharArrayBuffer
-
Appends
lenbytes to this buffer from the given source array starting at indexoff. - append(CharArrayBuffer) - Method in class org.apache.http.util.CharArrayBuffer
-
Appends all chars to this buffer from the given source buffer starting at index
0. - append(CharArrayBuffer, int, int) - Method in class org.apache.http.util.ByteArrayBuffer
-
Appends
lenchars to this buffer from the given source char array buffer starting at indexoff. - append(CharArrayBuffer, int, int) - Method in class org.apache.http.util.CharArrayBuffer
-
Appends
lenchars to this buffer from the given source buffer starting at indexoff. - appendProtocolVersion(CharArrayBuffer, ProtocolVersion) - Method in class org.apache.http.message.BasicLineFormatter
- appendProtocolVersion(CharArrayBuffer, ProtocolVersion) - Method in interface org.apache.http.message.LineFormatter
-
Formats a protocol version.
- APPLICATION_ATOM_XML - Static variable in class org.apache.http.entity.ContentType
- APPLICATION_FORM_URLENCODED - Static variable in class org.apache.http.entity.ContentType
- APPLICATION_JSON - Static variable in class org.apache.http.entity.ContentType
- APPLICATION_OCTET_STREAM - Static variable in class org.apache.http.entity.ContentType
- APPLICATION_SVG_XML - Static variable in class org.apache.http.entity.ContentType
- APPLICATION_XHTML_XML - Static variable in class org.apache.http.entity.ContentType
- APPLICATION_XML - Static variable in class org.apache.http.entity.ContentType
- Args - Class in org.apache.http.util
- Args() - Constructor for class org.apache.http.util.Args
- ASCII - Static variable in class org.apache.http.Consts
- ASCII - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- Asserts - Class in org.apache.http.util
- Asserts() - Constructor for class org.apache.http.util.Asserts
- atEnd() - Method in class org.apache.http.message.ParserCursor
- AUTHORIZATION - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.2, RFC 2616 (HTTP/1.1) Section 14.8
- available() - Method in class org.apache.http.impl.io.ChunkedInputStream
- available() - Method in class org.apache.http.impl.io.ContentLengthInputStream
- available() - Method in class org.apache.http.impl.io.IdentityInputStream
- available() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- available() - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- available() - Method in interface org.apache.http.io.BufferInfo
-
Returns available space in the buffer.
- awaitInput(int) - Method in class org.apache.http.impl.BHttpConnectionBase
B
- BasicConnFactory - Class in org.apache.http.impl.pool
-
A very basic
ConnFactoryimplementation that createsHttpClientConnectioninstances given aHttpHostinstance. - BasicConnFactory() - Constructor for class org.apache.http.impl.pool.BasicConnFactory
- BasicConnFactory(int, SocketConfig, ConnectionConfig) - Constructor for class org.apache.http.impl.pool.BasicConnFactory
- BasicConnFactory(SocketFactory, SSLSocketFactory, int, SocketConfig, ConnectionConfig) - Constructor for class org.apache.http.impl.pool.BasicConnFactory
- BasicConnFactory(SSLSocketFactory, HttpParams) - Constructor for class org.apache.http.impl.pool.BasicConnFactory
-
Deprecated.
- BasicConnFactory(SocketConfig, ConnectionConfig) - Constructor for class org.apache.http.impl.pool.BasicConnFactory
- BasicConnFactory(HttpParams) - Constructor for class org.apache.http.impl.pool.BasicConnFactory
-
Deprecated.
- BasicConnPool - Class in org.apache.http.impl.pool
-
A very basic
ConnPoolimplementation that represents a pool of blockingHttpClientConnectionconnections identified by anHttpHostinstance. - BasicConnPool() - Constructor for class org.apache.http.impl.pool.BasicConnPool
- BasicConnPool(SocketConfig, ConnectionConfig) - Constructor for class org.apache.http.impl.pool.BasicConnPool
- BasicConnPool(HttpParams) - Constructor for class org.apache.http.impl.pool.BasicConnPool
-
Deprecated.
- BasicConnPool(ConnFactory<HttpHost, HttpClientConnection>) - Constructor for class org.apache.http.impl.pool.BasicConnPool
- BasicFuture<T> - Class in org.apache.http.concurrent
-
Basic implementation of the
Futureinterface. - BasicFuture(FutureCallback<T>) - Constructor for class org.apache.http.concurrent.BasicFuture
- BasicHeader - Class in org.apache.http.message
-
Basic implementation of
Header. - BasicHeader(String, String) - Constructor for class org.apache.http.message.BasicHeader
-
Constructor with name and value
- BasicHeaderElement - Class in org.apache.http.message
-
Basic implementation of
HeaderElement - BasicHeaderElement(String, String) - Constructor for class org.apache.http.message.BasicHeaderElement
-
Constructor with name and value.
- BasicHeaderElement(String, String, NameValuePair[]) - Constructor for class org.apache.http.message.BasicHeaderElement
-
Constructor with name, value and parameters.
- BasicHeaderElementIterator - Class in org.apache.http.message
-
Basic implementation of a
HeaderElementIterator. - BasicHeaderElementIterator(HeaderIterator) - Constructor for class org.apache.http.message.BasicHeaderElementIterator
- BasicHeaderElementIterator(HeaderIterator, HeaderValueParser) - Constructor for class org.apache.http.message.BasicHeaderElementIterator
-
Creates a new instance of BasicHeaderElementIterator
- BasicHeaderIterator - Class in org.apache.http.message
-
Basic implementation of a
HeaderIterator. - BasicHeaderIterator(Header[], String) - Constructor for class org.apache.http.message.BasicHeaderIterator
-
Creates a new header iterator.
- BasicHeaderValueFormatter - Class in org.apache.http.message
-
Basic implementation for formatting header value elements.
- BasicHeaderValueFormatter() - Constructor for class org.apache.http.message.BasicHeaderValueFormatter
- BasicHeaderValueParser - Class in org.apache.http.message
-
Basic implementation for parsing header values into elements.
- BasicHeaderValueParser() - Constructor for class org.apache.http.message.BasicHeaderValueParser
- BasicHttpContext - Class in org.apache.http.protocol
-
Default implementation of
HttpContext. - BasicHttpContext() - Constructor for class org.apache.http.protocol.BasicHttpContext
- BasicHttpContext(HttpContext) - Constructor for class org.apache.http.protocol.BasicHttpContext
- BasicHttpEntity - Class in org.apache.http.entity
-
A generic streamed, non-repeatable entity that obtains its content from an
InputStream. - BasicHttpEntity() - Constructor for class org.apache.http.entity.BasicHttpEntity
-
Creates a new basic entity.
- BasicHttpEntityEnclosingRequest - Class in org.apache.http.message
-
Basic implementation of
HttpEntityEnclosingRequest. - BasicHttpEntityEnclosingRequest(String, String) - Constructor for class org.apache.http.message.BasicHttpEntityEnclosingRequest
- BasicHttpEntityEnclosingRequest(String, String, ProtocolVersion) - Constructor for class org.apache.http.message.BasicHttpEntityEnclosingRequest
- BasicHttpEntityEnclosingRequest(RequestLine) - Constructor for class org.apache.http.message.BasicHttpEntityEnclosingRequest
- BasicHttpParams - Class in org.apache.http.params
-
Deprecated.(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
- BasicHttpParams() - Constructor for class org.apache.http.params.BasicHttpParams
-
Deprecated.
- BasicHttpRequest - Class in org.apache.http.message
-
Basic implementation of
HttpRequest. - BasicHttpRequest(String, String) - Constructor for class org.apache.http.message.BasicHttpRequest
-
Creates an instance of this class using the given request method and URI.
- BasicHttpRequest(String, String, ProtocolVersion) - Constructor for class org.apache.http.message.BasicHttpRequest
-
Creates an instance of this class using the given request method, URI and the HTTP protocol version.
- BasicHttpRequest(RequestLine) - Constructor for class org.apache.http.message.BasicHttpRequest
-
Creates an instance of this class using the given request line.
- BasicHttpResponse - Class in org.apache.http.message
-
Basic implementation of
HttpResponse. - BasicHttpResponse(ProtocolVersion, int, String) - Constructor for class org.apache.http.message.BasicHttpResponse
-
Creates a response from elements of a status line.
- BasicHttpResponse(StatusLine) - Constructor for class org.apache.http.message.BasicHttpResponse
-
Creates a response from a status line.
- BasicHttpResponse(StatusLine, ReasonPhraseCatalog, Locale) - Constructor for class org.apache.http.message.BasicHttpResponse
-
Creates a new response.
- BasicLineFormatter - Class in org.apache.http.message
-
Interface for formatting elements of the HEAD section of an HTTP message.
- BasicLineFormatter() - Constructor for class org.apache.http.message.BasicLineFormatter
- BasicLineParser - Class in org.apache.http.message
-
Basic parser for lines in the head section of an HTTP message.
- BasicLineParser() - Constructor for class org.apache.http.message.BasicLineParser
-
Creates a new line parser for HTTP.
- BasicLineParser(ProtocolVersion) - Constructor for class org.apache.http.message.BasicLineParser
-
Creates a new line parser for the given HTTP-like protocol.
- BasicListHeaderIterator - Class in org.apache.http.message
-
Implementation of a
HeaderIteratorbased on aList. - BasicListHeaderIterator(List<Header>, String) - Constructor for class org.apache.http.message.BasicListHeaderIterator
-
Creates a new header iterator.
- BasicNameValuePair - Class in org.apache.http.message
-
Basic implementation of
NameValuePair. - BasicNameValuePair(String, String) - Constructor for class org.apache.http.message.BasicNameValuePair
-
Default Constructor taking a name and a value.
- BasicPoolEntry - Class in org.apache.http.impl.pool
-
A very basic
PoolEntryimplementation that represents an entry in a pool of blockingHttpClientConnections identified by anHttpHostinstance. - BasicPoolEntry(String, HttpHost, HttpClientConnection) - Constructor for class org.apache.http.impl.pool.BasicPoolEntry
- BasicRequestLine - Class in org.apache.http.message
-
Basic implementation of
RequestLine. - BasicRequestLine(String, String, ProtocolVersion) - Constructor for class org.apache.http.message.BasicRequestLine
- BasicStatusLine - Class in org.apache.http.message
-
Basic implementation of
StatusLine - BasicStatusLine(ProtocolVersion, int, String) - Constructor for class org.apache.http.message.BasicStatusLine
-
Creates a new status line with the given version, status, and reason.
- BasicTokenIterator - Class in org.apache.http.message
-
Basic implementation of a
TokenIterator. - BasicTokenIterator(HeaderIterator) - Constructor for class org.apache.http.message.BasicTokenIterator
-
Creates a new instance of
BasicTokenIterator. - BHttpConnectionBase - Class in org.apache.http.impl
-
This class serves as a base for all
HttpConnectionimplementations and provides functionality common to both client and server HTTP connections. - BHttpConnectionBase(int, int, CharsetDecoder, CharsetEncoder, MessageConstraints, ContentLengthStrategy, ContentLengthStrategy) - Constructor for class org.apache.http.impl.BHttpConnectionBase
-
Creates new instance of BHttpConnectionBase.
- bind(InputStream) - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- bind(OutputStream) - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- bind(Socket) - Method in class org.apache.http.impl.BHttpConnectionBase
-
Binds this connection to the given
Socket. - bind(Socket) - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- bind(Socket) - Method in class org.apache.http.impl.DefaultBHttpServerConnection
- buffer() - Method in class org.apache.http.util.ByteArrayBuffer
-
Returns reference to the underlying byte array.
- buffer() - Method in class org.apache.http.util.CharArrayBuffer
-
Returns reference to the underlying char array.
- BufferedHeader - Class in org.apache.http.message
-
This class represents a raw HTTP header whose content is parsed 'on demand' only when the header value needs to be consumed.
- BufferedHeader(CharArrayBuffer) - Constructor for class org.apache.http.message.BufferedHeader
-
Creates a new header from a buffer.
- BufferedHttpEntity - Class in org.apache.http.entity
-
A wrapping entity that buffers it content if necessary.
- BufferedHttpEntity(HttpEntity) - Constructor for class org.apache.http.entity.BufferedHttpEntity
-
Creates a new buffered entity wrapper.
- BufferInfo - Interface in org.apache.http.io
-
Basic buffer properties.
- build() - Method in class org.apache.http.config.ConnectionConfig.Builder
- build() - Method in class org.apache.http.config.MessageConstraints.Builder
- build() - Method in class org.apache.http.config.RegistryBuilder
- build() - Method in class org.apache.http.config.SocketConfig.Builder
- build() - Method in class org.apache.http.protocol.HttpProcessorBuilder
- ByteArrayBuffer - Class in org.apache.http.util
-
A resizable byte array.
- ByteArrayBuffer(int) - Constructor for class org.apache.http.util.ByteArrayBuffer
-
Creates an instance of
ByteArrayBufferwith the given initial capacity. - ByteArrayEntity - Class in org.apache.http.entity
-
A self contained, repeatable entity that obtains its content from a byte array.
- ByteArrayEntity(byte[]) - Constructor for class org.apache.http.entity.ByteArrayEntity
- ByteArrayEntity(byte[], int, int) - Constructor for class org.apache.http.entity.ByteArrayEntity
- ByteArrayEntity(byte[], int, int, ContentType) - Constructor for class org.apache.http.entity.ByteArrayEntity
- ByteArrayEntity(byte[], ContentType) - Constructor for class org.apache.http.entity.ByteArrayEntity
- byteAt(int) - Method in class org.apache.http.util.ByteArrayBuffer
-
Returns the
bytevalue in this buffer at the specified index.
C
- CACHE_CONTROL - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.9
- cancel() - Method in class org.apache.http.concurrent.BasicFuture
- cancel() - Method in interface org.apache.http.concurrent.Cancellable
- cancel(boolean) - Method in class org.apache.http.concurrent.BasicFuture
- Cancellable - Interface in org.apache.http.concurrent
-
A Cancellable represents a process or an operation that can be canceled.
- cancelled() - Method in interface org.apache.http.concurrent.FutureCallback
- canResponseHaveBody(HttpRequest, HttpResponse) - Method in class org.apache.http.protocol.HttpRequestExecutor
-
Decide whether a response comes with an entity.
- capacity() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- capacity() - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- capacity() - Method in interface org.apache.http.io.BufferInfo
-
Returns total capacity of the buffer
- capacity() - Method in class org.apache.http.util.ByteArrayBuffer
-
Returns the current capacity.
- capacity() - Method in class org.apache.http.util.CharArrayBuffer
-
Returns the current capacity.
- CharArrayBuffer - Class in org.apache.http.util
-
A resizable char array.
- CharArrayBuffer(int) - Constructor for class org.apache.http.util.CharArrayBuffer
-
Creates an instance of
CharArrayBufferwith the given initial capacity. - charAt(int) - Method in class org.apache.http.util.CharArrayBuffer
-
Returns the
charvalue in this buffer at the specified index. - CHARSET_PARAM - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- CharsetUtils - Class in org.apache.http.util
- CharsetUtils() - Constructor for class org.apache.http.util.CharsetUtils
- check(boolean, String) - Static method in class org.apache.http.util.Args
- check(boolean, String) - Static method in class org.apache.http.util.Asserts
- check(boolean, String, Object...) - Static method in class org.apache.http.util.Args
- check(boolean, String, Object...) - Static method in class org.apache.http.util.Asserts
- CHUNK_CODING - Static variable in class org.apache.http.protocol.HTTP
-
Transfer encoding definitions
- chunked - Variable in class org.apache.http.entity.AbstractHttpEntity
- CHUNKED - Static variable in interface org.apache.http.entity.ContentLengthStrategy
- ChunkedInputStream - Class in org.apache.http.impl.io
-
Implements chunked transfer coding.
- ChunkedInputStream(SessionInputBuffer) - Constructor for class org.apache.http.impl.io.ChunkedInputStream
-
Wraps session input stream and reads chunk coded input.
- ChunkedOutputStream - Class in org.apache.http.impl.io
-
Implements chunked transfer coding.
- ChunkedOutputStream(int, SessionOutputBuffer) - Constructor for class org.apache.http.impl.io.ChunkedOutputStream
-
Wraps a session output buffer and chunk-encodes the output.
- ChunkedOutputStream(SessionOutputBuffer) - Constructor for class org.apache.http.impl.io.ChunkedOutputStream
-
Deprecated.
- ChunkedOutputStream(SessionOutputBuffer, int) - Constructor for class org.apache.http.impl.io.ChunkedOutputStream
-
Deprecated.
- clear() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- clear() - Method in class org.apache.http.message.HeaderGroup
-
Removes any contained headers.
- clear() - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.Removes all parameters from this collection.
- clear() - Method in class org.apache.http.protocol.BasicHttpContext
- clear() - Method in class org.apache.http.util.ByteArrayBuffer
-
Clears content of the buffer.
- clear() - Method in class org.apache.http.util.CharArrayBuffer
-
Clears content of the buffer.
- clearRequestInterceptors() - Method in interface org.apache.http.protocol.HttpRequestInterceptorList
-
Deprecated.Removes all request interceptors from this list.
- clearResponseInterceptors() - Method in interface org.apache.http.protocol.HttpResponseInterceptorList
-
Deprecated.Removes all response interceptors from this list.
- clone() - Method in class org.apache.http.config.ConnectionConfig
- clone() - Method in class org.apache.http.config.MessageConstraints
- clone() - Method in class org.apache.http.config.SocketConfig
- clone() - Method in class org.apache.http.entity.ByteArrayEntity
- clone() - Method in class org.apache.http.entity.FileEntity
- clone() - Method in class org.apache.http.entity.StringEntity
- clone() - Method in class org.apache.http.HttpHost
- clone() - Method in class org.apache.http.message.BasicHeader
- clone() - Method in class org.apache.http.message.BasicHeaderElement
- clone() - Method in class org.apache.http.message.BasicNameValuePair
- clone() - Method in class org.apache.http.message.BasicRequestLine
- clone() - Method in class org.apache.http.message.BasicStatusLine
- clone() - Method in class org.apache.http.message.BufferedHeader
- clone() - Method in class org.apache.http.message.HeaderGroup
- clone() - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.Clones the instance.
- clone() - Method in class org.apache.http.ProtocolVersion
- close() - Method in interface org.apache.http.HttpConnection
-
Closes this connection gracefully.
- close() - Method in class org.apache.http.impl.BHttpConnectionBase
- close() - Method in class org.apache.http.impl.io.ChunkedInputStream
-
Upon close, this reads the remainder of the chunked message, leaving the underlying socket at a position to start reading the next response without scanning.
- close() - Method in class org.apache.http.impl.io.ChunkedOutputStream
-
Finishes writing to the underlying stream, but does NOT close the underlying stream.
- close() - Method in class org.apache.http.impl.io.ContentLengthInputStream
-
Reads until the end of the known length of content.
- close() - Method in class org.apache.http.impl.io.ContentLengthOutputStream
-
Does not close the underlying socket output.
- close() - Method in class org.apache.http.impl.io.IdentityInputStream
- close() - Method in class org.apache.http.impl.io.IdentityOutputStream
-
Does not close the underlying socket output.
- close() - Method in class org.apache.http.impl.pool.BasicPoolEntry
- close() - Method in class org.apache.http.pool.PoolEntry
-
Invalidates the pool entry and closes the pooled connection associated with it.
- closeExpired() - Method in class org.apache.http.pool.AbstractConnPool
-
Closes expired connections and evicts them from the pool.
- closeIdle(long, TimeUnit) - Method in class org.apache.http.pool.AbstractConnPool
-
Closes connections that have been idle longer than the given period of time and evicts them from the pool.
- compareToVersion(ProtocolVersion) - Method in class org.apache.http.ProtocolVersion
-
Compares this protocol version with another one.
- completed(T) - Method in class org.apache.http.concurrent.BasicFuture
- completed(T) - Method in interface org.apache.http.concurrent.FutureCallback
- CONN_CLOSE - Static variable in class org.apache.http.protocol.HTTP
-
HTTP connection control
- CONN_DIRECTIVE - Static variable in class org.apache.http.protocol.HTTP
- CONN_KEEP_ALIVE - Static variable in class org.apache.http.protocol.HTTP
- CONNECTION - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.10
- CONNECTION_TIMEOUT - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Determines the timeout in milliseconds until a connection is established.
- ConnectionClosedException - Exception in org.apache.http
-
Signals that the connection has been closed unexpectedly.
- ConnectionClosedException(String) - Constructor for exception org.apache.http.ConnectionClosedException
-
Creates a new ConnectionClosedException with the specified detail message.
- ConnectionConfig - Class in org.apache.http.config
-
HTTP connection configuration.
- ConnectionConfig.Builder - Class in org.apache.http.config
- ConnectionReuseStrategy - Interface in org.apache.http
-
Interface for deciding whether a connection can be re-used for subsequent requests and should be kept alive.
- ConnFactory<T,C> - Interface in org.apache.http.pool
-
Factory for poolable blocking connections.
- ConnPool<T,E> - Interface in org.apache.http.pool
-
ConnPool represents a shared pool connections can be leased from and released back to.
- ConnPoolControl<T> - Interface in org.apache.http.pool
-
Interface to control runtime properties of a
ConnPoolsuch as maximum total number of connections or maximum connections per route allowed. - ConnSupport - Class in org.apache.http.impl
-
Connection support methods.
- ConnSupport() - Constructor for class org.apache.http.impl.ConnSupport
- Consts - Class in org.apache.http
-
Commons constants.
- consume(HttpEntity) - Static method in class org.apache.http.util.EntityUtils
-
Ensures that the entity content is fully consumed and the content stream, if exists, is closed.
- consumeContent() - Method in class org.apache.http.entity.AbstractHttpEntity
-
Deprecated.(4.1) Either use
HttpEntity.getContent()and callInputStream.close()on that; otherwise callHttpEntity.writeTo(java.io.OutputStream)which is required to free the resources. - consumeContent() - Method in class org.apache.http.entity.HttpEntityWrapper
-
Deprecated.(4.1) Either use
HttpEntityWrapper.getContent()and callInputStream.close()on that; otherwise callHttpEntityWrapper.writeTo(OutputStream)which is required to free the resources. - consumeContent() - Method in interface org.apache.http.HttpEntity
-
Deprecated.(4.1) Use
EntityUtils.consume(HttpEntity) - consumeQuietly(HttpEntity) - Static method in class org.apache.http.util.EntityUtils
-
Ensures that the entity content is fully consumed and the content stream, if exists, is closed.
- containsHeader(String) - Method in interface org.apache.http.HttpMessage
-
Checks if a certain header is present in this message.
- containsHeader(String) - Method in class org.apache.http.message.AbstractHttpMessage
- containsHeader(String) - Method in class org.apache.http.message.HeaderGroup
-
Tests if headers with the given name are contained within this group.
- content - Variable in class org.apache.http.entity.ByteArrayEntity
-
Deprecated.(4.2)
- content - Variable in class org.apache.http.entity.StringEntity
- CONTENT_ENCODING - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.3, RFC 2616 (HTTP/1.1) Section 14.11
- CONTENT_ENCODING - Static variable in class org.apache.http.protocol.HTTP
- CONTENT_LANGUAGE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.12
- CONTENT_LEN - Static variable in class org.apache.http.protocol.HTTP
- CONTENT_LENGTH - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.4, RFC 2616 (HTTP/1.1) Section 14.13
- CONTENT_LOCATION - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.14
- CONTENT_MD5 - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.15
- CONTENT_RANGE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.16
- CONTENT_TYPE - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.5, RFC 2616 (HTTP/1.1) Section 14.17
- CONTENT_TYPE - Static variable in class org.apache.http.protocol.HTTP
- contentEncoding - Variable in class org.apache.http.entity.AbstractHttpEntity
- ContentLengthInputStream - Class in org.apache.http.impl.io
-
Input stream that cuts off after a defined number of bytes.
- ContentLengthInputStream(SessionInputBuffer, long) - Constructor for class org.apache.http.impl.io.ContentLengthInputStream
-
Wraps a session input buffer and cuts off output after a defined number of bytes.
- ContentLengthOutputStream - Class in org.apache.http.impl.io
-
Output stream that cuts off after a defined number of bytes.
- ContentLengthOutputStream(SessionOutputBuffer, long) - Constructor for class org.apache.http.impl.io.ContentLengthOutputStream
-
Wraps a session output buffer and cuts off output after a defined number of bytes.
- ContentLengthStrategy - Interface in org.apache.http.entity
-
Represents a strategy to determine length of the enclosed content entity based on properties of the HTTP message.
- ContentProducer - Interface in org.apache.http.entity
-
An abstract entity content producer.
- ContentTooLongException - Exception in org.apache.http
-
Signals that HTTP entity content is too long.
- ContentTooLongException(String) - Constructor for exception org.apache.http.ContentTooLongException
-
Creates a new ContentTooLongException with the specified detail message.
- contentType - Variable in class org.apache.http.entity.AbstractHttpEntity
- ContentType - Class in org.apache.http.entity
-
Content type information consisting of a MIME type and an optional charset.
- copy() - Method in class org.apache.http.message.HeaderGroup
-
Returns a copy of this object
- copy() - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.Creates a copy of these parameters.
- copy() - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Creates a copy of these parameters.
- copy(ConnectionConfig) - Static method in class org.apache.http.config.ConnectionConfig
- copy(MessageConstraints) - Static method in class org.apache.http.config.MessageConstraints
- copy(SocketConfig) - Static method in class org.apache.http.config.SocketConfig
- copyParams(HttpParams) - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.Copies the locally defined parameters to the argument parameters.
- CoreConnectionPNames - Interface in org.apache.http.params
-
Deprecated.(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
- CoreProtocolPNames - Interface in org.apache.http.params
-
Deprecated.(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
- CR - Static variable in class org.apache.http.Consts
- CR - Static variable in class org.apache.http.protocol.HTTP
- create() - Static method in class org.apache.http.config.RegistryBuilder
- create() - Static method in class org.apache.http.protocol.HttpCoreContext
- create() - Static method in class org.apache.http.protocol.HttpProcessorBuilder
- create(String) - Static method in class org.apache.http.entity.ContentType
-
Creates a new instance of
ContentTypewithout a charset. - create(String, String) - Static method in class org.apache.http.entity.ContentType
-
Creates a new instance of
ContentType. - create(String, Charset) - Static method in class org.apache.http.entity.ContentType
-
Creates a new instance of
ContentType. - create(Socket, HttpParams) - Method in class org.apache.http.impl.pool.BasicConnFactory
-
Deprecated.(4.3) no longer used.
- create(HttpHost) - Method in class org.apache.http.impl.pool.BasicConnFactory
- create(SessionInputBuffer, MessageConstraints) - Method in class org.apache.http.impl.io.DefaultHttpRequestParserFactory
- create(SessionInputBuffer, MessageConstraints) - Method in class org.apache.http.impl.io.DefaultHttpResponseParserFactory
- create(SessionInputBuffer, MessageConstraints) - Method in interface org.apache.http.io.HttpMessageParserFactory
- create(SessionOutputBuffer) - Method in class org.apache.http.impl.io.DefaultHttpRequestWriterFactory
- create(SessionOutputBuffer) - Method in class org.apache.http.impl.io.DefaultHttpResponseWriterFactory
- create(SessionOutputBuffer) - Method in interface org.apache.http.io.HttpMessageWriterFactory
- create(T) - Method in interface org.apache.http.pool.ConnFactory
- createConnection(Socket) - Method in interface org.apache.http.HttpConnectionFactory
- createConnection(Socket) - Method in class org.apache.http.impl.DefaultBHttpClientConnectionFactory
- createConnection(Socket) - Method in class org.apache.http.impl.DefaultBHttpServerConnectionFactory
- createDecoder(ConnectionConfig) - Static method in class org.apache.http.impl.ConnSupport
- createEncoder(ConnectionConfig) - Static method in class org.apache.http.impl.ConnSupport
- createEntry(HttpHost, HttpClientConnection) - Method in class org.apache.http.impl.pool.BasicConnPool
- createEntry(T, C) - Method in class org.apache.http.pool.AbstractConnPool
-
Creates a new entry for the given connection with the given route.
- createHeaderElement(String, String, NameValuePair[]) - Method in class org.apache.http.message.BasicHeaderValueParser
-
Creates a header element.
- createInputStream(long, SessionInputBuffer) - Method in class org.apache.http.impl.BHttpConnectionBase
- createNameValuePair(String, String) - Method in class org.apache.http.message.BasicHeaderValueParser
-
Creates a name-value pair.
- createOutputStream(long, SessionOutputBuffer) - Method in class org.apache.http.impl.BHttpConnectionBase
- createProtocolVersion(int, int) - Method in class org.apache.http.message.BasicLineParser
-
Creates a protocol version.
- createRequestLine(String, String, ProtocolVersion) - Method in class org.apache.http.message.BasicLineParser
-
Instantiates a new request line.
- createStatusLine(ProtocolVersion, int, String) - Method in class org.apache.http.message.BasicLineParser
-
Instantiates a new status line.
- createToken(String, int, int) - Method in class org.apache.http.message.BasicTokenIterator
-
Creates a new token to be returned.
- createTokenIterator(HeaderIterator) - Method in class org.apache.http.impl.DefaultConnectionReuseStrategy
-
Creates a token iterator from a header iterator.
- currentHeader - Variable in class org.apache.http.message.BasicTokenIterator
-
The value of the current header.
- currentIndex - Variable in class org.apache.http.message.BasicHeaderIterator
-
The position of the next header in
allHeaders. - currentIndex - Variable in class org.apache.http.message.BasicListHeaderIterator
-
The position of the next header in
allHeaders. - currentToken - Variable in class org.apache.http.message.BasicTokenIterator
-
The token to be returned by the next call to
BasicTokenIterator.nextToken(). - custom() - Static method in class org.apache.http.config.ConnectionConfig
- custom() - Static method in class org.apache.http.config.MessageConstraints
- custom() - Static method in class org.apache.http.config.SocketConfig
D
- DATE - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.6, RFC 2616 (HTTP/1.1) Section 14.18
- DATE_HEADER - Static variable in class org.apache.http.protocol.HTTP
- DAV - Static variable in class org.apache.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.1
- DEF_CONTENT_CHARSET - Static variable in class org.apache.http.protocol.HTTP
- DEF_PROTOCOL_CHARSET - Static variable in class org.apache.http.protocol.HTTP
- DEFAULT - Static variable in class org.apache.http.config.ConnectionConfig
- DEFAULT - Static variable in class org.apache.http.config.MessageConstraints
- DEFAULT - Static variable in class org.apache.http.config.SocketConfig
- DEFAULT - Static variable in class org.apache.http.message.BasicHeaderValueFormatter
-
Deprecated.(4.3) use
BasicHeaderValueFormatter.INSTANCE - DEFAULT - Static variable in class org.apache.http.message.BasicHeaderValueParser
-
Deprecated.(4.3) use
BasicHeaderValueParser.INSTANCE - DEFAULT - Static variable in class org.apache.http.message.BasicLineFormatter
-
Deprecated.(4.3) use
BasicLineFormatter.INSTANCE - DEFAULT - Static variable in class org.apache.http.message.BasicLineParser
-
Deprecated.(4.3) use
BasicLineParser.INSTANCE - DEFAULT_BINARY - Static variable in class org.apache.http.entity.ContentType
- DEFAULT_CONTENT_CHARSET - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- DEFAULT_CONTENT_TYPE - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- DEFAULT_PROTOCOL_CHARSET - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- DEFAULT_SCHEME_NAME - Static variable in class org.apache.http.HttpHost
-
The default scheme is "http".
- DEFAULT_TEXT - Static variable in class org.apache.http.entity.ContentType
- DEFAULT_WAIT_FOR_CONTINUE - Static variable in class org.apache.http.protocol.HttpRequestExecutor
- DefaultBHttpClientConnection - Class in org.apache.http.impl
-
Default implementation of
HttpClientConnection. - DefaultBHttpClientConnection(int) - Constructor for class org.apache.http.impl.DefaultBHttpClientConnection
- DefaultBHttpClientConnection(int, int, CharsetDecoder, CharsetEncoder, MessageConstraints, ContentLengthStrategy, ContentLengthStrategy, HttpMessageWriterFactory<HttpRequest>, HttpMessageParserFactory<HttpResponse>) - Constructor for class org.apache.http.impl.DefaultBHttpClientConnection
-
Creates new instance of DefaultBHttpClientConnection.
- DefaultBHttpClientConnection(int, CharsetDecoder, CharsetEncoder, MessageConstraints) - Constructor for class org.apache.http.impl.DefaultBHttpClientConnection
- DefaultBHttpClientConnectionFactory - Class in org.apache.http.impl
-
Default factory for
HttpClientConnections. - DefaultBHttpClientConnectionFactory() - Constructor for class org.apache.http.impl.DefaultBHttpClientConnectionFactory
- DefaultBHttpClientConnectionFactory(ConnectionConfig) - Constructor for class org.apache.http.impl.DefaultBHttpClientConnectionFactory
- DefaultBHttpClientConnectionFactory(ConnectionConfig, ContentLengthStrategy, ContentLengthStrategy, HttpMessageWriterFactory<HttpRequest>, HttpMessageParserFactory<HttpResponse>) - Constructor for class org.apache.http.impl.DefaultBHttpClientConnectionFactory
- DefaultBHttpClientConnectionFactory(ConnectionConfig, HttpMessageWriterFactory<HttpRequest>, HttpMessageParserFactory<HttpResponse>) - Constructor for class org.apache.http.impl.DefaultBHttpClientConnectionFactory
- DefaultBHttpServerConnection - Class in org.apache.http.impl
-
Default implementation of
HttpServerConnection. - DefaultBHttpServerConnection(int) - Constructor for class org.apache.http.impl.DefaultBHttpServerConnection
- DefaultBHttpServerConnection(int, int, CharsetDecoder, CharsetEncoder, MessageConstraints, ContentLengthStrategy, ContentLengthStrategy, HttpMessageParserFactory<HttpRequest>, HttpMessageWriterFactory<HttpResponse>) - Constructor for class org.apache.http.impl.DefaultBHttpServerConnection
-
Creates new instance of DefaultBHttpServerConnection.
- DefaultBHttpServerConnection(int, CharsetDecoder, CharsetEncoder, MessageConstraints) - Constructor for class org.apache.http.impl.DefaultBHttpServerConnection
- DefaultBHttpServerConnectionFactory - Class in org.apache.http.impl
-
Default factory for
HttpServerConnections. - DefaultBHttpServerConnectionFactory() - Constructor for class org.apache.http.impl.DefaultBHttpServerConnectionFactory
- DefaultBHttpServerConnectionFactory(ConnectionConfig) - Constructor for class org.apache.http.impl.DefaultBHttpServerConnectionFactory
- DefaultBHttpServerConnectionFactory(ConnectionConfig, ContentLengthStrategy, ContentLengthStrategy, HttpMessageParserFactory<HttpRequest>, HttpMessageWriterFactory<HttpResponse>) - Constructor for class org.apache.http.impl.DefaultBHttpServerConnectionFactory
- DefaultBHttpServerConnectionFactory(ConnectionConfig, HttpMessageParserFactory<HttpRequest>, HttpMessageWriterFactory<HttpResponse>) - Constructor for class org.apache.http.impl.DefaultBHttpServerConnectionFactory
- DefaultConnectionReuseStrategy - Class in org.apache.http.impl
-
Default implementation of a strategy deciding about connection re-use.
- DefaultConnectionReuseStrategy() - Constructor for class org.apache.http.impl.DefaultConnectionReuseStrategy
- DefaultHttpRequestFactory - Class in org.apache.http.impl
-
Default factory for creating
HttpRequestobjects. - DefaultHttpRequestFactory() - Constructor for class org.apache.http.impl.DefaultHttpRequestFactory
- DefaultHttpRequestParser - Class in org.apache.http.impl.io
-
HTTP request parser that obtain its input from an instance of
SessionInputBuffer. - DefaultHttpRequestParser(SessionInputBuffer) - Constructor for class org.apache.http.impl.io.DefaultHttpRequestParser
- DefaultHttpRequestParser(SessionInputBuffer, MessageConstraints) - Constructor for class org.apache.http.impl.io.DefaultHttpRequestParser
- DefaultHttpRequestParser(SessionInputBuffer, LineParser, HttpRequestFactory, MessageConstraints) - Constructor for class org.apache.http.impl.io.DefaultHttpRequestParser
-
Creates new instance of DefaultHttpRequestParser.
- DefaultHttpRequestParser(SessionInputBuffer, LineParser, HttpRequestFactory, HttpParams) - Constructor for class org.apache.http.impl.io.DefaultHttpRequestParser
- DefaultHttpRequestParserFactory - Class in org.apache.http.impl.io
-
Default factory for request message parsers.
- DefaultHttpRequestParserFactory() - Constructor for class org.apache.http.impl.io.DefaultHttpRequestParserFactory
- DefaultHttpRequestParserFactory(LineParser, HttpRequestFactory) - Constructor for class org.apache.http.impl.io.DefaultHttpRequestParserFactory
- DefaultHttpRequestWriter - Class in org.apache.http.impl.io
-
HTTP request writer that serializes its output to an instance of
SessionOutputBuffer. - DefaultHttpRequestWriter(SessionOutputBuffer) - Constructor for class org.apache.http.impl.io.DefaultHttpRequestWriter
- DefaultHttpRequestWriter(SessionOutputBuffer, LineFormatter) - Constructor for class org.apache.http.impl.io.DefaultHttpRequestWriter
-
Creates an instance of DefaultHttpRequestWriter.
- DefaultHttpRequestWriterFactory - Class in org.apache.http.impl.io
-
Default factory for request message writers.
- DefaultHttpRequestWriterFactory() - Constructor for class org.apache.http.impl.io.DefaultHttpRequestWriterFactory
- DefaultHttpRequestWriterFactory(LineFormatter) - Constructor for class org.apache.http.impl.io.DefaultHttpRequestWriterFactory
- DefaultHttpResponseFactory - Class in org.apache.http.impl
-
Default factory for creating
HttpResponseobjects. - DefaultHttpResponseFactory() - Constructor for class org.apache.http.impl.DefaultHttpResponseFactory
-
Creates a new response factory with the default catalog.
- DefaultHttpResponseFactory(ReasonPhraseCatalog) - Constructor for class org.apache.http.impl.DefaultHttpResponseFactory
-
Creates a new response factory with the given catalog.
- DefaultHttpResponseParser - Class in org.apache.http.impl.io
-
HTTP response parser that obtain its input from an instance of
SessionInputBuffer. - DefaultHttpResponseParser(SessionInputBuffer) - Constructor for class org.apache.http.impl.io.DefaultHttpResponseParser
- DefaultHttpResponseParser(SessionInputBuffer, MessageConstraints) - Constructor for class org.apache.http.impl.io.DefaultHttpResponseParser
- DefaultHttpResponseParser(SessionInputBuffer, LineParser, HttpResponseFactory, MessageConstraints) - Constructor for class org.apache.http.impl.io.DefaultHttpResponseParser
-
Creates new instance of DefaultHttpResponseParser.
- DefaultHttpResponseParser(SessionInputBuffer, LineParser, HttpResponseFactory, HttpParams) - Constructor for class org.apache.http.impl.io.DefaultHttpResponseParser
- DefaultHttpResponseParserFactory - Class in org.apache.http.impl.io
-
Default factory for response message parsers.
- DefaultHttpResponseParserFactory() - Constructor for class org.apache.http.impl.io.DefaultHttpResponseParserFactory
- DefaultHttpResponseParserFactory(LineParser, HttpResponseFactory) - Constructor for class org.apache.http.impl.io.DefaultHttpResponseParserFactory
- DefaultHttpResponseWriter - Class in org.apache.http.impl.io
-
HTTP response writer that serializes its output to an instance of
SessionOutputBuffer. - DefaultHttpResponseWriter(SessionOutputBuffer) - Constructor for class org.apache.http.impl.io.DefaultHttpResponseWriter
- DefaultHttpResponseWriter(SessionOutputBuffer, LineFormatter) - Constructor for class org.apache.http.impl.io.DefaultHttpResponseWriter
-
Creates an instance of DefaultHttpResponseWriter.
- DefaultHttpResponseWriterFactory - Class in org.apache.http.impl.io
-
Default factory for response message writers.
- DefaultHttpResponseWriterFactory() - Constructor for class org.apache.http.impl.io.DefaultHttpResponseWriterFactory
- DefaultHttpResponseWriterFactory(LineFormatter) - Constructor for class org.apache.http.impl.io.DefaultHttpResponseWriterFactory
- DEPTH - Static variable in class org.apache.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.2
- DESTINATION - Static variable in class org.apache.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.3
- determineLength(HttpMessage) - Method in interface org.apache.http.entity.ContentLengthStrategy
-
Returns length of the given message in bytes.
- determineLength(HttpMessage) - Method in class org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy
- determineLength(HttpMessage) - Method in class org.apache.http.impl.entity.LaxContentLengthStrategy
- determineLength(HttpMessage) - Method in class org.apache.http.impl.entity.StrictContentLengthStrategy
- determineLocale(HttpContext) - Method in class org.apache.http.impl.DefaultHttpResponseFactory
-
Determines the locale of the response.
- DisallowIdentityContentLengthStrategy - Class in org.apache.http.impl.entity
-
Decorator for
ContentLengthStrategyimplementations that disallows the use of identity transfer encoding. - DisallowIdentityContentLengthStrategy(ContentLengthStrategy) - Constructor for class org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy
- doFlush() - Method in class org.apache.http.impl.BHttpConnectionBase
- doFormatHeader(CharArrayBuffer, Header) - Method in class org.apache.http.message.BasicLineFormatter
-
Actually formats a header.
- doFormatRequestLine(CharArrayBuffer, RequestLine) - Method in class org.apache.http.message.BasicLineFormatter
-
Actually formats a request line.
- doFormatStatusLine(CharArrayBuffer, StatusLine) - Method in class org.apache.http.message.BasicLineFormatter
-
Actually formats a status line.
- doFormatValue(CharArrayBuffer, String, boolean) - Method in class org.apache.http.message.BasicHeaderValueFormatter
-
Actually formats the value of a name-value pair.
- doReceiveResponse(HttpRequest, HttpClientConnection, HttpContext) - Method in class org.apache.http.protocol.HttpRequestExecutor
-
Waits for and receives a response.
- doSendRequest(HttpRequest, HttpClientConnection, HttpContext) - Method in class org.apache.http.protocol.HttpRequestExecutor
-
Send the given request over the given connection.
- doService(HttpRequest, HttpResponse, HttpContext) - Method in class org.apache.http.protocol.HttpService
-
The default implementation of this method attempts to resolve an
HttpRequestHandlerfor the request URI of the given request and, if found, executes itsHttpRequestHandler.handle(HttpRequest, HttpResponse, HttpContext)method.
E
- EncodingUtils - Class in org.apache.http.util
-
The home for utility methods that handle various encoding tasks.
- EnglishReasonPhraseCatalog - Class in org.apache.http.impl
-
English reason phrases for HTTP status codes.
- EnglishReasonPhraseCatalog() - Constructor for class org.apache.http.impl.EnglishReasonPhraseCatalog
-
Restricted default constructor, for derived classes.
- ensureCapacity(int) - Method in class org.apache.http.util.ByteArrayBuffer
-
Ensures that the capacity is at least equal to the specified minimum.
- ensureCapacity(int) - Method in class org.apache.http.util.CharArrayBuffer
-
Ensures that the capacity is at least equal to the specified minimum.
- ensureOpen() - Method in class org.apache.http.impl.BHttpConnectionBase
- EntityTemplate - Class in org.apache.http.entity
-
Entity that delegates the process of content generation to a
ContentProducer. - EntityTemplate(ContentProducer) - Constructor for class org.apache.http.entity.EntityTemplate
- EntityUtils - Class in org.apache.http.util
-
Static helpers for dealing with
HttpEntitys. - enumAvailable(PoolEntryCallback<T, C>) - Method in class org.apache.http.pool.AbstractConnPool
-
Enumerates all available connections.
- enumLeased(PoolEntryCallback<T, C>) - Method in class org.apache.http.pool.AbstractConnPool
-
Enumerates all leased connections.
- EofSensor - Interface in org.apache.http.io
-
Deprecated.(4.3) no longer used.
- equals(Object) - Method in class org.apache.http.HttpHost
- equals(Object) - Method in class org.apache.http.message.BasicHeaderElement
- equals(Object) - Method in class org.apache.http.message.BasicNameValuePair
- equals(Object) - Method in class org.apache.http.ProtocolVersion
-
Checks equality of this protocol version with an object.
- equals(Object[], Object[]) - Static method in class org.apache.http.util.LangUtils
-
Check if two object arrays are equal.
- equals(Object, Object) - Static method in class org.apache.http.util.LangUtils
-
Check if two objects are equal.
- estimateElementsLen(HeaderElement[]) - Method in class org.apache.http.message.BasicHeaderValueFormatter
-
Estimates the length of formatted header elements.
- estimateHeaderElementLen(HeaderElement) - Method in class org.apache.http.message.BasicHeaderValueFormatter
-
Estimates the length of a formatted header element.
- estimateNameValuePairLen(NameValuePair) - Method in class org.apache.http.message.BasicHeaderValueFormatter
-
Estimates the length of a formatted name-value pair.
- estimateParametersLen(NameValuePair[]) - Method in class org.apache.http.message.BasicHeaderValueFormatter
-
Estimates the length of formatted parameters.
- estimateProtocolVersionLen(ProtocolVersion) - Method in class org.apache.http.message.BasicLineFormatter
-
Guesses the length of a formatted protocol version.
- ETAG - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.19
- execute(HttpRequest, HttpClientConnection, HttpContext) - Method in class org.apache.http.protocol.HttpRequestExecutor
-
Sends the request and obtain a response.
- EXPECT - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.20
- EXPECT_CONTINUE - Static variable in class org.apache.http.protocol.HTTP
-
HTTP expectations
- EXPECT_DIRECTIVE - Static variable in class org.apache.http.protocol.HTTP
- expectContinue() - Method in interface org.apache.http.HttpEntityEnclosingRequest
-
Tells if this request should use the expect-continue handshake.
- expectContinue() - Method in class org.apache.http.message.BasicHttpEntityEnclosingRequest
- EXPIRES - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.7, RFC 2616 (HTTP/1.1) Section 14.21
F
- failed(Exception) - Method in class org.apache.http.concurrent.BasicFuture
- failed(Exception) - Method in interface org.apache.http.concurrent.FutureCallback
- file - Variable in class org.apache.http.entity.FileEntity
- FileEntity - Class in org.apache.http.entity
-
A self contained, repeatable entity that obtains its content from a file.
- FileEntity(File) - Constructor for class org.apache.http.entity.FileEntity
- FileEntity(File, String) - Constructor for class org.apache.http.entity.FileEntity
-
Deprecated.(4.1.3)
FileEntity(File, ContentType) - FileEntity(File, ContentType) - Constructor for class org.apache.http.entity.FileEntity
- fillBuffer() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- filterHeader(int) - Method in class org.apache.http.message.BasicHeaderIterator
-
Checks whether a header is part of the iteration.
- filterHeader(int) - Method in class org.apache.http.message.BasicListHeaderIterator
-
Checks whether a header is part of the iteration.
- findNext(int) - Method in class org.apache.http.message.BasicHeaderIterator
-
Determines the index of the next header.
- findNext(int) - Method in class org.apache.http.message.BasicListHeaderIterator
-
Determines the index of the next header.
- findNext(int) - Method in class org.apache.http.message.BasicTokenIterator
-
Determines the next token.
- findTokenEnd(int) - Method in class org.apache.http.message.BasicTokenIterator
-
Determines the ending position of the current token.
- findTokenSeparator(int) - Method in class org.apache.http.message.BasicTokenIterator
-
Determines the position of the next token separator.
- findTokenStart(int) - Method in class org.apache.http.message.BasicTokenIterator
-
Determines the starting position of the next token.
- finish() - Method in class org.apache.http.impl.io.ChunkedOutputStream
-
Must be called to ensure the internal cache is flushed and the closing chunk is written.
- flush() - Method in interface org.apache.http.HttpClientConnection
-
Writes out all pending buffered data over the open connection.
- flush() - Method in interface org.apache.http.HttpServerConnection
-
Sends all pending buffered data over this connection.
- flush() - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- flush() - Method in class org.apache.http.impl.DefaultBHttpServerConnection
- flush() - Method in class org.apache.http.impl.io.ChunkedOutputStream
-
Flushes the content buffer and the underlying stream.
- flush() - Method in class org.apache.http.impl.io.ContentLengthOutputStream
- flush() - Method in class org.apache.http.impl.io.IdentityOutputStream
- flush() - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- flush() - Method in interface org.apache.http.io.SessionOutputBuffer
-
Flushes this session buffer and forces any buffered output bytes to be written out.
- flushCache() - Method in class org.apache.http.impl.io.ChunkedOutputStream
-
Writes the cache out onto the underlying stream
- flushCacheWithAppend(byte[], int, int) - Method in class org.apache.http.impl.io.ChunkedOutputStream
-
Writes the cache and bufferToAppend to the underlying stream as one large chunk
- formatAddress(StringBuilder, SocketAddress) - Static method in class org.apache.http.util.NetUtils
- formatElements(HeaderElement[], boolean, HeaderValueFormatter) - Static method in class org.apache.http.message.BasicHeaderValueFormatter
-
Formats an array of header elements.
- formatElements(CharArrayBuffer, HeaderElement[], boolean) - Method in class org.apache.http.message.BasicHeaderValueFormatter
- formatElements(CharArrayBuffer, HeaderElement[], boolean) - Method in interface org.apache.http.message.HeaderValueFormatter
-
Formats an array of header elements.
- formatHeader(Header, LineFormatter) - Static method in class org.apache.http.message.BasicLineFormatter
-
Formats a header.
- formatHeader(CharArrayBuffer, Header) - Method in class org.apache.http.message.BasicLineFormatter
- formatHeader(CharArrayBuffer, Header) - Method in interface org.apache.http.message.LineFormatter
-
Formats a header.
- formatHeaderElement(HeaderElement, boolean, HeaderValueFormatter) - Static method in class org.apache.http.message.BasicHeaderValueFormatter
-
Formats a header element.
- formatHeaderElement(CharArrayBuffer, HeaderElement, boolean) - Method in class org.apache.http.message.BasicHeaderValueFormatter
- formatHeaderElement(CharArrayBuffer, HeaderElement, boolean) - Method in interface org.apache.http.message.HeaderValueFormatter
-
Formats one header element.
- formatNameValuePair(NameValuePair, boolean, HeaderValueFormatter) - Static method in class org.apache.http.message.BasicHeaderValueFormatter
-
Formats a name-value pair.
- formatNameValuePair(CharArrayBuffer, NameValuePair, boolean) - Method in class org.apache.http.message.BasicHeaderValueFormatter
- formatNameValuePair(CharArrayBuffer, NameValuePair, boolean) - Method in interface org.apache.http.message.HeaderValueFormatter
-
Formats one name-value pair, where the value is optional.
- formatParameters(NameValuePair[], boolean, HeaderValueFormatter) - Static method in class org.apache.http.message.BasicHeaderValueFormatter
-
Formats a set of parameters.
- formatParameters(CharArrayBuffer, NameValuePair[], boolean) - Method in class org.apache.http.message.BasicHeaderValueFormatter
- formatParameters(CharArrayBuffer, NameValuePair[], boolean) - Method in interface org.apache.http.message.HeaderValueFormatter
-
Formats the parameters of a header element.
- formatProtocolVersion(ProtocolVersion, LineFormatter) - Static method in class org.apache.http.message.BasicLineFormatter
-
Formats a protocol version.
- formatRequestLine(RequestLine, LineFormatter) - Static method in class org.apache.http.message.BasicLineFormatter
-
Formats a request line.
- formatRequestLine(CharArrayBuffer, RequestLine) - Method in class org.apache.http.message.BasicLineFormatter
- formatRequestLine(CharArrayBuffer, RequestLine) - Method in interface org.apache.http.message.LineFormatter
-
Formats a request line.
- formatStatusLine(StatusLine, LineFormatter) - Static method in class org.apache.http.message.BasicLineFormatter
-
Formats a status line.
- formatStatusLine(CharArrayBuffer, StatusLine) - Method in class org.apache.http.message.BasicLineFormatter
- formatStatusLine(CharArrayBuffer, StatusLine) - Method in interface org.apache.http.message.LineFormatter
-
Formats a status line.
- FormattedHeader - Interface in org.apache.http
-
An HTTP header which is already formatted.
- forVersion(int, int) - Method in class org.apache.http.HttpVersion
-
Obtains a specific HTTP version.
- forVersion(int, int) - Method in class org.apache.http.ProtocolVersion
-
Obtains a specific version of this protocol.
- FROM - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.8, RFC 2616 (HTTP/1.1) Section 14.22
- fromMap(String, Map<?, ?>, ClassLoader) - Static method in class org.apache.http.util.VersionInfo
-
Instantiates version information from properties.
- FutureCallback<T> - Interface in org.apache.http.concurrent
-
A callback interface that gets invoked upon completion of a
Future.
G
- get() - Method in class org.apache.http.concurrent.BasicFuture
- get(long, TimeUnit) - Method in class org.apache.http.concurrent.BasicFuture
- get(String) - Static method in class org.apache.http.util.CharsetUtils
- get(HttpEntity) - Static method in class org.apache.http.entity.ContentType
-
Extracts
Content-Typevalue fromHttpEntityexactly as specified by theContent-Typeheader of the entity. - getAddress() - Method in class org.apache.http.HttpHost
-
Returns the inet address if explicitly set by a constructor,
nullotherwise. - getAllHeaders() - Method in interface org.apache.http.HttpMessage
-
Returns all the headers of this message.
- getAllHeaders() - Method in class org.apache.http.message.AbstractHttpMessage
- getAllHeaders() - Method in class org.apache.http.message.HeaderGroup
-
Gets all of the headers contained within this group.
- getAsciiBytes(String) - Static method in class org.apache.http.util.EncodingUtils
-
Converts the specified string to byte array of ASCII characters.
- getAsciiString(byte[]) - Static method in class org.apache.http.util.EncodingUtils
-
Converts the byte array of ASCII characters to a string.
- getAsciiString(byte[], int, int) - Static method in class org.apache.http.util.EncodingUtils
-
Converts the byte array of ASCII characters to a string.
- getAttribute(String) - Method in class org.apache.http.protocol.BasicHttpContext
- getAttribute(String) - Method in interface org.apache.http.protocol.HttpContext
-
Obtains attribute with the given name.
- getAttribute(String) - Method in class org.apache.http.protocol.HttpCoreContext
- getAttribute(String, Class<T>) - Method in class org.apache.http.protocol.HttpCoreContext
- getAvailable() - Method in class org.apache.http.pool.PoolStats
-
Gets the number idle persistent connections.
- getBooleanParameter(String, boolean) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- getBooleanParameter(String, boolean) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Returns a
Booleanparameter value with the given name. - getBuffer() - Method in interface org.apache.http.FormattedHeader
-
Obtains the buffer with the formatted header.
- getBuffer() - Method in class org.apache.http.message.BufferedHeader
- getBufferSize() - Method in class org.apache.http.config.ConnectionConfig
- getBytes(String, String) - Static method in class org.apache.http.util.EncodingUtils
-
Converts the specified string to a byte array.
- getBytesTransferred() - Method in class org.apache.http.impl.io.HttpTransportMetricsImpl
- getBytesTransferred() - Method in interface org.apache.http.io.HttpTransportMetrics
-
Returns the number of bytes transferred.
- getCharset() - Method in class org.apache.http.config.ConnectionConfig
- getCharset() - Method in class org.apache.http.entity.ContentType
- getClassloader() - Method in class org.apache.http.util.VersionInfo
-
Obtains the classloader used to read the version information.
- getCondensedHeader(String) - Method in class org.apache.http.message.HeaderGroup
-
Gets a header representing all of the header values with the given name.
- getConnection() - Method in class org.apache.http.pool.PoolEntry
- getConnection() - Method in class org.apache.http.protocol.HttpCoreContext
- getConnection(Class<T>) - Method in class org.apache.http.protocol.HttpCoreContext
- getConnectionConfig(HttpParams) - Static method in class org.apache.http.params.HttpParamConfig
-
Deprecated.
- getContent() - Method in class org.apache.http.entity.BasicHttpEntity
-
Obtains the content, once only.
- getContent() - Method in class org.apache.http.entity.BufferedHttpEntity
- getContent() - Method in class org.apache.http.entity.ByteArrayEntity
- getContent() - Method in class org.apache.http.entity.EntityTemplate
- getContent() - Method in class org.apache.http.entity.FileEntity
- getContent() - Method in class org.apache.http.entity.HttpEntityWrapper
- getContent() - Method in class org.apache.http.entity.InputStreamEntity
- getContent() - Method in class org.apache.http.entity.SerializableEntity
- getContent() - Method in class org.apache.http.entity.StringEntity
- getContent() - Method in interface org.apache.http.HttpEntity
-
Returns a content stream of the entity.
- getContentCharSet(HttpEntity) - Static method in class org.apache.http.util.EntityUtils
-
Deprecated.(4.1.3) use
ContentType.getOrDefault(HttpEntity) - getContentEncoding() - Method in class org.apache.http.entity.AbstractHttpEntity
-
Obtains the Content-Encoding header.
- getContentEncoding() - Method in class org.apache.http.entity.HttpEntityWrapper
- getContentEncoding() - Method in interface org.apache.http.HttpEntity
-
Obtains the Content-Encoding header, if known.
- getContentLength() - Method in class org.apache.http.entity.BasicHttpEntity
- getContentLength() - Method in class org.apache.http.entity.BufferedHttpEntity
- getContentLength() - Method in class org.apache.http.entity.ByteArrayEntity
- getContentLength() - Method in class org.apache.http.entity.EntityTemplate
- getContentLength() - Method in class org.apache.http.entity.FileEntity
- getContentLength() - Method in class org.apache.http.entity.HttpEntityWrapper
- getContentLength() - Method in class org.apache.http.entity.InputStreamEntity
- getContentLength() - Method in class org.apache.http.entity.SerializableEntity
- getContentLength() - Method in class org.apache.http.entity.StringEntity
- getContentLength() - Method in interface org.apache.http.HttpEntity
-
Tells the length of the content, if known.
- getContentMimeType(HttpEntity) - Static method in class org.apache.http.util.EntityUtils
-
Deprecated.(4.1.3) use
ContentType.getOrDefault(HttpEntity) - getContentType() - Method in class org.apache.http.entity.AbstractHttpEntity
-
Obtains the Content-Type header.
- getContentType() - Method in class org.apache.http.entity.HttpEntityWrapper
- getContentType() - Method in interface org.apache.http.HttpEntity
-
Obtains the Content-Type header, if known.
- getCreated() - Method in class org.apache.http.pool.PoolEntry
- getCurrentDate() - Method in class org.apache.http.protocol.HttpDateGenerator
- getDefaultMaxPerRoute() - Method in class org.apache.http.pool.AbstractConnPool
- getDefaultMaxPerRoute() - Method in interface org.apache.http.pool.ConnPoolControl
- getDoubleParameter(String, double) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- getDoubleParameter(String, double) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Returns a
Doubleparameter value with the given name. - getElements() - Method in interface org.apache.http.Header
-
Parses the value.
- getElements() - Method in class org.apache.http.message.BasicHeader
- getElements() - Method in class org.apache.http.message.BufferedHeader
- getEntity() - Method in interface org.apache.http.HttpEntityEnclosingRequest
-
Returns the entity associated with this request.
- getEntity() - Method in interface org.apache.http.HttpResponse
-
Obtains the message entity of this response, if any.
- getEntity() - Method in class org.apache.http.message.BasicHttpEntityEnclosingRequest
- getEntity() - Method in class org.apache.http.message.BasicHttpResponse
- getExpiry() - Method in class org.apache.http.pool.PoolEntry
- getFirstHeader(String) - Method in interface org.apache.http.HttpMessage
-
Returns the first header with a specified name of this message.
- getFirstHeader(String) - Method in class org.apache.http.message.AbstractHttpMessage
- getFirstHeader(String) - Method in class org.apache.http.message.HeaderGroup
-
Gets the first header with the given name.
- getFooters() - Method in class org.apache.http.impl.io.ChunkedInputStream
- getFragmentSizeHint() - Method in class org.apache.http.config.ConnectionConfig
- getHeaders(String) - Method in interface org.apache.http.HttpMessage
-
Returns all the headers with a specified name of this message.
- getHeaders(String) - Method in class org.apache.http.message.AbstractHttpMessage
- getHeaders(String) - Method in class org.apache.http.message.HeaderGroup
-
Gets all of the headers with the given name.
- getHostName() - Method in class org.apache.http.HttpHost
-
Returns the host name.
- getId() - Method in class org.apache.http.pool.PoolEntry
- getIntParameter(String, int) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- getIntParameter(String, int) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Returns an
Integerparameter value with the given name. - getLastHeader(String) - Method in interface org.apache.http.HttpMessage
-
Returns the last header with a specified name of this message.
- getLastHeader(String) - Method in class org.apache.http.message.AbstractHttpMessage
- getLastHeader(String) - Method in class org.apache.http.message.HeaderGroup
-
Gets the last header with the given name.
- getLeased() - Method in class org.apache.http.pool.PoolStats
-
Gets the number of persistent connections tracked by the connection manager currently being used to execute requests.
- getLocalAddress() - Method in interface org.apache.http.HttpInetConnection
- getLocalAddress() - Method in class org.apache.http.impl.BHttpConnectionBase
- getLocale() - Method in interface org.apache.http.HttpResponse
-
Obtains the locale of this response.
- getLocale() - Method in class org.apache.http.message.BasicHttpResponse
- getLocalPort() - Method in interface org.apache.http.HttpInetConnection
- getLocalPort() - Method in class org.apache.http.impl.BHttpConnectionBase
- getLongParameter(String, long) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- getLongParameter(String, long) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Returns a
Longparameter value with the given name. - getLowerBound() - Method in class org.apache.http.message.ParserCursor
- getMajor() - Method in class org.apache.http.ProtocolVersion
-
Returns the major version number of the protocol.
- getMalformedInputAction() - Method in class org.apache.http.config.ConnectionConfig
- getMax() - Method in class org.apache.http.pool.PoolStats
-
Gets the maximum number of allowed persistent connections.
- getMaxHeaderCount() - Method in class org.apache.http.config.MessageConstraints
- getMaxLineLength() - Method in class org.apache.http.config.MessageConstraints
- getMaxPerRoute(T) - Method in class org.apache.http.pool.AbstractConnPool
- getMaxPerRoute(T) - Method in interface org.apache.http.pool.ConnPoolControl
- getMaxTotal() - Method in class org.apache.http.pool.AbstractConnPool
- getMaxTotal() - Method in interface org.apache.http.pool.ConnPoolControl
- getMessageConstraints() - Method in class org.apache.http.config.ConnectionConfig
- getMessageConstraints(HttpParams) - Static method in class org.apache.http.params.HttpParamConfig
-
Deprecated.
- getMethod() - Method in class org.apache.http.message.BasicRequestLine
- getMethod() - Method in interface org.apache.http.RequestLine
- getMetric(String) - Method in interface org.apache.http.HttpConnectionMetrics
-
Return the value for the specified metric.
- getMetric(String) - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- getMetrics() - Method in interface org.apache.http.HttpConnection
-
Returns a collection of connection metrics.
- getMetrics() - Method in class org.apache.http.impl.BHttpConnectionBase
- getMetrics() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- getMetrics() - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- getMetrics() - Method in interface org.apache.http.io.SessionInputBuffer
-
Returns
HttpTransportMetricsfor this session buffer. - getMetrics() - Method in interface org.apache.http.io.SessionOutputBuffer
-
Returns
HttpTransportMetricsfor this session buffer. - getMimeType() - Method in class org.apache.http.entity.ContentType
- getMinor() - Method in class org.apache.http.ProtocolVersion
-
Returns the minor version number of the HTTP protocol.
- getModule() - Method in class org.apache.http.util.VersionInfo
-
Obtains the name of the versioned module or informal unit.
- getName() - Method in interface org.apache.http.Header
-
Get the name of the Header.
- getName() - Method in interface org.apache.http.HeaderElement
-
Returns header element name.
- getName() - Method in class org.apache.http.message.BasicHeader
- getName() - Method in class org.apache.http.message.BasicHeaderElement
- getName() - Method in class org.apache.http.message.BasicNameValuePair
- getName() - Method in class org.apache.http.message.BufferedHeader
- getName() - Method in interface org.apache.http.NameValuePair
- getNames() - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.Returns the current set of names; in the case of stacked parameters, returns the names from all the participating HttpParams instances.
- getNames() - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.Returns the current set of names.
- getNames() - Method in interface org.apache.http.params.HttpParamsNames
-
Deprecated.Returns the current set of names; in the case of stacked parameters, returns the names from all the participating HttpParams instances.
- getObjects() - Method in class org.apache.http.protocol.UriPatternMatcher
-
Deprecated.(4.1) do not use
- getOrDefault(HttpEntity) - Static method in class org.apache.http.entity.ContentType
-
Extracts
Content-Typevalue fromHttpEntityor returns the default valueContentType.DEFAULT_TEXTif not explicitly specified. - getPackage() - Method in class org.apache.http.util.VersionInfo
-
Obtains the package name.
- getParameter(int) - Method in interface org.apache.http.HeaderElement
-
Returns parameter with the given index.
- getParameter(int) - Method in class org.apache.http.message.BasicHeaderElement
- getParameter(String) - Method in class org.apache.http.entity.ContentType
- getParameter(String) - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.
- getParameter(String) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Obtains the value of the given parameter.
- getParameterByName(String) - Method in interface org.apache.http.HeaderElement
-
Returns the first parameter with the given name.
- getParameterByName(String) - Method in class org.apache.http.message.BasicHeaderElement
- getParameterCount() - Method in interface org.apache.http.HeaderElement
-
Returns the total count of parameters.
- getParameterCount() - Method in class org.apache.http.message.BasicHeaderElement
- getParameters() - Method in interface org.apache.http.HeaderElement
-
Returns an array of name / value pairs.
- getParameters() - Method in class org.apache.http.message.BasicHeaderElement
- getParams() - Method in interface org.apache.http.HttpMessage
-
Deprecated.(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
- getParams() - Method in class org.apache.http.message.AbstractHttpMessage
-
Deprecated.(4.3) use constructor parameters of configuration API provided by HttpClient
- getParams() - Method in class org.apache.http.protocol.HttpService
-
Deprecated.(4.3) no longer used.
- getPending() - Method in class org.apache.http.pool.PoolStats
-
Gets the number of connection requests being blocked awaiting a free connection.
- getPort() - Method in class org.apache.http.HttpHost
-
Returns the port.
- getPos() - Method in class org.apache.http.message.ParserCursor
- getProtocol() - Method in class org.apache.http.ProtocolVersion
-
Returns the name of the protocol.
- getProtocolVersion() - Method in interface org.apache.http.HttpMessage
-
Returns the protocol version this message is compatible with.
- getProtocolVersion() - Method in class org.apache.http.message.BasicHttpRequest
-
Returns the HTTP protocol version to be used for this request.
- getProtocolVersion() - Method in class org.apache.http.message.BasicHttpResponse
- getProtocolVersion() - Method in class org.apache.http.message.BasicRequestLine
- getProtocolVersion() - Method in class org.apache.http.message.BasicStatusLine
- getProtocolVersion() - Method in interface org.apache.http.RequestLine
- getProtocolVersion() - Method in interface org.apache.http.StatusLine
- getReason(int) - Method in class org.apache.http.message.BasicHttpResponse
-
Looks up a reason phrase.
- getReason(int, Locale) - Method in class org.apache.http.impl.EnglishReasonPhraseCatalog
-
Obtains the reason phrase for a status code.
- getReason(int, Locale) - Method in interface org.apache.http.ReasonPhraseCatalog
-
Obtains the reason phrase for a status code.
- getReasonPhrase() - Method in class org.apache.http.message.BasicStatusLine
- getReasonPhrase() - Method in interface org.apache.http.StatusLine
- getReceivedBytesCount() - Method in interface org.apache.http.HttpConnectionMetrics
-
Returns the number of bytes transferred over the connection, 0 if not available.
- getReceivedBytesCount() - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- getRelease() - Method in class org.apache.http.util.VersionInfo
-
Obtains the release of the versioned module or informal unit.
- getRemoteAddress() - Method in interface org.apache.http.HttpInetConnection
- getRemoteAddress() - Method in class org.apache.http.impl.BHttpConnectionBase
- getRemotePort() - Method in interface org.apache.http.HttpInetConnection
- getRemotePort() - Method in class org.apache.http.impl.BHttpConnectionBase
- getRequest() - Method in class org.apache.http.protocol.HttpCoreContext
- getRequestCount() - Method in interface org.apache.http.HttpConnectionMetrics
-
Returns the number of requests transferred over the connection, 0 if not available.
- getRequestCount() - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- getRequestInterceptor(int) - Method in interface org.apache.http.protocol.HttpRequestInterceptorList
-
Deprecated.Obtains a request interceptor from this list.
- getRequestInterceptorCount() - Method in interface org.apache.http.protocol.HttpRequestInterceptorList
-
Deprecated.Obtains the current size of this list.
- getRequestLine() - Method in interface org.apache.http.HttpRequest
-
Returns the request line of this request.
- getRequestLine() - Method in class org.apache.http.message.BasicHttpRequest
-
Returns the request line of this request.
- getRequestPath(HttpRequest) - Method in class org.apache.http.protocol.UriHttpRequestHandlerMapper
-
Extracts request path from the given
HttpRequest - getResponse() - Method in class org.apache.http.protocol.HttpCoreContext
- getResponseCount() - Method in interface org.apache.http.HttpConnectionMetrics
-
Returns the number of responses transferred over the connection, 0 if not available.
- getResponseCount() - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- getResponseInterceptor(int) - Method in interface org.apache.http.protocol.HttpResponseInterceptorList
-
Deprecated.Obtains a response interceptor from this list.
- getResponseInterceptorCount() - Method in interface org.apache.http.protocol.HttpResponseInterceptorList
-
Deprecated.Obtains the current size of this list.
- getRoute() - Method in class org.apache.http.pool.PoolEntry
- getSchemeName() - Method in class org.apache.http.HttpHost
-
Returns the scheme name.
- getSentBytesCount() - Method in interface org.apache.http.HttpConnectionMetrics
-
Returns the number of bytes transferred over the connection, 0 if not available.
- getSentBytesCount() - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- getSessionInputBuffer() - Method in class org.apache.http.impl.BHttpConnectionBase
- getSessionOutputBuffer() - Method in class org.apache.http.impl.BHttpConnectionBase
- getSocket() - Method in class org.apache.http.impl.BHttpConnectionBase
- getSocketConfig(HttpParams) - Static method in class org.apache.http.params.HttpParamConfig
-
Deprecated.
- getSocketInputStream(Socket) - Method in class org.apache.http.impl.BHttpConnectionBase
- getSocketOutputStream(Socket) - Method in class org.apache.http.impl.BHttpConnectionBase
- getSocketTimeout() - Method in interface org.apache.http.HttpConnection
-
Returns the socket timeout value.
- getSocketTimeout() - Method in class org.apache.http.impl.BHttpConnectionBase
- getSoLinger() - Method in class org.apache.http.config.SocketConfig
-
Determines the default value of the
SocketOptions.SO_LINGERparameter for newly created sockets. - getSoTimeout() - Method in class org.apache.http.config.SocketConfig
-
Determines the default socket timeout value for non-blocking I/O operations.
- getState() - Method in class org.apache.http.pool.PoolEntry
- getStats(T) - Method in class org.apache.http.pool.AbstractConnPool
- getStats(T) - Method in interface org.apache.http.pool.ConnPoolControl
- getStatusCode() - Method in class org.apache.http.message.BasicStatusLine
- getStatusCode() - Method in interface org.apache.http.StatusLine
- getStatusLine() - Method in interface org.apache.http.HttpResponse
-
Obtains the status line of this response.
- getStatusLine() - Method in class org.apache.http.message.BasicHttpResponse
- getString(byte[], int, int, String) - Static method in class org.apache.http.util.EncodingUtils
-
Converts the byte array of HTTP content characters to a string.
- getString(byte[], String) - Static method in class org.apache.http.util.EncodingUtils
-
Converts the byte array of HTTP content characters to a string.
- getTargetHost() - Method in class org.apache.http.protocol.HttpCoreContext
- getTimestamp() - Method in class org.apache.http.util.VersionInfo
-
Obtains the timestamp of the versioned module or informal unit.
- getTotalStats() - Method in class org.apache.http.pool.AbstractConnPool
- getTotalStats() - Method in interface org.apache.http.pool.ConnPoolControl
- getUnmappableInputAction() - Method in class org.apache.http.config.ConnectionConfig
- getUpdated() - Method in class org.apache.http.pool.PoolEntry
- getUpperBound() - Method in class org.apache.http.message.ParserCursor
- getUri() - Method in class org.apache.http.message.BasicRequestLine
- getUri() - Method in interface org.apache.http.RequestLine
- getUserAgent(String, String, Class<?>) - Static method in class org.apache.http.util.VersionInfo
-
Sets the user agent to
"<name>/<release> (Java 1.5 minimum; Java/<java.version>)". - getValidUnit() - Method in class org.apache.http.pool.PoolEntry
- getValue() - Method in interface org.apache.http.Header
-
Get the value of the Header.
- getValue() - Method in interface org.apache.http.HeaderElement
-
Returns header element value.
- getValue() - Method in class org.apache.http.message.BasicHeader
- getValue() - Method in class org.apache.http.message.BasicHeaderElement
- getValue() - Method in class org.apache.http.message.BasicNameValuePair
- getValue() - Method in class org.apache.http.message.BufferedHeader
- getValue() - Method in interface org.apache.http.NameValuePair
- getValuePos() - Method in interface org.apache.http.FormattedHeader
-
Obtains the start of the header value in the
buffer. - getValuePos() - Method in class org.apache.http.message.BufferedHeader
- GMT - Static variable in class org.apache.http.protocol.HttpDateGenerator
-
The time zone to use in the date header.
- greaterEquals(ProtocolVersion) - Method in class org.apache.http.ProtocolVersion
-
Tests if this protocol version is greater or equal to the given one.
- GuardedBy - Annotation Type in org.apache.http.annotation
-
The field or method to which this annotation is applied can only be accessed when holding a particular lock, which may be a built-in (synchronization) lock, or may be an explicit java.util.concurrent.Lock.
H
- handle(HttpRequest, HttpResponse, HttpContext) - Method in interface org.apache.http.protocol.HttpRequestHandler
-
Handles the request and produces a response to be sent back to the client.
- handleException(HttpException, HttpResponse) - Method in class org.apache.http.protocol.HttpService
-
Handles the given exception and generates an HTTP response to be sent back to the client to inform about the exceptional condition encountered in the course of the request processing.
- handleRequest(HttpServerConnection, HttpContext) - Method in class org.apache.http.protocol.HttpService
-
Handles receives one HTTP request over the given connection within the given execution context and sends a response back to the client.
- hasBufferedData() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- HASH_OFFSET - Static variable in class org.apache.http.util.LangUtils
- HASH_SEED - Static variable in class org.apache.http.util.LangUtils
- hashCode() - Method in class org.apache.http.HttpHost
- hashCode() - Method in class org.apache.http.message.BasicHeaderElement
- hashCode() - Method in class org.apache.http.message.BasicNameValuePair
- hashCode() - Method in class org.apache.http.ProtocolVersion
-
Obtains a hash code consistent with
ProtocolVersion.equals(java.lang.Object). - hashCode(int, boolean) - Static method in class org.apache.http.util.LangUtils
- hashCode(int, int) - Static method in class org.apache.http.util.LangUtils
- hashCode(int, Object) - Static method in class org.apache.http.util.LangUtils
- hasNext() - Method in interface org.apache.http.HeaderElementIterator
-
Indicates whether there is another header element in this iteration.
- hasNext() - Method in interface org.apache.http.HeaderIterator
-
Indicates whether there is another header in this iteration.
- hasNext() - Method in class org.apache.http.message.BasicHeaderElementIterator
- hasNext() - Method in class org.apache.http.message.BasicHeaderIterator
- hasNext() - Method in class org.apache.http.message.BasicListHeaderIterator
- hasNext() - Method in class org.apache.http.message.BasicTokenIterator
- hasNext() - Method in interface org.apache.http.TokenIterator
-
Indicates whether there is another token in this iteration.
- hasProtocolVersion(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicLineParser
- hasProtocolVersion(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.LineParser
-
Checks whether there likely is a protocol version in a line.
- Header - Interface in org.apache.http
-
Represents an HTTP header field.
- HeaderElement - Interface in org.apache.http
-
One element of an HTTP
headervalue consisting of a name / value pair and a number of optional name / value parameters. - HeaderElementIterator - Interface in org.apache.http
-
A type-safe iterator for
HeaderElementobjects. - headergroup - Variable in class org.apache.http.message.AbstractHttpMessage
- HeaderGroup - Class in org.apache.http.message
-
A class for combining a set of headers.
- HeaderGroup() - Constructor for class org.apache.http.message.HeaderGroup
-
Constructor for HeaderGroup.
- headerIt - Variable in class org.apache.http.message.BasicTokenIterator
-
The iterator from which to obtain the next header.
- headerIterator() - Method in interface org.apache.http.HttpMessage
-
Returns an iterator of all the headers.
- headerIterator() - Method in class org.apache.http.message.AbstractHttpMessage
- headerIterator(String) - Method in interface org.apache.http.HttpMessage
-
Returns an iterator of the headers with a given name.
- headerIterator(String) - Method in class org.apache.http.message.AbstractHttpMessage
- HeaderIterator - Interface in org.apache.http
-
A type-safe iterator for
Headerobjects. - headerName - Variable in class org.apache.http.message.BasicHeaderIterator
-
The header name to filter by.
- headerName - Variable in class org.apache.http.message.BasicListHeaderIterator
-
The header name to filter by.
- HeaderValueFormatter - Interface in org.apache.http.message
-
Interface for formatting elements of a header value.
- HeaderValueParser - Interface in org.apache.http.message
-
Interface for parsing header values into elements.
- HOST - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.23
- hostname - Variable in class org.apache.http.HttpHost
-
The host to use.
- HT - Static variable in class org.apache.http.Consts
- HT - Static variable in class org.apache.http.protocol.HTTP
- HTTP - Class in org.apache.http.protocol
-
Constants and static helpers related to the HTTP protocol.
- HTTP - Static variable in class org.apache.http.HttpVersion
-
The protocol name.
- HTTP_0_9 - Static variable in class org.apache.http.HttpVersion
-
HTTP protocol version 0.9
- HTTP_1_0 - Static variable in class org.apache.http.HttpVersion
-
HTTP protocol version 1.0
- HTTP_1_1 - Static variable in class org.apache.http.HttpVersion
-
HTTP protocol version 1.1
- HTTP_CONNECTION - Static variable in class org.apache.http.protocol.HttpCoreContext
-
Attribute name of a
HttpConnectionobject that represents the actual HTTP connection. - HTTP_CONTENT_CHARSET - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines the charset to be used per default for encoding content body.
- HTTP_ELEMENT_CHARSET - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines the charset to be used for encoding HTTP protocol elements.
- HTTP_MALFORMED_INPUT_ACTION - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines the action to perform upon receiving a malformed input.
- HTTP_REQ_SENT - Static variable in class org.apache.http.protocol.HttpCoreContext
-
Attribute name of a
Booleanobject that represents the the flag indicating whether the actual request has been fully transmitted to the target host. - HTTP_REQUEST - Static variable in class org.apache.http.protocol.HttpCoreContext
-
Attribute name of a
HttpRequestobject that represents the actual HTTP request. - HTTP_RESPONSE - Static variable in class org.apache.http.protocol.HttpCoreContext
-
Attribute name of a
HttpResponseobject that represents the actual HTTP response. - HTTP_SEPARATORS - Static variable in class org.apache.http.message.BasicTokenIterator
-
The HTTP separator characters.
- HTTP_TARGET_HOST - Static variable in class org.apache.http.protocol.HttpCoreContext
-
Attribute name of a
HttpHostobject that represents the connection target. - HTTP_UNMAPPABLE_INPUT_ACTION - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines the action to perform upon receiving an unmappable input.
- HttpClientConnection - Interface in org.apache.http
-
A client-side HTTP connection, which can be used for sending requests and receiving responses.
- HttpConnection - Interface in org.apache.http
-
A generic HTTP connection, useful on client and server side.
- HttpConnectionFactory<T extends HttpConnection> - Interface in org.apache.http
-
Factory for
HttpConnectioninstances. - HttpConnectionMetrics - Interface in org.apache.http
-
The point of access to the statistics of an
HttpConnection. - HttpConnectionMetricsImpl - Class in org.apache.http.impl
-
Default implementation of the
HttpConnectionMetricsinterface. - HttpConnectionMetricsImpl(HttpTransportMetrics, HttpTransportMetrics) - Constructor for class org.apache.http.impl.HttpConnectionMetricsImpl
- HttpContext - Interface in org.apache.http.protocol
-
HttpContext represents execution state of an HTTP process.
- HttpCoreContext - Class in org.apache.http.protocol
-
Implementation of
HttpContextthat provides convenience setters for user assignable attributes and getter for readable attributes. - HttpCoreContext() - Constructor for class org.apache.http.protocol.HttpCoreContext
- HttpCoreContext(HttpContext) - Constructor for class org.apache.http.protocol.HttpCoreContext
- HttpDateGenerator - Class in org.apache.http.protocol
-
Generates a date in the format required by the HTTP protocol.
- HttpDateGenerator() - Constructor for class org.apache.http.protocol.HttpDateGenerator
- HttpEntity - Interface in org.apache.http
-
An entity that can be sent or received with an HTTP message.
- HttpEntityEnclosingRequest - Interface in org.apache.http
-
A request with an entity.
- HttpEntityWrapper - Class in org.apache.http.entity
-
Base class for wrapping entities.
- HttpEntityWrapper(HttpEntity) - Constructor for class org.apache.http.entity.HttpEntityWrapper
-
Creates a new entity wrapper.
- HttpException - Exception in org.apache.http
-
Signals that an HTTP exception has occurred.
- HttpException() - Constructor for exception org.apache.http.HttpException
-
Creates a new HttpException with a null detail message.
- HttpException(String) - Constructor for exception org.apache.http.HttpException
-
Creates a new HttpException with the specified detail message.
- HttpException(String, Throwable) - Constructor for exception org.apache.http.HttpException
-
Creates a new HttpException with the specified detail message and cause.
- HttpExpectationVerifier - Interface in org.apache.http.protocol
-
Defines an interface to verify whether an incoming HTTP request meets the target server's expectations.
- HttpHeaders - Class in org.apache.http
-
Constants enumerating the HTTP headers.
- HttpHost - Class in org.apache.http
-
Holds all of the variables needed to describe an HTTP connection to a host.
- HttpHost(String) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost, with default scheme and port. - HttpHost(String, int) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost, with default scheme. - HttpHost(String, int, String) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost, specifying all values. - HttpHost(InetAddress) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost, with default scheme and port. - HttpHost(InetAddress, int) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost, with default scheme. - HttpHost(InetAddress, int, String) - Constructor for class org.apache.http.HttpHost
-
Creates a new
HttpHost, specifying all values. - HttpHost(HttpHost) - Constructor for class org.apache.http.HttpHost
-
Copy constructor for
HttpHost. - HttpInetConnection - Interface in org.apache.http
-
An HTTP connection over the Internet Protocol (IP).
- HttpMessage - Interface in org.apache.http
-
HTTP messages consist of requests from client to server and responses from server to client.
- HttpMessageParser<T extends HttpMessage> - Interface in org.apache.http.io
-
Abstract message parser intended to build HTTP messages from an arbitrary data source.
- HttpMessageParserFactory<T extends HttpMessage> - Interface in org.apache.http.io
-
Factory for
HttpMessageParserinstances. - HttpMessageWriter<T extends HttpMessage> - Interface in org.apache.http.io
-
Abstract message writer intended to serialize HTTP messages to an arbitrary data sink.
- HttpMessageWriterFactory<T extends HttpMessage> - Interface in org.apache.http.io
-
Factory for
HttpMessageWriterinstances. - HttpParamConfig - Class in org.apache.http.params
-
Deprecated.(4.3) provided for compatibility with
HttpParams. Do not use. - HttpParams - Interface in org.apache.http.params
-
Deprecated.(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
- HttpParamsNames - Interface in org.apache.http.params
-
Deprecated.(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
- HttpProcessor - Interface in org.apache.http.protocol
-
HTTP protocol processor is a collection of protocol interceptors that implements the 'Chain of Responsibility' pattern, where each individual protocol interceptor is expected to work on a particular aspect of the HTTP protocol the interceptor is responsible for.
- HttpProcessorBuilder - Class in org.apache.http.protocol
-
Builder for
HttpProcessorinstances. - HttpRequest - Interface in org.apache.http
-
A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.
- HttpRequestExecutor - Class in org.apache.http.protocol
-
HttpRequestExecutor is a client side HTTP protocol handler based on the blocking (classic) I/O model.
- HttpRequestExecutor() - Constructor for class org.apache.http.protocol.HttpRequestExecutor
- HttpRequestExecutor(int) - Constructor for class org.apache.http.protocol.HttpRequestExecutor
-
Creates new instance of HttpRequestExecutor.
- HttpRequestFactory - Interface in org.apache.http
-
A factory for
HttpRequestobjects. - HttpRequestHandler - Interface in org.apache.http.protocol
-
HttpRequestHandler represents a routine for processing of a specific group of HTTP requests.
- HttpRequestHandlerMapper - Interface in org.apache.http.protocol
-
HttpRequestHandlerMapper can be used to resolve an instance of
HttpRequestHandlermatching a particularHttpRequest. - HttpRequestHandlerResolver - Interface in org.apache.http.protocol
-
Deprecated.
- HttpRequestInterceptor - Interface in org.apache.http
-
HTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol.
- HttpRequestInterceptorList - Interface in org.apache.http.protocol
-
Deprecated.(4.3)
- HttpResponse - Interface in org.apache.http
-
After receiving and interpreting a request message, a server responds with an HTTP response message.
- HttpResponseFactory - Interface in org.apache.http
-
A factory for
HttpResponseobjects. - HttpResponseInterceptor - Interface in org.apache.http
-
HTTP protocol interceptor is a routine that implements a specific aspect of the HTTP protocol.
- HttpResponseInterceptorList - Interface in org.apache.http.protocol
-
Deprecated.(4.3)
- HttpServerConnection - Interface in org.apache.http
-
A server-side HTTP connection, which can be used for receiving requests and sending responses.
- HttpService - Class in org.apache.http.protocol
-
HttpService is a server side HTTP protocol handler based on the classic (blocking) I/O model.
- HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory) - Constructor for class org.apache.http.protocol.HttpService
- HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerMapper) - Constructor for class org.apache.http.protocol.HttpService
-
Create a new HTTP service.
- HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerMapper, HttpExpectationVerifier) - Constructor for class org.apache.http.protocol.HttpService
-
Create a new HTTP service.
- HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerResolver, HttpParams) - Constructor for class org.apache.http.protocol.HttpService
- HttpService(HttpProcessor, ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerResolver, HttpExpectationVerifier, HttpParams) - Constructor for class org.apache.http.protocol.HttpService
- HttpService(HttpProcessor, HttpRequestHandlerMapper) - Constructor for class org.apache.http.protocol.HttpService
-
Create a new HTTP service.
- HttpStatus - Interface in org.apache.http
-
Constants enumerating the HTTP status codes.
- HttpTransportMetrics - Interface in org.apache.http.io
-
The point of access to the statistics of
SessionInputBufferorSessionOutputBuffer. - HttpTransportMetricsImpl - Class in org.apache.http.impl.io
-
Default implementation of
HttpTransportMetrics. - HttpTransportMetricsImpl() - Constructor for class org.apache.http.impl.io.HttpTransportMetricsImpl
- HttpVersion - Class in org.apache.http
-
Represents an HTTP version.
- HttpVersion(int, int) - Constructor for class org.apache.http.HttpVersion
-
Create an HTTP protocol version designator.
I
- IDENTITY - Static variable in interface org.apache.http.entity.ContentLengthStrategy
- IDENTITY_CODING - Static variable in class org.apache.http.protocol.HTTP
- IdentityInputStream - Class in org.apache.http.impl.io
-
Input stream that reads data without any transformation.
- IdentityInputStream(SessionInputBuffer) - Constructor for class org.apache.http.impl.io.IdentityInputStream
-
Wraps session input stream and reads input until the the end of stream.
- IdentityOutputStream - Class in org.apache.http.impl.io
-
Output stream that writes data without any transformation.
- IdentityOutputStream(SessionOutputBuffer) - Constructor for class org.apache.http.impl.io.IdentityOutputStream
- IF - Static variable in class org.apache.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.4
- IF_MATCH - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.24
- IF_MODIFIED_SINCE - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.9, RFC 2616 (HTTP/1.1) Section 14.25
- IF_NONE_MATCH - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.26
- IF_RANGE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.27
- IF_UNMODIFIED_SINCE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.28
- Immutable - Annotation Type in org.apache.http.annotation
-
The class to which this annotation is applied is immutable.
- ImmutableHttpProcessor - Class in org.apache.http.protocol
-
Immutable
HttpProcessor. - ImmutableHttpProcessor(List<HttpRequestInterceptor>, List<HttpResponseInterceptor>) - Constructor for class org.apache.http.protocol.ImmutableHttpProcessor
- ImmutableHttpProcessor(HttpRequestInterceptor...) - Constructor for class org.apache.http.protocol.ImmutableHttpProcessor
- ImmutableHttpProcessor(HttpRequestInterceptor[], HttpResponseInterceptor[]) - Constructor for class org.apache.http.protocol.ImmutableHttpProcessor
- ImmutableHttpProcessor(HttpResponseInterceptor...) - Constructor for class org.apache.http.protocol.ImmutableHttpProcessor
- ImmutableHttpProcessor(HttpRequestInterceptorList, HttpResponseInterceptorList) - Constructor for class org.apache.http.protocol.ImmutableHttpProcessor
-
Deprecated.(4.3) do not use.
- incrementBytesTransferred(long) - Method in class org.apache.http.impl.io.HttpTransportMetricsImpl
- incrementRequestCount() - Method in class org.apache.http.impl.BHttpConnectionBase
- incrementRequestCount() - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- incrementResponseCount() - Method in class org.apache.http.impl.BHttpConnectionBase
- incrementResponseCount() - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- indexOf(byte) - Method in class org.apache.http.util.ByteArrayBuffer
-
Returns the index within this buffer of the first occurrence of the specified byte, starting the search at
0and finishing atByteArrayBuffer.length(). - indexOf(byte, int, int) - Method in class org.apache.http.util.ByteArrayBuffer
-
Returns the index within this buffer of the first occurrence of the specified byte, starting the search at the specified
beginIndexand finishing atendIndex. - indexOf(int) - Method in class org.apache.http.util.CharArrayBuffer
-
Returns the index within this buffer of the first occurrence of the specified character, starting the search at
0and finishing atCharArrayBuffer.length(). - indexOf(int, int, int) - Method in class org.apache.http.util.CharArrayBuffer
-
Returns the index within this buffer of the first occurrence of the specified character, starting the search at the specified
beginIndexand finishing atendIndex. - initBuffer(CharArrayBuffer) - Method in class org.apache.http.message.BasicLineFormatter
-
Obtains a buffer for formatting.
- InputStreamEntity - Class in org.apache.http.entity
-
A streamed, non-repeatable entity that obtains its content from an
InputStream. - InputStreamEntity(InputStream) - Constructor for class org.apache.http.entity.InputStreamEntity
-
Creates an entity with an unknown length.
- InputStreamEntity(InputStream, long) - Constructor for class org.apache.http.entity.InputStreamEntity
-
Creates an entity with a specified content length.
- InputStreamEntity(InputStream, long, ContentType) - Constructor for class org.apache.http.entity.InputStreamEntity
- InputStreamEntity(InputStream, ContentType) - Constructor for class org.apache.http.entity.InputStreamEntity
-
Creates an entity with a content type and unknown length.
- INSTANCE - Static variable in class org.apache.http.impl.DefaultBHttpClientConnectionFactory
- INSTANCE - Static variable in class org.apache.http.impl.DefaultBHttpServerConnectionFactory
- INSTANCE - Static variable in class org.apache.http.impl.DefaultConnectionReuseStrategy
- INSTANCE - Static variable in class org.apache.http.impl.DefaultHttpRequestFactory
- INSTANCE - Static variable in class org.apache.http.impl.DefaultHttpResponseFactory
- INSTANCE - Static variable in class org.apache.http.impl.EnglishReasonPhraseCatalog
-
The default instance of this catalog.
- INSTANCE - Static variable in class org.apache.http.impl.entity.DisallowIdentityContentLengthStrategy
- INSTANCE - Static variable in class org.apache.http.impl.entity.LaxContentLengthStrategy
- INSTANCE - Static variable in class org.apache.http.impl.entity.StrictContentLengthStrategy
- INSTANCE - Static variable in class org.apache.http.impl.io.DefaultHttpRequestParserFactory
- INSTANCE - Static variable in class org.apache.http.impl.io.DefaultHttpRequestWriterFactory
- INSTANCE - Static variable in class org.apache.http.impl.io.DefaultHttpResponseParserFactory
- INSTANCE - Static variable in class org.apache.http.impl.io.DefaultHttpResponseWriterFactory
- INSTANCE - Static variable in class org.apache.http.impl.NoConnectionReuseStrategy
- INSTANCE - Static variable in class org.apache.http.message.BasicHeaderValueFormatter
- INSTANCE - Static variable in class org.apache.http.message.BasicHeaderValueParser
- INSTANCE - Static variable in class org.apache.http.message.BasicLineFormatter
- INSTANCE - Static variable in class org.apache.http.message.BasicLineParser
- isBlank(CharSequence) - Static method in class org.apache.http.util.TextUtils
- isBound() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- isBound() - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- isCancelled() - Method in class org.apache.http.concurrent.BasicFuture
- isChunked() - Method in class org.apache.http.entity.AbstractHttpEntity
-
Obtains the 'chunked' flag.
- isChunked() - Method in class org.apache.http.entity.BufferedHttpEntity
-
Tells that this entity does not have to be chunked.
- isChunked() - Method in class org.apache.http.entity.HttpEntityWrapper
- isChunked() - Method in interface org.apache.http.HttpEntity
-
Tells about chunked encoding for this entity.
- isClosed() - Method in class org.apache.http.impl.pool.BasicPoolEntry
- isClosed() - Method in class org.apache.http.pool.PoolEntry
-
Returns
trueif the pool entry has been invalidated. - isComparable(ProtocolVersion) - Method in class org.apache.http.ProtocolVersion
-
Checks whether this protocol can be compared to another one.
- isDataAvailable(int) - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- isDataAvailable(int) - Method in interface org.apache.http.io.SessionInputBuffer
-
Deprecated.(4.3) do not use. This function should be provided at the connection level
- isDone() - Method in class org.apache.http.concurrent.BasicFuture
- isEmpty() - Method in class org.apache.http.util.ByteArrayBuffer
- isEmpty() - Method in class org.apache.http.util.CharArrayBuffer
- isEmpty(CharSequence) - Static method in class org.apache.http.util.TextUtils
- isEof() - Method in interface org.apache.http.io.EofSensor
-
Deprecated.
- isExpired(long) - Method in class org.apache.http.pool.PoolEntry
- isFull() - Method in class org.apache.http.util.ByteArrayBuffer
-
Returns
trueif this buffer is full, that is, itsByteArrayBuffer.length()is equal to itsByteArrayBuffer.capacity(). - isFull() - Method in class org.apache.http.util.CharArrayBuffer
-
Returns
trueif this buffer is full, that is, itsCharArrayBuffer.length()is equal to itsCharArrayBuffer.capacity(). - isHttpSeparator(char) - Method in class org.apache.http.message.BasicTokenIterator
-
Checks whether a character is an HTTP separator.
- ISO_8859_1 - Static variable in class org.apache.http.Consts
- ISO_8859_1 - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- isOpen() - Method in interface org.apache.http.HttpConnection
-
Checks if this connection is open.
- isOpen() - Method in class org.apache.http.impl.BHttpConnectionBase
- isParameterFalse(String) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- isParameterFalse(String) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Checks if a boolean parameter is not set or
false. - isParameterSet(String) - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.Is the parameter set?
- isParameterSetLocally(String) - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.Is the parameter set in this object?
- isParameterTrue(String) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- isParameterTrue(String) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Checks if a boolean parameter is set to
true. - isRepeatable() - Method in class org.apache.http.entity.BasicHttpEntity
-
Tells that this entity is not repeatable.
- isRepeatable() - Method in class org.apache.http.entity.BufferedHttpEntity
-
Tells that this entity is repeatable.
- isRepeatable() - Method in class org.apache.http.entity.ByteArrayEntity
- isRepeatable() - Method in class org.apache.http.entity.EntityTemplate
- isRepeatable() - Method in class org.apache.http.entity.FileEntity
- isRepeatable() - Method in class org.apache.http.entity.HttpEntityWrapper
- isRepeatable() - Method in class org.apache.http.entity.InputStreamEntity
- isRepeatable() - Method in class org.apache.http.entity.SerializableEntity
- isRepeatable() - Method in class org.apache.http.entity.StringEntity
- isRepeatable() - Method in interface org.apache.http.HttpEntity
-
Tells if the entity is capable of producing its data more than once.
- isRequestSent() - Method in class org.apache.http.protocol.HttpCoreContext
- isResponseAvailable(int) - Method in interface org.apache.http.HttpClientConnection
-
Checks if response data is available from the connection.
- isResponseAvailable(int) - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- isSeparator(char) - Method in class org.apache.http.message.BasicHeaderValueFormatter
-
Checks whether a character is a
separator. - isShutdown() - Method in class org.apache.http.pool.AbstractConnPool
- isSoKeepAlive() - Method in class org.apache.http.config.SocketConfig
-
Determines the default value of the
SocketOptions.SO_KEEPALIVEparameter for newly created sockets. - isSoReuseAddress() - Method in class org.apache.http.config.SocketConfig
-
Determines the default value of the
SocketOptions.SO_REUSEADDRparameter for newly created sockets. - isStale() - Method in interface org.apache.http.HttpConnection
-
Checks whether this connection has gone down.
- isStale() - Method in class org.apache.http.impl.BHttpConnectionBase
- isStreaming() - Method in class org.apache.http.entity.BasicHttpEntity
- isStreaming() - Method in class org.apache.http.entity.BufferedHttpEntity
- isStreaming() - Method in class org.apache.http.entity.ByteArrayEntity
-
Tells that this entity is not streaming.
- isStreaming() - Method in class org.apache.http.entity.EntityTemplate
- isStreaming() - Method in class org.apache.http.entity.FileEntity
-
Tells that this entity is not streaming.
- isStreaming() - Method in class org.apache.http.entity.HttpEntityWrapper
- isStreaming() - Method in class org.apache.http.entity.InputStreamEntity
- isStreaming() - Method in class org.apache.http.entity.SerializableEntity
- isStreaming() - Method in class org.apache.http.entity.StringEntity
-
Tells that this entity is not streaming.
- isStreaming() - Method in interface org.apache.http.HttpEntity
-
Tells whether this entity depends on an underlying stream.
- isTcpNoDelay() - Method in class org.apache.http.config.SocketConfig
-
Determines the default value of the
SocketOptions.TCP_NODELAYparameter for newly created sockets. - isTokenChar(char) - Method in class org.apache.http.message.BasicTokenIterator
-
Checks whether a character is a valid token character.
- isTokenSeparator(char) - Method in class org.apache.http.message.BasicTokenIterator
-
Checks whether a character is a token separator.
- isUnsafe(char) - Method in class org.apache.http.message.BasicHeaderValueFormatter
-
Checks whether a character is
unsafe. - isWhitespace(char) - Method in class org.apache.http.message.BasicTokenIterator
-
Checks whether a character is a whitespace character.
- isWhitespace(char) - Static method in class org.apache.http.protocol.HTTP
- iterator() - Method in class org.apache.http.message.HeaderGroup
-
Returns an iterator over this group of headers.
- iterator(String) - Method in class org.apache.http.message.HeaderGroup
-
Returns an iterator over the headers with a given name in this group.
K
- keepAlive(HttpResponse, HttpContext) - Method in interface org.apache.http.ConnectionReuseStrategy
-
Decides whether a connection can be kept open after a request.
- keepAlive(HttpResponse, HttpContext) - Method in class org.apache.http.impl.DefaultConnectionReuseStrategy
- keepAlive(HttpResponse, HttpContext) - Method in class org.apache.http.impl.NoConnectionReuseStrategy
L
- LangUtils - Class in org.apache.http.util
-
A set of utility methods to help produce consistent
equalsandhashCodemethods. - LAST_MODIFIED - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.10, RFC 2616 (HTTP/1.1) Section 14.29
- lastIndex - Variable in class org.apache.http.message.BasicListHeaderIterator
-
The position of the last returned header.
- LaxContentLengthStrategy - Class in org.apache.http.impl.entity
-
The lax implementation of the content length strategy.
- LaxContentLengthStrategy() - Constructor for class org.apache.http.impl.entity.LaxContentLengthStrategy
-
Creates LaxContentLengthStrategy instance.
- LaxContentLengthStrategy(int) - Constructor for class org.apache.http.impl.entity.LaxContentLengthStrategy
-
Creates LaxContentLengthStrategy instance with the given length used per default when content length is not explicitly specified in the message.
- lcHostname - Variable in class org.apache.http.HttpHost
-
The lowercase host, for
HttpHost.equals(java.lang.Object)andHttpHost.hashCode(). - lease(T, Object) - Method in class org.apache.http.pool.AbstractConnPool
-
Attempts to lease a connection for the given route and with the given state from the pool.
- lease(T, Object, FutureCallback<E>) - Method in class org.apache.http.pool.AbstractConnPool
-
Attempts to lease a connection for the given route and with the given state from the pool.
- lease(T, Object, FutureCallback<E>) - Method in interface org.apache.http.pool.ConnPool
-
Attempts to lease a connection for the given route and with the given state from the pool.
- length() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- length() - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- length() - Method in interface org.apache.http.io.BufferInfo
-
Return length data stored in the buffer
- length() - Method in class org.apache.http.util.ByteArrayBuffer
-
Returns the length of the buffer (byte count).
- length() - Method in class org.apache.http.util.CharArrayBuffer
-
Returns the length of the buffer (char count).
- lessEquals(ProtocolVersion) - Method in class org.apache.http.ProtocolVersion
-
Tests if this protocol version is less or equal to the given one.
- LF - Static variable in class org.apache.http.Consts
- LF - Static variable in class org.apache.http.protocol.HTTP
- lineBuf - Variable in class org.apache.http.impl.io.AbstractMessageWriter
- lineFormatter - Variable in class org.apache.http.impl.io.AbstractMessageWriter
- LineFormatter - Interface in org.apache.http.message
-
Interface for formatting elements of the HEAD section of an HTTP message.
- lineLen(int) - Static method in class org.apache.http.config.MessageConstraints
- lineParser - Variable in class org.apache.http.impl.io.AbstractMessageParser
- LineParser - Interface in org.apache.http.message
-
Interface for parsing lines in the HEAD section of an HTTP message.
- loadVersionInfo(String[], ClassLoader) - Static method in class org.apache.http.util.VersionInfo
-
Loads version information for a list of packages.
- loadVersionInfo(String, ClassLoader) - Static method in class org.apache.http.util.VersionInfo
-
Loads version information for a package.
- LOCATION - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.11, RFC 2616 (HTTP/1.1) Section 14.30
- LOCK_TOKEN - Static variable in class org.apache.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.5
- lookup(String) - Method in interface org.apache.http.config.Lookup
- lookup(String) - Method in class org.apache.http.config.Registry
- lookup(String) - Method in interface org.apache.http.protocol.HttpRequestHandlerResolver
-
Deprecated.Looks up a handler matching the given request URI.
- lookup(String) - Method in class org.apache.http.protocol.UriPatternMatcher
-
Looks up an object matching the given request path.
- lookup(String) - Static method in class org.apache.http.util.CharsetUtils
- lookup(HttpRequest) - Method in interface org.apache.http.protocol.HttpRequestHandlerMapper
-
Looks up a handler matching the given request.
- lookup(HttpRequest) - Method in class org.apache.http.protocol.UriHttpRequestHandlerMapper
-
Looks up a handler matching the given request URI.
- Lookup<I> - Interface in org.apache.http.config
-
Generic lookup by low-case string ID.
M
- major - Variable in class org.apache.http.ProtocolVersion
-
Major version number of the protocol
- MalformedChunkCodingException - Exception in org.apache.http
-
Signals a malformed chunked stream.
- MalformedChunkCodingException() - Constructor for exception org.apache.http.MalformedChunkCodingException
-
Creates a MalformedChunkCodingException without a detail message.
- MalformedChunkCodingException(String) - Constructor for exception org.apache.http.MalformedChunkCodingException
-
Creates a MalformedChunkCodingException with the specified detail message.
- matchUriRequestPattern(String, String) - Method in class org.apache.http.protocol.UriPatternMatcher
-
Tests if the given request path matches the given pattern.
- MAX_FORWARDS - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.31
- MAX_HEADER_COUNT - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Determines the maximum HTTP header count allowed.
- MAX_LINE_LENGTH - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Determines the maximum line length limit.
- MessageConstraintException - Exception in org.apache.http
-
Signals a message constraint violation.
- MessageConstraintException(String) - Constructor for exception org.apache.http.MessageConstraintException
-
Creates a TruncatedChunkException with the specified detail message.
- MessageConstraints - Class in org.apache.http.config
-
HTTP Message constraints: line length and header count.
- MessageConstraints.Builder - Class in org.apache.http.config
- MethodNotSupportedException - Exception in org.apache.http
-
Signals that an HTTP method is not supported.
- MethodNotSupportedException(String) - Constructor for exception org.apache.http.MethodNotSupportedException
-
Creates a new MethodNotSupportedException with the specified detail message.
- MethodNotSupportedException(String, Throwable) - Constructor for exception org.apache.http.MethodNotSupportedException
-
Creates a new MethodNotSupportedException with the specified detail message and cause.
- MIN_CHUNK_LIMIT - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Defines the size limit below which data chunks should be buffered in a session I/O buffer in order to minimize native method invocations on the underlying network socket.
- minor - Variable in class org.apache.http.ProtocolVersion
-
Minor version number of the protocol
- MULTIPART_FORM_DATA - Static variable in class org.apache.http.entity.ContentType
N
- NameValuePair - Interface in org.apache.http
-
A name / value pair parameter used as an element of HTTP messages.
- NetUtils - Class in org.apache.http.util
- NetUtils() - Constructor for class org.apache.http.util.NetUtils
- newHttpRequest(String, String) - Method in interface org.apache.http.HttpRequestFactory
- newHttpRequest(String, String) - Method in class org.apache.http.impl.DefaultHttpRequestFactory
- newHttpRequest(RequestLine) - Method in interface org.apache.http.HttpRequestFactory
- newHttpRequest(RequestLine) - Method in class org.apache.http.impl.DefaultHttpRequestFactory
- newHttpResponse(ProtocolVersion, int, HttpContext) - Method in interface org.apache.http.HttpResponseFactory
-
Creates a new response from status line elements.
- newHttpResponse(ProtocolVersion, int, HttpContext) - Method in class org.apache.http.impl.DefaultHttpResponseFactory
- newHttpResponse(StatusLine, HttpContext) - Method in interface org.apache.http.HttpResponseFactory
-
Creates a new response from a status line.
- newHttpResponse(StatusLine, HttpContext) - Method in class org.apache.http.impl.DefaultHttpResponseFactory
- next() - Method in class org.apache.http.message.BasicHeaderElementIterator
- next() - Method in class org.apache.http.message.BasicHeaderIterator
-
Returns the next header.
- next() - Method in class org.apache.http.message.BasicListHeaderIterator
-
Returns the next header.
- next() - Method in class org.apache.http.message.BasicTokenIterator
-
Returns the next token.
- nextElement() - Method in interface org.apache.http.HeaderElementIterator
-
Obtains the next header element from this iteration.
- nextElement() - Method in class org.apache.http.message.BasicHeaderElementIterator
- nextHeader() - Method in interface org.apache.http.HeaderIterator
-
Obtains the next header from this iteration.
- nextHeader() - Method in class org.apache.http.message.BasicHeaderIterator
-
Obtains the next header from this iteration.
- nextHeader() - Method in class org.apache.http.message.BasicListHeaderIterator
-
Obtains the next header from this iteration.
- nextToken() - Method in class org.apache.http.message.BasicTokenIterator
-
Obtains the next token from this iteration.
- nextToken() - Method in interface org.apache.http.TokenIterator
-
Obtains the next token from this iteration.
- NoConnectionReuseStrategy - Class in org.apache.http.impl
-
A strategy that never re-uses a connection.
- NoConnectionReuseStrategy() - Constructor for class org.apache.http.impl.NoConnectionReuseStrategy
- NoHttpResponseException - Exception in org.apache.http
-
Signals that the target server failed to respond with a valid HTTP response.
- NoHttpResponseException(String) - Constructor for exception org.apache.http.NoHttpResponseException
-
Creates a new NoHttpResponseException with the specified detail message.
- notBlank(CharSequence, String) - Static method in class org.apache.http.util.Asserts
- notBlank(T, String) - Static method in class org.apache.http.util.Args
- notEmpty(CharSequence, String) - Static method in class org.apache.http.util.Asserts
- notEmpty(T, String) - Static method in class org.apache.http.util.Args
- notNegative(int, String) - Static method in class org.apache.http.util.Args
- notNegative(long, String) - Static method in class org.apache.http.util.Args
- notNull(Object, String) - Static method in class org.apache.http.util.Asserts
- notNull(T, String) - Static method in class org.apache.http.util.Args
- NotThreadSafe - Annotation Type in org.apache.http.annotation
-
The class to which this annotation is applied is not thread-safe.
O
- OCTET_STREAM_TYPE - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- onLease(E) - Method in class org.apache.http.pool.AbstractConnPool
- onRelease(E) - Method in class org.apache.http.pool.AbstractConnPool
- onRequestReceived(HttpRequest) - Method in class org.apache.http.impl.DefaultBHttpServerConnection
- onRequestSubmitted(HttpRequest) - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- onResponseReceived(HttpResponse) - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- onResponseSubmitted(HttpResponse) - Method in class org.apache.http.impl.DefaultBHttpServerConnection
- org.apache.http - package org.apache.http
-
Core HTTP component APIs and primitives.
- org.apache.http.annotation - package org.apache.http.annotation
-
Thread-safety annotations based on JCIP-ANNOTATIONS
Copyright (c) 2005 Brian Goetz and Tim Peierls. - org.apache.http.concurrent - package org.apache.http.concurrent
-
Core concurrency APIs.
- org.apache.http.config - package org.apache.http.config
-
Core configuration APIs.
- org.apache.http.entity - package org.apache.http.entity
-
Core HTTP entity implementations.
- org.apache.http.impl - package org.apache.http.impl
-
Default implementations of HTTP connections for synchronous, blocking communication.
- org.apache.http.impl.entity - package org.apache.http.impl.entity
-
Default implementations of entity content strategies.
- org.apache.http.impl.io - package org.apache.http.impl.io
-
Default implementations of message parses and writers for synchronous, blocking communication.
- org.apache.http.impl.pool - package org.apache.http.impl.pool
-
Default implementations of client side connection pools for synchronous, blocking communication.
- org.apache.http.io - package org.apache.http.io
-
HTTP message parser and writer APIs for synchronous, blocking communication.
- org.apache.http.message - package org.apache.http.message
-
Core HTTP message components, message element parser and writer APIs and their default implementations.
- org.apache.http.params - package org.apache.http.params
-
Deprecated.
- org.apache.http.pool - package org.apache.http.pool
-
Client side connection pools APIs for synchronous, blocking communication.
- org.apache.http.protocol - package org.apache.http.protocol
-
Core HTTP protocol execution framework and HTTP protocol handlers for synchronous, blocking communication.
- org.apache.http.util - package org.apache.http.util
-
Core utility classes.
- ORIGIN_SERVER - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines the content of the
Serverheader. - OUTPUT_BUFFER_SIZE - Static variable in class org.apache.http.entity.AbstractHttpEntity
-
Buffer size for output stream processing.
- OVERWRITE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.6
P
- params - Variable in class org.apache.http.message.AbstractHttpMessage
-
Deprecated.
- parse() - Method in class org.apache.http.impl.io.AbstractMessageParser
- parse() - Method in interface org.apache.http.io.HttpMessageParser
-
Generates an instance of
HttpMessagefrom the underlying data source. - parse(String) - Static method in class org.apache.http.entity.ContentType
-
Parses textual representation of
Content-Typevalue. - parseElements(String, HeaderValueParser) - Static method in class org.apache.http.message.BasicHeaderValueParser
-
Parses elements with the given parser.
- parseElements(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicHeaderValueParser
- parseElements(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.HeaderValueParser
-
Parses a header value into elements.
- ParseException - Exception in org.apache.http
-
Signals a parse error.
- ParseException() - Constructor for exception org.apache.http.ParseException
-
Creates a
ParseExceptionwithout details. - ParseException(String) - Constructor for exception org.apache.http.ParseException
-
Creates a
ParseExceptionwith a detail message. - parseHead(SessionInputBuffer) - Method in class org.apache.http.impl.io.AbstractMessageParser
-
Subclasses must override this method to generate an instance of
HttpMessagebased on the initial input from the session buffer. - parseHead(SessionInputBuffer) - Method in class org.apache.http.impl.io.DefaultHttpRequestParser
- parseHead(SessionInputBuffer) - Method in class org.apache.http.impl.io.DefaultHttpResponseParser
- parseHeader(String, LineParser) - Static method in class org.apache.http.message.BasicLineParser
- parseHeader(CharArrayBuffer) - Method in class org.apache.http.message.BasicLineParser
- parseHeader(CharArrayBuffer) - Method in interface org.apache.http.message.LineParser
-
Creates a header from a line.
- parseHeaderElement(String, HeaderValueParser) - Static method in class org.apache.http.message.BasicHeaderValueParser
-
Parses an element with the given parser.
- parseHeaderElement(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicHeaderValueParser
- parseHeaderElement(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.HeaderValueParser
-
Parses a single header element.
- parseHeaders(SessionInputBuffer, int, int, LineParser) - Static method in class org.apache.http.impl.io.AbstractMessageParser
-
Parses HTTP headers from the data receiver stream according to the generic format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.
- parseHeaders(SessionInputBuffer, int, int, LineParser, List<CharArrayBuffer>) - Static method in class org.apache.http.impl.io.AbstractMessageParser
-
Parses HTTP headers from the data receiver stream according to the generic format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.
- parseNameValuePair(String, HeaderValueParser) - Static method in class org.apache.http.message.BasicHeaderValueParser
-
Parses a name-value-pair with the given parser.
- parseNameValuePair(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicHeaderValueParser
- parseNameValuePair(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.HeaderValueParser
-
Parses a name=value specification, where the = and value are optional.
- parseNameValuePair(CharArrayBuffer, ParserCursor, char[]) - Method in class org.apache.http.message.BasicHeaderValueParser
- parseParameters(String, HeaderValueParser) - Static method in class org.apache.http.message.BasicHeaderValueParser
-
Parses parameters with the given parser.
- parseParameters(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicHeaderValueParser
- parseParameters(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.HeaderValueParser
-
Parses a list of name-value pairs.
- parseProtocolVersion(String, LineParser) - Static method in class org.apache.http.message.BasicLineParser
- parseProtocolVersion(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicLineParser
- parseProtocolVersion(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.LineParser
-
Parses the textual representation of a protocol version.
- ParserCursor - Class in org.apache.http.message
-
This class represents a context of a parsing operation: the current position the parsing operation is expected to start at the bounds limiting the scope of the parsing operation
- ParserCursor(int, int) - Constructor for class org.apache.http.message.ParserCursor
- parseRequestLine(String, LineParser) - Static method in class org.apache.http.message.BasicLineParser
- parseRequestLine(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicLineParser
-
Parses a request line.
- parseRequestLine(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.LineParser
-
Parses a request line.
- parseStatusLine(String, LineParser) - Static method in class org.apache.http.message.BasicLineParser
- parseStatusLine(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicLineParser
- parseStatusLine(CharArrayBuffer, ParserCursor) - Method in interface org.apache.http.message.LineParser
-
Parses a status line.
- PATTERN_RFC1123 - Static variable in class org.apache.http.protocol.HttpDateGenerator
-
Date format pattern used to generate the header in RFC 1123 format.
- PLAIN_TEXT_TYPE - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- PoolEntry<T,C> - Class in org.apache.http.pool
-
Pool entry containing a pool connection object along with its route.
- PoolEntry(String, T, C) - Constructor for class org.apache.http.pool.PoolEntry
-
Creates new PoolEntry instance without an expiry deadline.
- PoolEntry(String, T, C, long, TimeUnit) - Constructor for class org.apache.http.pool.PoolEntry
-
Creates new PoolEntry instance.
- PoolEntryCallback<T,C> - Interface in org.apache.http.pool
-
Pool entry callabck.
- PoolStats - Class in org.apache.http.pool
-
Pool statistics.
- PoolStats(int, int, int, int) - Constructor for class org.apache.http.pool.PoolStats
- port - Variable in class org.apache.http.HttpHost
-
The port to use, defaults to -1 if not set.
- positive(int, String) - Static method in class org.apache.http.util.Args
- positive(long, String) - Static method in class org.apache.http.util.Args
- postProcess(HttpResponse, HttpProcessor, HttpContext) - Method in class org.apache.http.protocol.HttpRequestExecutor
-
Post-processes the given response using the given protocol processor and completes the process of request execution.
- PRAGMA - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.12, RFC 2616 (HTTP/1.1) Section 14.32
- prepareInput(HttpMessage) - Method in class org.apache.http.impl.BHttpConnectionBase
- prepareOutput(HttpMessage) - Method in class org.apache.http.impl.BHttpConnectionBase
- preProcess(HttpRequest, HttpProcessor, HttpContext) - Method in class org.apache.http.protocol.HttpRequestExecutor
-
Pre-process the given request using the given protocol processor and initiates the process of request execution.
- process(HttpRequest, HttpContext) - Method in interface org.apache.http.HttpRequestInterceptor
-
Processes a request.
- process(HttpRequest, HttpContext) - Method in class org.apache.http.protocol.ImmutableHttpProcessor
- process(HttpRequest, HttpContext) - Method in class org.apache.http.protocol.RequestConnControl
- process(HttpRequest, HttpContext) - Method in class org.apache.http.protocol.RequestContent
- process(HttpRequest, HttpContext) - Method in class org.apache.http.protocol.RequestDate
- process(HttpRequest, HttpContext) - Method in class org.apache.http.protocol.RequestExpectContinue
- process(HttpRequest, HttpContext) - Method in class org.apache.http.protocol.RequestTargetHost
- process(HttpRequest, HttpContext) - Method in class org.apache.http.protocol.RequestUserAgent
- process(HttpResponse, HttpContext) - Method in interface org.apache.http.HttpResponseInterceptor
-
Processes a response.
- process(HttpResponse, HttpContext) - Method in class org.apache.http.protocol.ImmutableHttpProcessor
- process(HttpResponse, HttpContext) - Method in class org.apache.http.protocol.ResponseConnControl
- process(HttpResponse, HttpContext) - Method in class org.apache.http.protocol.ResponseContent
-
Processes the response (possibly updating or inserting) Content-Length and Transfer-Encoding headers.
- process(HttpResponse, HttpContext) - Method in class org.apache.http.protocol.ResponseDate
- process(HttpResponse, HttpContext) - Method in class org.apache.http.protocol.ResponseServer
- process(PoolEntry<T, C>) - Method in interface org.apache.http.pool.PoolEntryCallback
- PROPERTY_MODULE - Static variable in class org.apache.http.util.VersionInfo
- PROPERTY_RELEASE - Static variable in class org.apache.http.util.VersionInfo
- PROPERTY_TIMESTAMP - Static variable in class org.apache.http.util.VersionInfo
- protocol - Variable in class org.apache.http.message.BasicLineParser
-
A version of the protocol to parse.
- protocol - Variable in class org.apache.http.ProtocolVersion
-
Name of the protocol.
- PROTOCOL_VERSION - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines the
ProtocolVersionused per default. - ProtocolException - Exception in org.apache.http
-
Signals that an HTTP protocol violation has occurred.
- ProtocolException() - Constructor for exception org.apache.http.ProtocolException
-
Creates a new ProtocolException with a null detail message.
- ProtocolException(String) - Constructor for exception org.apache.http.ProtocolException
-
Creates a new ProtocolException with the specified detail message.
- ProtocolException(String, Throwable) - Constructor for exception org.apache.http.ProtocolException
-
Creates a new ProtocolException with the specified detail message and cause.
- ProtocolVersion - Class in org.apache.http
-
Represents a protocol version.
- ProtocolVersion(String, int, int) - Constructor for class org.apache.http.ProtocolVersion
-
Create a protocol version designator.
- PROXY_AUTHENTICATE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.33
- PROXY_AUTHORIZATION - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.34
R
- RANGE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.35
- read() - Method in class org.apache.http.impl.io.ChunkedInputStream
-
Returns all the data in a chunked stream in coalesced form.
- read() - Method in class org.apache.http.impl.io.ContentLengthInputStream
-
Read the next byte from the stream
- read() - Method in class org.apache.http.impl.io.IdentityInputStream
- read() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- read() - Method in interface org.apache.http.io.SessionInputBuffer
-
Reads the next byte of data from this session buffer.
- read(byte[]) - Method in class org.apache.http.impl.io.ChunkedInputStream
-
Read some bytes from the stream.
- read(byte[]) - Method in class org.apache.http.impl.io.ContentLengthInputStream
-
Read more bytes from the stream.
- read(byte[]) - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- read(byte[]) - Method in interface org.apache.http.io.SessionInputBuffer
-
Reads some number of bytes from the session buffer and stores them into the buffer array
b. - read(byte[], int, int) - Method in class org.apache.http.impl.io.ChunkedInputStream
-
Read some bytes from the stream.
- read(byte[], int, int) - Method in class org.apache.http.impl.io.ContentLengthInputStream
-
Does standard
InputStream.read(byte[], int, int)behavior, but also notifies the watcher when the contents have been consumed. - read(byte[], int, int) - Method in class org.apache.http.impl.io.IdentityInputStream
- read(byte[], int, int) - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- read(byte[], int, int) - Method in interface org.apache.http.io.SessionInputBuffer
-
Reads up to
lenbytes of data from the session buffer into an array of bytes. - readLine() - Method in class org.apache.http.impl.io.SessionInputBufferImpl
- readLine() - Method in interface org.apache.http.io.SessionInputBuffer
-
Reads a complete line of characters up to a line delimiter from this session buffer.
- readLine(CharArrayBuffer) - Method in class org.apache.http.impl.io.SessionInputBufferImpl
-
Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.
- readLine(CharArrayBuffer) - Method in interface org.apache.http.io.SessionInputBuffer
-
Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.
- reasonCatalog - Variable in class org.apache.http.impl.DefaultHttpResponseFactory
-
The catalog for looking up reason phrases.
- ReasonPhraseCatalog - Interface in org.apache.http
-
Interface for obtaining reason phrases for HTTP status codes.
- RECEIVED_BYTES_COUNT - Static variable in class org.apache.http.impl.HttpConnectionMetricsImpl
- receiveRequestEntity(HttpEntityEnclosingRequest) - Method in interface org.apache.http.HttpServerConnection
-
Receives the next request entity available from this connection and attaches it to an existing request.
- receiveRequestEntity(HttpEntityEnclosingRequest) - Method in class org.apache.http.impl.DefaultBHttpServerConnection
- receiveRequestHeader() - Method in interface org.apache.http.HttpServerConnection
-
Receives the request line and all headers available from this connection.
- receiveRequestHeader() - Method in class org.apache.http.impl.DefaultBHttpServerConnection
- receiveResponseEntity(HttpResponse) - Method in interface org.apache.http.HttpClientConnection
-
Receives the next response entity available from this connection and attaches it to an existing HttpResponse object.
- receiveResponseEntity(HttpResponse) - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- receiveResponseHeader() - Method in interface org.apache.http.HttpClientConnection
-
Receives the request line and headers of the next response available from this connection.
- receiveResponseHeader() - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- REFERER - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.13, RFC 2616 (HTTP/1.1) Section 14.36
- register(String, I) - Method in class org.apache.http.config.RegistryBuilder
- register(String, HttpRequestHandler) - Method in class org.apache.http.protocol.UriHttpRequestHandlerMapper
-
Registers the given
HttpRequestHandleras a handler for URIs matching the given pattern. - register(String, T) - Method in class org.apache.http.protocol.UriPatternMatcher
-
Registers the given object for URIs matching the given pattern.
- Registry<I> - Class in org.apache.http.config
-
Generic registry of items keyed by low-case string ID.
- RegistryBuilder<I> - Class in org.apache.http.config
-
Builder for
Registryinstances. - release(E, boolean) - Method in class org.apache.http.pool.AbstractConnPool
- release(E, boolean) - Method in interface org.apache.http.pool.ConnPool
-
Releases the pool entry back to the pool.
- remove() - Method in class org.apache.http.message.BasicHeaderElementIterator
- remove() - Method in class org.apache.http.message.BasicHeaderIterator
-
Removing headers is not supported.
- remove() - Method in class org.apache.http.message.BasicListHeaderIterator
-
Removes the header that was returned last.
- remove() - Method in class org.apache.http.message.BasicTokenIterator
-
Removing tokens is not supported.
- removeAttribute(String) - Method in class org.apache.http.protocol.BasicHttpContext
- removeAttribute(String) - Method in interface org.apache.http.protocol.HttpContext
-
Removes attribute with the given name from the context.
- removeAttribute(String) - Method in class org.apache.http.protocol.HttpCoreContext
- removeHeader(Header) - Method in interface org.apache.http.HttpMessage
-
Removes a header from this message.
- removeHeader(Header) - Method in class org.apache.http.message.AbstractHttpMessage
- removeHeader(Header) - Method in class org.apache.http.message.HeaderGroup
-
Removes the given header.
- removeHeaders(String) - Method in interface org.apache.http.HttpMessage
-
Removes all headers with a certain name from this message.
- removeHeaders(String) - Method in class org.apache.http.message.AbstractHttpMessage
- removeParameter(String) - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.
- removeParameter(String) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Removes the parameter with the specified name.
- removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor>) - Method in interface org.apache.http.protocol.HttpRequestInterceptorList
-
Deprecated.Removes all request interceptor of the specified class
- removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor>) - Method in interface org.apache.http.protocol.HttpResponseInterceptorList
-
Deprecated.Removes all response interceptor of the specified class
- REQUEST_COUNT - Static variable in class org.apache.http.impl.HttpConnectionMetricsImpl
- RequestConnControl - Class in org.apache.http.protocol
-
RequestConnControl is responsible for adding
Connectionheader to the outgoing requests, which is essential for managing persistence ofHTTP/1.0connections. - RequestConnControl() - Constructor for class org.apache.http.protocol.RequestConnControl
- RequestContent - Class in org.apache.http.protocol
-
RequestContent is the most important interceptor for outgoing requests.
- RequestContent() - Constructor for class org.apache.http.protocol.RequestContent
-
Default constructor.
- RequestContent(boolean) - Constructor for class org.apache.http.protocol.RequestContent
-
Constructor that can be used to fine-tune behavior of this interceptor.
- RequestDate - Class in org.apache.http.protocol
-
RequestDate interceptor is responsible for adding
Dateheader to the outgoing requests This interceptor is optional for client side protocol processors. - RequestDate() - Constructor for class org.apache.http.protocol.RequestDate
- RequestExpectContinue - Class in org.apache.http.protocol
-
RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by adding
Expectheader. - RequestExpectContinue() - Constructor for class org.apache.http.protocol.RequestExpectContinue
-
Deprecated.(4.3) use
RequestExpectContinue(boolean) - RequestExpectContinue(boolean) - Constructor for class org.apache.http.protocol.RequestExpectContinue
- RequestLine - Interface in org.apache.http
-
The Request-Line begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF.
- RequestTargetHost - Class in org.apache.http.protocol
-
RequestTargetHost is responsible for adding
Hostheader. - RequestTargetHost() - Constructor for class org.apache.http.protocol.RequestTargetHost
- RequestUserAgent - Class in org.apache.http.protocol
-
RequestUserAgent is responsible for adding
User-Agentheader. - RequestUserAgent() - Constructor for class org.apache.http.protocol.RequestUserAgent
- RequestUserAgent(String) - Constructor for class org.apache.http.protocol.RequestUserAgent
- RESERVED_PREFIX - Static variable in interface org.apache.http.protocol.HttpContext
-
The prefix reserved for use by HTTP components.
- reset() - Method in interface org.apache.http.HttpConnectionMetrics
-
Resets the counts
- reset() - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- reset() - Method in class org.apache.http.impl.io.HttpTransportMetricsImpl
- reset() - Method in interface org.apache.http.io.HttpTransportMetrics
-
Resets the counts
- RESPONSE_COUNT - Static variable in class org.apache.http.impl.HttpConnectionMetricsImpl
- ResponseConnControl - Class in org.apache.http.protocol
-
ResponseConnControl is responsible for adding
Connectionheader to the outgoing responses, which is essential for managing persistence ofHTTP/1.0connections. - ResponseConnControl() - Constructor for class org.apache.http.protocol.ResponseConnControl
- ResponseContent - Class in org.apache.http.protocol
-
ResponseContent is the most important interceptor for outgoing responses.
- ResponseContent() - Constructor for class org.apache.http.protocol.ResponseContent
-
Default constructor.
- ResponseContent(boolean) - Constructor for class org.apache.http.protocol.ResponseContent
-
Constructor that can be used to fine-tune behavior of this interceptor.
- ResponseDate - Class in org.apache.http.protocol
-
ResponseDate is responsible for adding
Dateheader to the outgoing responses. - ResponseDate() - Constructor for class org.apache.http.protocol.ResponseDate
- ResponseServer - Class in org.apache.http.protocol
-
ResponseServer is responsible for adding
Serverheader. - ResponseServer() - Constructor for class org.apache.http.protocol.ResponseServer
- ResponseServer(String) - Constructor for class org.apache.http.protocol.ResponseServer
- RETRY_AFTER - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.37
S
- SC_ACCEPTED - Static variable in interface org.apache.http.HttpStatus
-
202 Accepted (HTTP/1.0 - RFC 1945)
- SC_BAD_GATEWAY - Static variable in interface org.apache.http.HttpStatus
-
502 Bad Gateway (HTTP/1.0 - RFC 1945)
- SC_BAD_REQUEST - Static variable in interface org.apache.http.HttpStatus
-
400 Bad Request (HTTP/1.1 - RFC 2616)
- SC_CONFLICT - Static variable in interface org.apache.http.HttpStatus
-
409 Conflict (HTTP/1.1 - RFC 2616)
- SC_CONTINUE - Static variable in interface org.apache.http.HttpStatus
-
100 Continue (HTTP/1.1 - RFC 2616)
- SC_CREATED - Static variable in interface org.apache.http.HttpStatus
-
201 Created (HTTP/1.0 - RFC 1945)
- SC_EXPECTATION_FAILED - Static variable in interface org.apache.http.HttpStatus
-
417 Expectation Failed (HTTP/1.1 - RFC 2616)
- SC_FAILED_DEPENDENCY - Static variable in interface org.apache.http.HttpStatus
-
424 Failed Dependency (WebDAV - RFC 2518)
- SC_FORBIDDEN - Static variable in interface org.apache.http.HttpStatus
-
403 Forbidden (HTTP/1.0 - RFC 1945)
- SC_GATEWAY_TIMEOUT - Static variable in interface org.apache.http.HttpStatus
-
504 Gateway Timeout (HTTP/1.1 - RFC 2616)
- SC_GONE - Static variable in interface org.apache.http.HttpStatus
-
410 Gone (HTTP/1.1 - RFC 2616)
- SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in interface org.apache.http.HttpStatus
-
505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616)
- SC_INSUFFICIENT_SPACE_ON_RESOURCE - Static variable in interface org.apache.http.HttpStatus
-
Static constant for a 419 error.
- SC_INSUFFICIENT_STORAGE - Static variable in interface org.apache.http.HttpStatus
-
507 Insufficient Storage (WebDAV - RFC 2518)
- SC_INTERNAL_SERVER_ERROR - Static variable in interface org.apache.http.HttpStatus
-
500 Server Error (HTTP/1.0 - RFC 1945)
- SC_LENGTH_REQUIRED - Static variable in interface org.apache.http.HttpStatus
-
411 Length Required (HTTP/1.1 - RFC 2616)
- SC_LOCKED - Static variable in interface org.apache.http.HttpStatus
-
423 Locked (WebDAV - RFC 2518)
- SC_METHOD_FAILURE - Static variable in interface org.apache.http.HttpStatus
-
Static constant for a 420 error.
- SC_METHOD_NOT_ALLOWED - Static variable in interface org.apache.http.HttpStatus
-
405 Method Not Allowed (HTTP/1.1 - RFC 2616)
- SC_MOVED_PERMANENTLY - Static variable in interface org.apache.http.HttpStatus
-
301 Moved Permanently (HTTP/1.0 - RFC 1945)
- SC_MOVED_TEMPORARILY - Static variable in interface org.apache.http.HttpStatus
-
302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945)
- SC_MULTI_STATUS - Static variable in interface org.apache.http.HttpStatus
-
207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?)
- SC_MULTIPLE_CHOICES - Static variable in interface org.apache.http.HttpStatus
-
300 Mutliple Choices (HTTP/1.1 - RFC 2616)
- SC_NO_CONTENT - Static variable in interface org.apache.http.HttpStatus
-
204 No Content (HTTP/1.0 - RFC 1945)
- SC_NON_AUTHORITATIVE_INFORMATION - Static variable in interface org.apache.http.HttpStatus
-
203 Non Authoritative Information (HTTP/1.1 - RFC 2616)
- SC_NOT_ACCEPTABLE - Static variable in interface org.apache.http.HttpStatus
-
406 Not Acceptable (HTTP/1.1 - RFC 2616)
- SC_NOT_FOUND - Static variable in interface org.apache.http.HttpStatus
-
404 Not Found (HTTP/1.0 - RFC 1945)
- SC_NOT_IMPLEMENTED - Static variable in interface org.apache.http.HttpStatus
-
501 Not Implemented (HTTP/1.0 - RFC 1945)
- SC_NOT_MODIFIED - Static variable in interface org.apache.http.HttpStatus
-
304 Not Modified (HTTP/1.0 - RFC 1945)
- SC_OK - Static variable in interface org.apache.http.HttpStatus
-
200 OK (HTTP/1.0 - RFC 1945)
- SC_PARTIAL_CONTENT - Static variable in interface org.apache.http.HttpStatus
-
206 Partial Content (HTTP/1.1 - RFC 2616)
- SC_PAYMENT_REQUIRED - Static variable in interface org.apache.http.HttpStatus
-
402 Payment Required (HTTP/1.1 - RFC 2616)
- SC_PRECONDITION_FAILED - Static variable in interface org.apache.http.HttpStatus
-
412 Precondition Failed (HTTP/1.1 - RFC 2616)
- SC_PROCESSING - Static variable in interface org.apache.http.HttpStatus
-
102 Processing (WebDAV - RFC 2518)
- SC_PROXY_AUTHENTICATION_REQUIRED - Static variable in interface org.apache.http.HttpStatus
-
407 Proxy Authentication Required (HTTP/1.1 - RFC 2616)
- SC_REQUEST_TIMEOUT - Static variable in interface org.apache.http.HttpStatus
-
408 Request Timeout (HTTP/1.1 - RFC 2616)
- SC_REQUEST_TOO_LONG - Static variable in interface org.apache.http.HttpStatus
-
413 Request Entity Too Large (HTTP/1.1 - RFC 2616)
- SC_REQUEST_URI_TOO_LONG - Static variable in interface org.apache.http.HttpStatus
-
414 Request-URI Too Long (HTTP/1.1 - RFC 2616)
- SC_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in interface org.apache.http.HttpStatus
-
416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616)
- SC_RESET_CONTENT - Static variable in interface org.apache.http.HttpStatus
-
205 Reset Content (HTTP/1.1 - RFC 2616)
- SC_SEE_OTHER - Static variable in interface org.apache.http.HttpStatus
-
303 See Other (HTTP/1.1 - RFC 2616)
- SC_SERVICE_UNAVAILABLE - Static variable in interface org.apache.http.HttpStatus
-
503 Service Unavailable (HTTP/1.0 - RFC 1945)
- SC_SWITCHING_PROTOCOLS - Static variable in interface org.apache.http.HttpStatus
-
101 Switching Protocols (HTTP/1.1 - RFC 2616)
- SC_TEMPORARY_REDIRECT - Static variable in interface org.apache.http.HttpStatus
-
307 Temporary Redirect (HTTP/1.1 - RFC 2616)
- SC_UNAUTHORIZED - Static variable in interface org.apache.http.HttpStatus
-
401 Unauthorized (HTTP/1.0 - RFC 1945)
- SC_UNPROCESSABLE_ENTITY - Static variable in interface org.apache.http.HttpStatus
-
422 Unprocessable Entity (WebDAV - RFC 2518)
- SC_UNSUPPORTED_MEDIA_TYPE - Static variable in interface org.apache.http.HttpStatus
-
415 Unsupported Media Type (HTTP/1.1 - RFC 2616)
- SC_USE_PROXY - Static variable in interface org.apache.http.HttpStatus
-
305 Use Proxy (HTTP/1.1 - RFC 2616)
- schemeName - Variable in class org.apache.http.HttpHost
-
The scheme (lowercased)
- searchPos - Variable in class org.apache.http.message.BasicTokenIterator
-
The position after
BasicTokenIterator.currentTokeninBasicTokenIterator.currentHeader. - sendRequestEntity(HttpEntityEnclosingRequest) - Method in interface org.apache.http.HttpClientConnection
-
Sends the request entity over the connection.
- sendRequestEntity(HttpEntityEnclosingRequest) - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- sendRequestHeader(HttpRequest) - Method in interface org.apache.http.HttpClientConnection
-
Sends the request line and all headers over the connection.
- sendRequestHeader(HttpRequest) - Method in class org.apache.http.impl.DefaultBHttpClientConnection
- sendResponseEntity(HttpResponse) - Method in interface org.apache.http.HttpServerConnection
-
Sends the response entity of a response over this connection.
- sendResponseEntity(HttpResponse) - Method in class org.apache.http.impl.DefaultBHttpServerConnection
- sendResponseHeader(HttpResponse) - Method in interface org.apache.http.HttpServerConnection
-
Sends the response line and headers of a response over this connection.
- sendResponseHeader(HttpResponse) - Method in class org.apache.http.impl.DefaultBHttpServerConnection
- SENT_BYTES_COUNT - Static variable in class org.apache.http.impl.HttpConnectionMetricsImpl
- SEPARATORS - Static variable in class org.apache.http.message.BasicHeaderValueFormatter
-
Special characters that can be used as separators in HTTP parameters.
- SerializableEntity - Class in org.apache.http.entity
-
A streamed entity that obtains its content from a
Serializable. - SerializableEntity(Serializable) - Constructor for class org.apache.http.entity.SerializableEntity
- SerializableEntity(Serializable, boolean) - Constructor for class org.apache.http.entity.SerializableEntity
-
Creates new instance of this class.
- SERVER - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.14, RFC 2616 (HTTP/1.1) Section 14.38
- SERVER_HEADER - Static variable in class org.apache.http.protocol.HTTP
- sessionBuffer - Variable in class org.apache.http.impl.io.AbstractMessageWriter
- SessionInputBuffer - Interface in org.apache.http.io
-
Session input buffer for blocking connections.
- SessionInputBufferImpl - Class in org.apache.http.impl.io
-
Abstract base class for session input buffers that stream data from an arbitrary
InputStream. - SessionInputBufferImpl(HttpTransportMetricsImpl, int) - Constructor for class org.apache.http.impl.io.SessionInputBufferImpl
- SessionInputBufferImpl(HttpTransportMetricsImpl, int, int, MessageConstraints, CharsetDecoder) - Constructor for class org.apache.http.impl.io.SessionInputBufferImpl
-
Creates new instance of SessionInputBufferImpl.
- SessionOutputBuffer - Interface in org.apache.http.io
-
Session output buffer for blocking connections.
- SessionOutputBufferImpl - Class in org.apache.http.impl.io
-
Abstract base class for session output buffers that stream data to an arbitrary
OutputStream. - SessionOutputBufferImpl(HttpTransportMetricsImpl, int) - Constructor for class org.apache.http.impl.io.SessionOutputBufferImpl
- SessionOutputBufferImpl(HttpTransportMetricsImpl, int, int, CharsetEncoder) - Constructor for class org.apache.http.impl.io.SessionOutputBufferImpl
-
Creates new instance of SessionOutputBufferImpl.
- setAttribute(String, Object) - Method in class org.apache.http.protocol.BasicHttpContext
- setAttribute(String, Object) - Method in interface org.apache.http.protocol.HttpContext
-
Sets value of the attribute with the given name.
- setAttribute(String, Object) - Method in class org.apache.http.protocol.HttpCoreContext
- setBooleanParameter(String, boolean) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- setBooleanParameter(String, boolean) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Assigns a
Booleanto the parameter with the given name - setBufferSize(int) - Method in class org.apache.http.config.ConnectionConfig.Builder
- setBytesTransferred(long) - Method in class org.apache.http.impl.io.HttpTransportMetricsImpl
- setCharset(Charset) - Method in class org.apache.http.config.ConnectionConfig.Builder
- setChunked(boolean) - Method in class org.apache.http.entity.AbstractHttpEntity
-
Specifies the 'chunked' flag.
- setConnReuseStrategy(ConnectionReuseStrategy) - Method in class org.apache.http.protocol.HttpService
-
Deprecated.(4.1) set
ConnectionReuseStrategyusing constructor - setContent(InputStream) - Method in class org.apache.http.entity.BasicHttpEntity
-
Specifies the content.
- setContentEncoding(String) - Method in class org.apache.http.entity.AbstractHttpEntity
-
Specifies the Content-Encoding header, as a string.
- setContentEncoding(Header) - Method in class org.apache.http.entity.AbstractHttpEntity
-
Specifies the Content-Encoding header.
- setContentLength(long) - Method in class org.apache.http.entity.BasicHttpEntity
-
Specifies the length of the content.
- setContentType(String) - Method in class org.apache.http.entity.AbstractHttpEntity
-
Specifies the Content-Type header, as a string.
- setContentType(Header) - Method in class org.apache.http.entity.AbstractHttpEntity
-
Specifies the Content-Type header.
- setDefaultMaxPerRoute(int) - Method in class org.apache.http.pool.AbstractConnPool
- setDefaultMaxPerRoute(int) - Method in interface org.apache.http.pool.ConnPoolControl
- setDoubleParameter(String, double) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- setDoubleParameter(String, double) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Assigns a
Doubleto the parameter with the given name - setEntity(HttpEntity) - Method in interface org.apache.http.HttpEntityEnclosingRequest
-
Associates the entity with this request.
- setEntity(HttpEntity) - Method in interface org.apache.http.HttpResponse
-
Associates a response entity with this response.
- setEntity(HttpEntity) - Method in class org.apache.http.message.BasicHttpEntityEnclosingRequest
- setEntity(HttpEntity) - Method in class org.apache.http.message.BasicHttpResponse
- setExpectationVerifier(HttpExpectationVerifier) - Method in class org.apache.http.protocol.HttpService
-
Deprecated.(4.1) set
HttpExpectationVerifierusing constructor - setFragmentSizeHint(int) - Method in class org.apache.http.config.ConnectionConfig.Builder
- setHandlerResolver(HttpRequestHandlerResolver) - Method in class org.apache.http.protocol.HttpService
-
Deprecated.(4.1) set
HttpRequestHandlerResolverusing constructor - setHandlers(Map<String, T>) - Method in class org.apache.http.protocol.UriPatternMatcher
-
Deprecated.(4.1) do not use
- setHeader(String, String) - Method in interface org.apache.http.HttpMessage
-
Overwrites the first header with the same name.
- setHeader(String, String) - Method in class org.apache.http.message.AbstractHttpMessage
- setHeader(Header) - Method in interface org.apache.http.HttpMessage
-
Overwrites the first header with the same name.
- setHeader(Header) - Method in class org.apache.http.message.AbstractHttpMessage
- setHeaders(Header[]) - Method in interface org.apache.http.HttpMessage
-
Overwrites all the headers in the message.
- setHeaders(Header[]) - Method in class org.apache.http.message.AbstractHttpMessage
- setHeaders(Header[]) - Method in class org.apache.http.message.HeaderGroup
-
Sets all of the headers contained within this group overriding any existing headers.
- setHttpProcessor(HttpProcessor) - Method in class org.apache.http.protocol.HttpService
-
Deprecated.(4.1) set
HttpProcessorusing constructor - setInterceptors(List<?>) - Method in interface org.apache.http.protocol.HttpRequestInterceptorList
-
Deprecated.Sets the request interceptors in this list.
- setInterceptors(List<?>) - Method in interface org.apache.http.protocol.HttpResponseInterceptorList
-
Deprecated.Sets the response interceptors in this list.
- setIntParameter(String, int) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- setIntParameter(String, int) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Assigns an
Integerto the parameter with the given name - setLength(int) - Method in class org.apache.http.util.ByteArrayBuffer
-
Sets the length of the buffer.
- setLength(int) - Method in class org.apache.http.util.CharArrayBuffer
-
Sets the length of the buffer.
- setLocale(Locale) - Method in interface org.apache.http.HttpResponse
-
Changes the locale of this response.
- setLocale(Locale) - Method in class org.apache.http.message.BasicHttpResponse
- setLongParameter(String, long) - Method in class org.apache.http.params.AbstractHttpParams
-
Deprecated.
- setLongParameter(String, long) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Assigns a
Longto the parameter with the given name - setMalformedInputAction(CodingErrorAction) - Method in class org.apache.http.config.ConnectionConfig.Builder
- setMaxHeaderCount(int) - Method in class org.apache.http.config.MessageConstraints.Builder
- setMaxLineLength(int) - Method in class org.apache.http.config.MessageConstraints.Builder
- setMaxPerRoute(T, int) - Method in class org.apache.http.pool.AbstractConnPool
- setMaxPerRoute(T, int) - Method in interface org.apache.http.pool.ConnPoolControl
- setMaxTotal(int) - Method in class org.apache.http.pool.AbstractConnPool
- setMaxTotal(int) - Method in interface org.apache.http.pool.ConnPoolControl
- setMessageConstraints(MessageConstraints) - Method in class org.apache.http.config.ConnectionConfig.Builder
- setMetric(String, Object) - Method in class org.apache.http.impl.HttpConnectionMetricsImpl
- setObjects(Map<String, T>) - Method in class org.apache.http.protocol.UriPatternMatcher
-
Deprecated.(4.1) do not use
- setParameter(String, Object) - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.
- setParameter(String, Object) - Method in interface org.apache.http.params.HttpParams
-
Deprecated.Assigns the value to the parameter with the given name.
- setParameters(String[], Object) - Method in class org.apache.http.params.BasicHttpParams
-
Deprecated.Assigns the value to all the parameter with the given names
- setParams(HttpParams) - Method in interface org.apache.http.HttpMessage
-
Deprecated.(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
- setParams(HttpParams) - Method in class org.apache.http.message.AbstractHttpMessage
-
Deprecated.(4.3) use constructor parameters of configuration API provided by HttpClient
- setParams(HttpParams) - Method in class org.apache.http.protocol.HttpService
-
Deprecated.(4.1) set
HttpResponseFactoryusing constructor - setReasonPhrase(String) - Method in interface org.apache.http.HttpResponse
-
Updates the status line of this response with a new reason phrase.
- setReasonPhrase(String) - Method in class org.apache.http.message.BasicHttpResponse
- setResponseFactory(HttpResponseFactory) - Method in class org.apache.http.protocol.HttpService
-
Deprecated.(4.1) set
HttpResponseFactoryusing constructor - setSocketTimeout(int) - Method in interface org.apache.http.HttpConnection
-
Sets the socket timeout value.
- setSocketTimeout(int) - Method in class org.apache.http.impl.BHttpConnectionBase
- setSoKeepAlive(boolean) - Method in class org.apache.http.config.SocketConfig.Builder
- setSoLinger(int) - Method in class org.apache.http.config.SocketConfig.Builder
- setSoReuseAddress(boolean) - Method in class org.apache.http.config.SocketConfig.Builder
- setSoTimeout(int) - Method in class org.apache.http.config.SocketConfig.Builder
- setState(Object) - Method in class org.apache.http.pool.PoolEntry
- setStatusCode(int) - Method in interface org.apache.http.HttpResponse
-
Updates the status line of this response with a new status code.
- setStatusCode(int) - Method in class org.apache.http.message.BasicHttpResponse
- setStatusLine(ProtocolVersion, int) - Method in interface org.apache.http.HttpResponse
-
Sets the status line of this response.
- setStatusLine(ProtocolVersion, int) - Method in class org.apache.http.message.BasicHttpResponse
- setStatusLine(ProtocolVersion, int, String) - Method in interface org.apache.http.HttpResponse
-
Sets the status line of this response with a reason phrase.
- setStatusLine(ProtocolVersion, int, String) - Method in class org.apache.http.message.BasicHttpResponse
- setStatusLine(StatusLine) - Method in interface org.apache.http.HttpResponse
-
Sets the status line of this response.
- setStatusLine(StatusLine) - Method in class org.apache.http.message.BasicHttpResponse
- setTargetHost(HttpHost) - Method in class org.apache.http.protocol.HttpCoreContext
- setTcpNoDelay(boolean) - Method in class org.apache.http.config.SocketConfig.Builder
- setUnmappableInputAction(CodingErrorAction) - Method in class org.apache.http.config.ConnectionConfig.Builder
- shutdown() - Method in interface org.apache.http.HttpConnection
-
Force-closes this connection.
- shutdown() - Method in class org.apache.http.impl.BHttpConnectionBase
- shutdown() - Method in class org.apache.http.pool.AbstractConnPool
-
Shuts down the pool.
- skip(long) - Method in class org.apache.http.impl.io.ContentLengthInputStream
-
Skips and discards a number of bytes from the input stream.
- skipWhitespace(CharArrayBuffer, ParserCursor) - Method in class org.apache.http.message.BasicLineParser
-
Helper to skip whitespace.
- SO_KEEPALIVE - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Defines whether or not TCP is to send automatically a keepalive probe to the peer after an interval of inactivity (no data exchanged in either direction) between this host and the peer.
- SO_LINGER - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Sets SO_LINGER with the specified linger time in seconds.
- SO_REUSEADDR - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Defines whether the socket can be bound even though a previous connection is still in a timeout state.
- SO_TIMEOUT - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Defines the socket timeout (
SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets). - SOCKET_BUFFER_SIZE - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Determines the size of the internal socket buffer used to buffer data while receiving / transmitting HTTP messages.
- SocketConfig - Class in org.apache.http.config
-
Socket configuration.
- SocketConfig.Builder - Class in org.apache.http.config
- SP - Static variable in class org.apache.http.Consts
- SP - Static variable in class org.apache.http.protocol.HTTP
- STALE_CONNECTION_CHECK - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Determines whether stale connection check is to be used.
- STATUS_URI - Static variable in class org.apache.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.7
- StatusLine - Interface in org.apache.http
-
The first line of a Response message is the Status-Line, consisting of the protocol version followed by a numeric status code and its associated textual phrase, with each element separated by SP characters.
- STRICT_TRANSFER_ENCODING - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines whether responses with an invalid
Transfer-Encodingheader should be rejected. - StrictContentLengthStrategy - Class in org.apache.http.impl.entity
-
The strict implementation of the content length strategy.
- StrictContentLengthStrategy() - Constructor for class org.apache.http.impl.entity.StrictContentLengthStrategy
-
Creates StrictContentLengthStrategy instance.
- StrictContentLengthStrategy(int) - Constructor for class org.apache.http.impl.entity.StrictContentLengthStrategy
-
Creates StrictContentLengthStrategy instance with the given length used per default when content length is not explicitly specified in the message.
- StringEntity - Class in org.apache.http.entity
-
A self contained, repeatable entity that obtains its content from a
String. - StringEntity(String) - Constructor for class org.apache.http.entity.StringEntity
-
Creates a StringEntity with the specified content.
- StringEntity(String, String) - Constructor for class org.apache.http.entity.StringEntity
-
Creates a StringEntity with the specified content and charset.
- StringEntity(String, String, String) - Constructor for class org.apache.http.entity.StringEntity
-
Deprecated.(4.1.3) use
StringEntity(String, ContentType) - StringEntity(String, Charset) - Constructor for class org.apache.http.entity.StringEntity
-
Creates a StringEntity with the specified content and charset.
- StringEntity(String, ContentType) - Constructor for class org.apache.http.entity.StringEntity
-
Creates a StringEntity with the specified content and content type.
- substring(int, int) - Method in class org.apache.http.util.CharArrayBuffer
-
Returns a substring of this buffer.
- substringTrimmed(int, int) - Method in class org.apache.http.util.CharArrayBuffer
-
Returns a substring of this buffer with leading and trailing whitespace omitted.
T
- TARGET_HOST - Static variable in class org.apache.http.protocol.HTTP
- TCP_NODELAY - Static variable in interface org.apache.http.params.CoreConnectionPNames
-
Deprecated.Determines whether Nagle's algorithm is to be used.
- TE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.39
- TEXT_HTML - Static variable in class org.apache.http.entity.ContentType
- TEXT_PLAIN - Static variable in class org.apache.http.entity.ContentType
- TEXT_XML - Static variable in class org.apache.http.entity.ContentType
- TextUtils - Class in org.apache.http.util
- TextUtils() - Constructor for class org.apache.http.util.TextUtils
- ThreadSafe - Annotation Type in org.apache.http.annotation
-
The class to which this annotation is applied is thread-safe.
- TIMEOUT - Static variable in class org.apache.http.HttpHeaders
-
RFC 2518 (WevDAV) Section 9.8
- toByteArray() - Method in class org.apache.http.util.ByteArrayBuffer
-
Converts the content of this buffer to an array of bytes.
- toByteArray(HttpEntity) - Static method in class org.apache.http.util.EntityUtils
-
Read the contents of an entity and return it as a byte array.
- toCharArray() - Method in class org.apache.http.util.CharArrayBuffer
-
Converts the content of this buffer to an array of chars.
- toHostString() - Method in class org.apache.http.HttpHost
-
Obtains the host string, without scheme prefix.
- TokenIterator - Interface in org.apache.http
-
An iterator for
Stringtokens. - toString() - Method in class org.apache.http.config.ConnectionConfig
- toString() - Method in class org.apache.http.config.MessageConstraints
- toString() - Method in class org.apache.http.config.Registry
- toString() - Method in class org.apache.http.config.RegistryBuilder
- toString() - Method in class org.apache.http.config.SocketConfig
- toString() - Method in class org.apache.http.entity.ContentType
-
Generates textual representation of this content type which can be used as the value of a
Content-Typeheader. - toString() - Method in class org.apache.http.HttpHost
- toString() - Method in class org.apache.http.impl.BHttpConnectionBase
- toString() - Method in class org.apache.http.message.BasicHeader
- toString() - Method in class org.apache.http.message.BasicHeaderElement
- toString() - Method in class org.apache.http.message.BasicHttpRequest
- toString() - Method in class org.apache.http.message.BasicHttpResponse
- toString() - Method in class org.apache.http.message.BasicNameValuePair
- toString() - Method in class org.apache.http.message.BasicRequestLine
- toString() - Method in class org.apache.http.message.BasicStatusLine
- toString() - Method in class org.apache.http.message.BufferedHeader
- toString() - Method in class org.apache.http.message.HeaderGroup
- toString() - Method in class org.apache.http.message.ParserCursor
- toString() - Method in class org.apache.http.pool.AbstractConnPool
- toString() - Method in class org.apache.http.pool.PoolEntry
- toString() - Method in class org.apache.http.pool.PoolStats
- toString() - Method in class org.apache.http.protocol.BasicHttpContext
- toString() - Method in class org.apache.http.protocol.UriPatternMatcher
- toString() - Method in class org.apache.http.ProtocolVersion
-
Converts this protocol version to a string.
- toString() - Method in class org.apache.http.util.CharArrayBuffer
- toString() - Method in class org.apache.http.util.VersionInfo
-
Provides the version information in human-readable format.
- toString(HttpEntity) - Static method in class org.apache.http.util.EntityUtils
-
Read the contents of an entity and return it as a String.
- toString(HttpEntity, String) - Static method in class org.apache.http.util.EntityUtils
-
Get the entity content as a String, using the provided default character set if none is found in the entity.
- toString(HttpEntity, Charset) - Static method in class org.apache.http.util.EntityUtils
-
Get the entity content as a String, using the provided default character set if none is found in the entity.
- toURI() - Method in class org.apache.http.HttpHost
-
Return the host URI, as a string.
- TRAILER - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.40
- TRANSFER_ENCODING - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.41
- TRANSFER_ENCODING - Static variable in class org.apache.http.protocol.HTTP
-
HTTP header definitions
- TruncatedChunkException - Exception in org.apache.http
-
Signals a truncated chunk in a chunked stream.
- TruncatedChunkException(String) - Constructor for exception org.apache.http.TruncatedChunkException
-
Creates a TruncatedChunkException with the specified detail message.
U
- UNAVAILABLE - Static variable in class org.apache.http.util.VersionInfo
-
A string constant for unavailable information.
- unregister(String) - Method in class org.apache.http.protocol.UriHttpRequestHandlerMapper
-
Removes registered handler, if exists, for the given pattern.
- unregister(String) - Method in class org.apache.http.protocol.UriPatternMatcher
-
Removes registered object, if exists, for the given pattern.
- UNSAFE_CHARS - Static variable in class org.apache.http.message.BasicHeaderValueFormatter
-
Unsafe special characters that must be escaped using the backslash character
- UnsupportedHttpVersionException - Exception in org.apache.http
-
Signals an unsupported version of the HTTP protocol.
- UnsupportedHttpVersionException() - Constructor for exception org.apache.http.UnsupportedHttpVersionException
-
Creates an exception without a detail message.
- UnsupportedHttpVersionException(String) - Constructor for exception org.apache.http.UnsupportedHttpVersionException
-
Creates an exception with the specified detail message.
- updateEntity(HttpResponse, HttpEntity) - Static method in class org.apache.http.util.EntityUtils
-
Updates an entity in a response by first consuming an existing entity, then setting the new one.
- updateExpiry(long, TimeUnit) - Method in class org.apache.http.pool.PoolEntry
- updateHeader(Header) - Method in class org.apache.http.message.HeaderGroup
-
Replaces the first occurence of the header with the same name.
- updatePos(int) - Method in class org.apache.http.message.ParserCursor
- UPGRADE - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.42
- UriHttpRequestHandlerMapper - Class in org.apache.http.protocol
-
Maintains a map of HTTP request handlers keyed by a request URI pattern.
- UriHttpRequestHandlerMapper() - Constructor for class org.apache.http.protocol.UriHttpRequestHandlerMapper
- UriHttpRequestHandlerMapper(UriPatternMatcher<HttpRequestHandler>) - Constructor for class org.apache.http.protocol.UriHttpRequestHandlerMapper
- UriPatternMatcher<T> - Class in org.apache.http.protocol
-
Maintains a map of objects keyed by a request URI pattern.
- UriPatternMatcher() - Constructor for class org.apache.http.protocol.UriPatternMatcher
- US_ASCII - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- USE_EXPECT_CONTINUE - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Activates 'Expect: 100-Continue' handshake for the entity enclosing methods.
- USER_AGENT - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.15, RFC 2616 (HTTP/1.1) Section 14.43
- USER_AGENT - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines the content of the
User-Agentheader. - USER_AGENT - Static variable in class org.apache.http.protocol.HTTP
- UTF_16 - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
- UTF_8 - Static variable in class org.apache.http.Consts
- UTF_8 - Static variable in class org.apache.http.protocol.HTTP
-
Deprecated.(4.2)
V
- value() - Method in annotation type org.apache.http.annotation.GuardedBy
- VARY - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.44
- verify(HttpRequest, HttpResponse, HttpContext) - Method in interface org.apache.http.protocol.HttpExpectationVerifier
-
Verifies whether the given request meets the server's expectations.
- VERSION_PROPERTY_FILE - Static variable in class org.apache.http.util.VersionInfo
-
The filename of the version information files.
- VersionInfo - Class in org.apache.http.util
-
Provides access to version information for HTTP components.
- VersionInfo(String, String, String, String, String) - Constructor for class org.apache.http.util.VersionInfo
-
Instantiates version information.
- VIA - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.45
W
- WAIT_FOR_CONTINUE - Static variable in interface org.apache.http.params.CoreProtocolPNames
-
Deprecated.Defines the maximum period of time in milliseconds the client should spend waiting for a 100-continue response.
- WARNING - Static variable in class org.apache.http.HttpHeaders
-
RFC 2616 (HTTP/1.1) Section 14.46
- WILDCARD - Static variable in class org.apache.http.entity.ContentType
- withCharset(String) - Method in class org.apache.http.entity.ContentType
-
Creates a new instance with this MIME type and the given Charset name.
- withCharset(Charset) - Method in class org.apache.http.entity.ContentType
-
Creates a new instance with this MIME type and the given Charset.
- wrappedEntity - Variable in class org.apache.http.entity.HttpEntityWrapper
-
The wrapped entity.
- write(byte[]) - Method in class org.apache.http.impl.io.ChunkedOutputStream
-
Writes the array.
- write(byte[]) - Method in class org.apache.http.impl.io.ContentLengthOutputStream
- write(byte[]) - Method in class org.apache.http.impl.io.IdentityOutputStream
- write(byte[]) - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- write(byte[]) - Method in interface org.apache.http.io.SessionOutputBuffer
-
Writes
b.lengthbytes from the specified byte array to this session buffer. - write(byte[], int, int) - Method in class org.apache.http.impl.io.ChunkedOutputStream
-
Writes the array.
- write(byte[], int, int) - Method in class org.apache.http.impl.io.ContentLengthOutputStream
- write(byte[], int, int) - Method in class org.apache.http.impl.io.IdentityOutputStream
- write(byte[], int, int) - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- write(byte[], int, int) - Method in interface org.apache.http.io.SessionOutputBuffer
-
Writes
lenbytes from the specified byte array starting at offsetoffto this session buffer. - write(int) - Method in class org.apache.http.impl.io.ChunkedOutputStream
- write(int) - Method in class org.apache.http.impl.io.ContentLengthOutputStream
- write(int) - Method in class org.apache.http.impl.io.IdentityOutputStream
- write(int) - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
- write(int) - Method in interface org.apache.http.io.SessionOutputBuffer
-
Writes the specified byte to this session buffer.
- write(T) - Method in class org.apache.http.impl.io.AbstractMessageWriter
- write(T) - Method in interface org.apache.http.io.HttpMessageWriter
-
Serializes an instance of
HttpMessageto the underlying data sink. - writeClosingChunk() - Method in class org.apache.http.impl.io.ChunkedOutputStream
- writeHeadLine(HttpRequest) - Method in class org.apache.http.impl.io.DefaultHttpRequestWriter
- writeHeadLine(HttpResponse) - Method in class org.apache.http.impl.io.DefaultHttpResponseWriter
- writeHeadLine(T) - Method in class org.apache.http.impl.io.AbstractMessageWriter
-
Subclasses must override this method to write out the first header line based on the
HttpMessagepassed as a parameter. - writeLine(String) - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
-
Writes characters from the specified string followed by a line delimiter to this session buffer.
- writeLine(String) - Method in interface org.apache.http.io.SessionOutputBuffer
-
Writes characters from the specified string followed by a line delimiter to this session buffer.
- writeLine(CharArrayBuffer) - Method in class org.apache.http.impl.io.SessionOutputBufferImpl
-
Writes characters from the specified char array followed by a line delimiter to this session buffer.
- writeLine(CharArrayBuffer) - Method in interface org.apache.http.io.SessionOutputBuffer
-
Writes characters from the specified char array followed by a line delimiter to this session buffer.
- writeTo(OutputStream) - Method in class org.apache.http.entity.BasicHttpEntity
- writeTo(OutputStream) - Method in class org.apache.http.entity.BufferedHttpEntity
- writeTo(OutputStream) - Method in class org.apache.http.entity.ByteArrayEntity
- writeTo(OutputStream) - Method in interface org.apache.http.entity.ContentProducer
- writeTo(OutputStream) - Method in class org.apache.http.entity.EntityTemplate
- writeTo(OutputStream) - Method in class org.apache.http.entity.FileEntity
- writeTo(OutputStream) - Method in class org.apache.http.entity.HttpEntityWrapper
- writeTo(OutputStream) - Method in class org.apache.http.entity.InputStreamEntity
-
Writes bytes from the
InputStreamthis entity was constructed with to anOutputStream. - writeTo(OutputStream) - Method in class org.apache.http.entity.SerializableEntity
- writeTo(OutputStream) - Method in class org.apache.http.entity.StringEntity
- writeTo(OutputStream) - Method in interface org.apache.http.HttpEntity
-
Writes the entity content out to the output stream.
- WWW_AUTHENTICATE - Static variable in class org.apache.http.HttpHeaders
-
RFC 1945 (HTTP/1.0) Section 10.16, RFC 2616 (HTTP/1.1) Section 14.47
All Classes All Packages