|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
DefaultBHttpClientConnection
HttpMessage
.AbstractHttpMessage.AbstractHttpMessage()
DefaultBHttpServerConnection
SessionInputBuffer
.AbstractMessageParser.AbstractMessageParser(SessionInputBuffer,
LineParser, MessageConstraints)
SessionOutputBuffer
.AbstractMessageWriter.AbstractMessageWriter(SessionOutputBuffer, LineFormatter)
SessionInputBufferImpl
SessionOutputBufferImpl
len
bytes to this buffer from the given source
array starting at index off
.
b
byte to this buffer.
len
chars to this buffer from the given source
array starting at index off
.
len
chars to this buffer from the given source
char array buffer starting at index off
.
len
chars to this buffer from the given source
array starting at index off
.
len
chars to this buffer from the given source
buffer starting at index off
.
0
.
ch
char to this buffer.
len
bytes to this buffer from the given source
array starting at index off
.
len
bytes to this buffer from the given source
array starting at index off
.
ConnFactory
implementation that creates
HttpClientConnection
instances given a HttpHost
instance.BasicConnFactory.BasicConnFactory(SocketFactory, SSLSocketFactory, int,
SocketConfig, ConnectionConfig)
.
BasicConnFactory.BasicConnFactory(int, SocketConfig, ConnectionConfig)
.
ConnPool
implementation that
represents a pool of blocking HttpClientConnection
connections
identified by an HttpHost
instance.BasicConnPool.BasicConnPool(SocketConfig, ConnectionConfig)
Future
interface.Header
.HeaderElement
HeaderElementIterator
.HeaderIterator
.HttpContext
.InputStream
.HttpEntityEnclosingRequest
.HttpRequest
.HttpResponse
.HeaderIterator
based on a List
.NameValuePair
.PoolEntry
implementation that represents an entry
in a pool of blocking HttpClientConnection
s identified by
an HttpHost
instance.RequestLine
.StatusLine
TokenIterator
.BasicTokenIterator
.
HttpConnection
implementations and provides
functionality common to both client and server HTTP connections.Socket
.
Socket
.
Socket
.
ByteArrayBuffer
with the given initial
capacity.
byte
value in this buffer at the specified
index.
CharArrayBuffer
with the given initial
capacity.
char
value in this buffer at the specified
index.
ChunkedOutputStream.ChunkedOutputStream(int, SessionOutputBuffer)
ChunkedOutputStream.ChunkedOutputStream(int, SessionOutputBuffer)
ConnPool
such as
maximum total number of connections or maximum connections per route
allowed.HttpEntity.getContent()
and call InputStream.close()
on that;
otherwise call HttpEntity.writeTo(java.io.OutputStream)
which is required to free the resources.
HttpEntityWrapper.getContent()
and call InputStream.close()
on that;
otherwise call HttpEntityWrapper.writeTo(OutputStream)
which is required to free the resources.
EntityUtils.consume(HttpEntity)
ContentType
.
ContentType
without a charset.
ContentType
.
EntityDeserializer
with the
LaxContentLengthStrategy
implementation to be used for
de-serializing entities received over this connection.
EntityDeserializer
with the
LaxContentLengthStrategy
implementation to be used for
de-serializing entities received over this connection.
EntitySerializer
with the
StrictContentLengthStrategy
implementation to be used for
serializing HTTP entities sent over this connection.
EntitySerializer
with the
StrictContentLengthStrategy
implementation to be used for
serializing HTTP entities sent over this connection.
DefaultHttpRequestFactory
to be used
for creating HttpRequest
objects received by over this
connection.
DefaultHttpResponseFactory
to be used
for creating HttpResponse
objects received by over this
connection.
HttpMessageParser
to be used for parsing
HTTP requests received over this connection.
HttpMessageWriter
to be used for
writing out HTTP requests sent over this connection.
HttpMessageParser
to be used for parsing
HTTP responses received over this connection.
HttpMessageWriter
to be used for
writing out HTTP responses sent over this connection.
SocketInputBuffer
to be used for
receiving data from the given Socket
.
SocketInputBuffer
to be used for
receiving data from the given Socket
.
SessionOutputBuffer
to be used for
sending data to the given Socket
.
SessionOutputBuffer
to be used for
sending data to the given Socket
.
allHeaders
.
allHeaders
.
BasicTokenIterator.nextToken()
.
BasicHeaderValueFormatter.INSTANCE
BasicHeaderValueParser.INSTANCE
BasicLineFormatter.INSTANCE
BasicLineParser.INSTANCE
HttpClientConnection
.HttpClientConnection
s.HttpServerConnection
.HttpServerConnection
s.DefaultBHttpClientConnection
HttpRequest
objects.SessionInputBuffer
.DefaultHttpRequestParser.DefaultHttpRequestParser(SessionInputBuffer, LineParser,
HttpRequestFactory, MessageConstraints)
SessionOutputBuffer
.HttpResponse
objects.SessionInputBuffer
.DefaultHttpResponseParser.DefaultHttpResponseParser(SessionInputBuffer, LineParser,
HttpResponseFactory, MessageConstraints)
SessionOutputBuffer
.DefaultBHttpServerConnection
HttpEntity
based on properties of the given message.
ContentLengthStrategy
implementations that disallows the use of
identity transfer encoding.BasicHttpEntity
based on properties of the given
message.
OutputStream
instance that transparently encodes
output data as it is being written out to the output stream.
HttpRequestHandler
for the request URI of the given request
and, if found, executes its
HttpRequestHandler.handle(HttpRequest, HttpResponse, HttpContext)
method.
BHttpConnectionBase
BHttpConnectionBase
ContentProducer
.HttpEntity
s.HttpCoreContext
.FileEntity.FileEntity(File, ContentType)
Future
.Content-Type
value from HttpEntity
exactly as
specified by the Content-Type
header of the entity.
null
otherwise.
Boolean
parameter value with the given name.
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter.
CoreProtocolPNames.HTTP_CONTENT_CHARSET
parameter.
ContentType.getOrDefault(HttpEntity)
ContentType.getOrDefault(HttpEntity)
Double
parameter value with the given name.
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
parameter.
Integer
parameter value with the given name.
CoreConnectionPNames.SO_LINGER
parameter.
Long
parameter value with the given name.
CoreProtocolPNames.HTTP_MALFORMED_INPUT_ACTION
parameter.
HttpTransportMetrics
for this session buffer.
HttpTransportMetrics
for this session buffer.
Content-Type
value from HttpEntity
or returns the default value
ContentType.DEFAULT_TEXT
if not explicitly specified.
HttpRequest
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter.
CoreConnectionPNames.SO_KEEPALIVE
parameter.
SocketOptions.SO_LINGER
parameter
for newly created sockets.
CoreConnectionPNames.SO_REUSEADDR
parameter.
CoreConnectionPNames.SO_TIMEOUT
parameter.
CoreConnectionPNames.TCP_NODELAY
parameter.
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION
parameter.
CoreProtocolPNames.USER_AGENT
parameter.
"<name>/<release> (Java 1.5 minimum; Java/<java.version>)"
.
buffer
.
CoreProtocolPNames.PROTOCOL_VERSION
parameter.
ProtocolVersion.equals(java.lang.Object)
.
header
value consisting of
a name / value pair and a number of optional name / value parameters.HeaderElement
objects.Header
objects.HttpConnection
object that
represents the actual HTTP connection.
HttpConnection
object that
represents the actual HTTP connection.
Boolean
object that represents the
the flag indicating whether the actual request has been fully transmitted
to the target host.
Boolean
object that represents the
the flag indicating whether the actual request has been fully transmitted
to the target host.
HttpRequest
object that
represents the actual HTTP request.
HttpRequest
object that
represents the actual HTTP request.
HttpResponse
object that
represents the actual HTTP response.
HttpResponse
object that
represents the actual HTTP response.
HttpHost
object that
represents the connection target.
HttpHost
object that
represents the connection target.
HttpConnection
instances.HttpConnection
.HttpConnectionMetrics
interface.HttpContext
that provides convenience
setters for user assignable attributes and getter for readable attributes.HttpHost
, specifying all values.
HttpHost
, with default scheme.
HttpHost
, with default scheme and port.
HttpHost
, specifying all values.
HttpHost
, with default scheme.
HttpHost
, with default scheme and port.
HttpHost
.
HttpMessageParser
instances.HttpMessageWriter
instances.HttpParams
. Do not use.HttpProcessor
instances.HttpRequest
objects.HttpRequestHandler
matching a particular HttpRequest
.UriHttpRequestHandlerMapper
HttpRequestHandlerMapper
DefaultHttpRequestParser
DefaultHttpRequestWriter
HttpResponse
objects.DefaultHttpResponseParser
DefaultHttpResponseWriter
HttpService.HttpService(HttpProcessor, ConnectionReuseStrategy,
HttpResponseFactory, HttpRequestHandlerMapper, HttpExpectationVerifier)
HttpService.HttpService(HttpProcessor, ConnectionReuseStrategy,
HttpResponseFactory, HttpRequestHandlerMapper)
HttpService.HttpService(HttpProcessor,
ConnectionReuseStrategy, HttpResponseFactory, HttpRequestHandlerResolver, HttpParams)
SessionInputBuffer
or
SessionOutputBuffer
.HttpTransportMetrics
.HttpProcessor
.beginIndex
and finishing at endIndex
.
0
and finishing
at ByteArrayBuffer.length()
.
beginIndex
and finishing at endIndex
.
0
and finishing
at CharArrayBuffer.length()
.
SessionInputBuffer
and
SessionOutputBuffer
instances to be used for sending and
receiving data.
SessionInputBuffer
and
SessionOutputBuffer
instances to be used for sending and
receiving data.
InputStream
.true
if the pool entry has been invalidated.
true
if this buffer is empty, that is, its
ByteArrayBuffer.length()
is equal to 0
.
true
if this buffer is empty, that is, its
CharArrayBuffer.length()
is equal to 0
.
true
if this buffer is full, that is, its
ByteArrayBuffer.length()
is equal to its ByteArrayBuffer.capacity()
.
true
if this buffer is full, that is, its
CharArrayBuffer.length()
is equal to its CharArrayBuffer.capacity()
.
false
.
true
.
separator
.
SocketOptions.SO_KEEPALIVE
parameter
for newly created sockets.
SocketOptions.SO_REUSEADDR
parameter
for newly created sockets.
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter.
SocketOptions.TCP_NODELAY
parameter
for newly created sockets.
unsafe
.
equals
and hashCode
methods.HttpHost.equals(java.lang.Object)
and HttpHost.hashCode()
.
Server
header.
Content-Type
value.
HttpMessage
from the underlying data
source.
ParseException
without details.
ParseException
with a detail message.
HttpMessage
based on the initial input from the session buffer.
ProtocolVersion
used per default.
InputStream.read(byte[], int, int)
behavior, but
also notifies the watcher when the contents have been consumed.
len
bytes of data from the session buffer into
an array of bytes.
b
.
HttpRequestHandler
as a handler for URIs
matching the given pattern.
HttpRequestHandler
as a handler for URIs
matching the given pattern.
Registry
instances.Connection
header
to the outgoing requests, which is essential for managing persistence of
HTTP/1.0
connections.Date
header
to the outgoing requests This interceptor is optional for client side
protocol processors.Expect
header.RequestExpectContinue.RequestExpectContinue(boolean)
Host
header.User-Agent
header.Connection
header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0
connections.Date header to the
outgoing responses.- ResponseDate() -
Constructor for class org.apache.http.protocol.ResponseDate
-
- responseInterceptors -
Variable in class org.apache.http.protocol.BasicHttpProcessor
- Deprecated.
- ResponseServer - Class in org.apache.http.protocol
- ResponseServer is responsible for adding
Server
header. - ResponseServer(String) -
Constructor for class org.apache.http.protocol.ResponseServer
-
- ResponseServer() -
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
BasicTokenIterator.currentToken
in BasicTokenIterator.currentHeader
.
Serializable
.InputStream
.OutputStream
.Boolean
to the parameter with the given name
CoreConnectionPNames.CONNECTION_TIMEOUT
parameter.
ConnectionReuseStrategy
using constructor
CoreProtocolPNames.HTTP_CONTENT_CHARSET
parameter.
Double
to the parameter with the given name
HttpExpectationVerifier
using constructor
HttpRequestHandlerResolver
using constructor
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
parameter.
HttpProcessor
using constructor
Integer
to the parameter with the given name
CoreConnectionPNames.SO_LINGER
parameter.
Long
to the parameter with the given name
CoreProtocolPNames.HTTP_MALFORMED_INPUT_ACTION
parameter.
HttpResponseFactory
using constructor
HttpResponseFactory
using constructor
CoreConnectionPNames.SOCKET_BUFFER_SIZE
parameter.
CoreConnectionPNames.SO_KEEPALIVE
parameter.
CoreConnectionPNames.SO_REUSEADDR
parameter.
CoreConnectionPNames.SO_TIMEOUT
parameter.
CoreConnectionPNames.STALE_CONNECTION_CHECK
parameter.
CoreConnectionPNames.TCP_NODELAY
parameter.
CoreProtocolPNames.HTTP_UNMAPPABLE_INPUT_ACTION
parameter.
CoreProtocolPNames.USE_EXPECT_CONTINUE
parameter.
CoreProtocolPNames.USER_AGENT
parameter.
CoreProtocolPNames.PROTOCOL_VERSION
parameter.
SO_TIMEOUT
) in milliseconds,
which is the timeout for waiting for data or, put differently,
a maximum period inactivity between two consecutive data packets).
DefaultBHttpClientConnection
SessionInputBufferImpl
SessionOutputBufferImpl
Transfer-Encoding
header should be rejected.
String
.StringEntity.StringEntity(String, ContentType)
String
tokens.Content-Type
header.
CoreProtocolPNames.USE_EXPECT_CONTINUE
parameter.
User-Agent
header.
HttpMessage
to the underlying data
sink.
len
bytes from the specified byte array
starting at offset off
to this session buffer.
b.length
bytes from the specified byte array
to this session buffer.
HttpMessage
passed as a parameter.
InputStream
this entity was constructed
with to an OutputStream
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |