org.apache.http.HttpClientConnection |
Known Indirect Subclasses |
An HTTP connection for use on the client side. It is used for sending requests and receiving responses.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Writes out all pending buffered data over the open connection.
|
||||||||||
|
Checks if response data is available from the connection.
|
||||||||||
|
Receives the next response entity available from this connection and
attaches it to an existing HttpResponse object.
|
||||||||||
|
Receives the request line and headers of the next response available from
this connection.
|
||||||||||
|
Sends the request entity over the connection.
|
||||||||||
|
Sends the request line and all headers over the connection.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.http.HttpConnection
|
Writes out all pending buffered data over the open connection.
IOException |
---|
Checks if response data is available from the connection. May wait for the specified time until some data becomes available. Note that some implementations may completely ignore the timeout parameter.
timeout | the maximum time in milliseconds to wait for data |
---|
timeout
milliseconds.
IOException | if an error happens on the connection |
---|
Receives the next response entity available from this connection and attaches it to an existing HttpResponse object.
response | the response to attach the entity to |
---|
HttpException | |
IOException | |
HttpException |
Receives the request line and headers of the next response available from this connection. The caller should examine the HttpResponse object to find out if it should try to receive a response entity as well.
HttpException | |
IOException | |
HttpException |
Sends the request entity over the connection.
request | the request whose entity to send. |
---|
HttpException | |
IOException | |
HttpException |
Sends the request line and all headers over the connection.
request | the request whose headers to send. |
---|
HttpException | |
IOException | |
HttpException |