|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SessionInputBuffer | |
---|---|
org.apache.http.impl | Default implementations for interfaces in
org.apache.http . |
org.apache.http.impl.entity | Default implementations for interfaces in
org.apache.http.entity and provides utility
classes for serialization and deserialization of HTTP content entities. |
org.apache.http.impl.io | Default implementations for interfaces in
org.apache.http.io . |
Uses of SessionInputBuffer in org.apache.http.impl |
---|
Methods in org.apache.http.impl that return SessionInputBuffer | |
---|---|
protected SessionInputBuffer |
SocketHttpServerConnection.createHttpDataReceiver(Socket socket,
int buffersize,
HttpParams params)
Deprecated. Use SocketHttpServerConnection.createSessionInputBuffer(Socket, int, HttpParams) |
protected SessionInputBuffer |
SocketHttpServerConnection.createSessionInputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of SocketInputBuffer to be used for
receiving data from the given Socket . |
protected SessionInputBuffer |
SocketHttpClientConnection.createSessionInputBuffer(Socket socket,
int buffersize,
HttpParams params)
Creates an instance of SocketInputBuffer to be used for
receiving data from the given Socket . |
Methods in org.apache.http.impl with parameters of type SessionInputBuffer | |
---|---|
protected HttpMessageParser |
AbstractHttpServerConnection.createRequestParser(SessionInputBuffer buffer,
HttpRequestFactory requestFactory,
HttpParams params)
Creates an instance of HttpMessageParser to be used for parsing
HTTP requests received over this connection. |
protected HttpMessageParser |
AbstractHttpClientConnection.createResponseParser(SessionInputBuffer buffer,
HttpResponseFactory responseFactory,
HttpParams params)
Creates an instance of HttpMessageParser to be used for parsing
HTTP responses received over this connection. |
protected void |
AbstractHttpClientConnection.init(SessionInputBuffer inbuffer,
SessionOutputBuffer outbuffer,
HttpParams params)
Initializes this connection object with SessionInputBuffer and
SessionOutputBuffer instances to be used for sending and
receiving data. |
protected void |
AbstractHttpServerConnection.init(SessionInputBuffer inbuffer,
SessionOutputBuffer outbuffer,
HttpParams params)
Initializes this connection object with SessionInputBuffer and
SessionOutputBuffer instances to be used for sending and
receiving data. |
Uses of SessionInputBuffer in org.apache.http.impl.entity |
---|
Methods in org.apache.http.impl.entity with parameters of type SessionInputBuffer | |
---|---|
HttpEntity |
EntityDeserializer.deserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates an HttpEntity based on properties of the given message. |
protected BasicHttpEntity |
EntityDeserializer.doDeserialize(SessionInputBuffer inbuffer,
HttpMessage message)
Creates a BasicHttpEntity based on properties of the given
message. |
Uses of SessionInputBuffer in org.apache.http.impl.io |
---|
Classes in org.apache.http.impl.io that implement SessionInputBuffer | |
---|---|
class |
AbstractSessionInputBuffer
Abstract base class for session input buffers that stream data from an arbitrary InputStream . |
class |
SocketInputBuffer
SessionInputBuffer implementation bound to a Socket . |
Methods in org.apache.http.impl.io with parameters of type SessionInputBuffer | |
---|---|
protected HttpMessage |
HttpResponseParser.parseHead(SessionInputBuffer sessionBuffer)
|
protected HttpMessage |
HttpRequestParser.parseHead(SessionInputBuffer sessionBuffer)
|
protected abstract HttpMessage |
AbstractMessageParser.parseHead(SessionInputBuffer sessionBuffer)
Subclasses must override this method to generate an instance of HttpMessage based on the initial input from the session buffer. |
static Header[] |
AbstractMessageParser.parseHeaders(SessionInputBuffer inbuffer,
int maxHeaderCount,
int maxLineLen,
LineParser parser)
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. |
static Header[] |
AbstractMessageParser.parseHeaders(SessionInputBuffer inbuffer,
int maxHeaderCount,
int maxLineLen,
LineParser parser,
List headerLines)
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. |
Constructors in org.apache.http.impl.io with parameters of type SessionInputBuffer | |
---|---|
AbstractMessageParser(SessionInputBuffer buffer,
LineParser parser,
HttpParams params)
Creates an instance of this class. |
|
ChunkedInputStream(SessionInputBuffer in)
Wraps session input stream and reads chunk coded input. |
|
ContentLengthInputStream(SessionInputBuffer in,
long contentLength)
Wraps a session input buffer and cuts off output after a defined number of bytes. |
|
HttpRequestParser(SessionInputBuffer buffer,
LineParser parser,
HttpRequestFactory requestFactory,
HttpParams params)
Creates an instance of this class. |
|
HttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
Creates an instance of this class. |
|
IdentityInputStream(SessionInputBuffer in)
Wraps session input stream and reads input until the the end of stream. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |