Methods Summary |
---|
public void | flush()Writes out all pending buffered data over the open connection.
|
public boolean | isResponseAvailable(int timeout)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.
|
public void | receiveResponseEntity(org.apache.http.HttpResponse response)Receives the next response entity available from this connection and
attaches it to an existing HttpResponse object.
|
public org.apache.http.HttpResponse | receiveResponseHeader()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.
|
public void | sendRequestEntity(org.apache.http.HttpEntityEnclosingRequest request)Sends the request entity over the connection.
|
public void | sendRequestHeader(org.apache.http.HttpRequest request)Sends the request line and all headers over the connection.
|