Package | Description |
---|---|
org.apache.commons.httpclient |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpMethodBase.addCookieRequestHeader(HttpState state,
HttpConnection conn)
Generates Cookie request headers for those
cookie s
that match the given host, port and path. |
protected void |
HttpMethodBase.addHostRequestHeader(HttpState state,
HttpConnection conn)
Generates Host request header, as long as no Host request
header already exists.
|
protected void |
HttpMethodBase.addProxyConnectionHeader(HttpState state,
HttpConnection conn)
Generates Proxy-Connection: Keep-Alive request header when
communicating via a proxy server.
|
protected void |
HttpMethodBase.addRequestHeaders(HttpState state,
HttpConnection conn)
Generates all the required request
header s
to be submitted via the given connection . |
protected void |
HttpMethodBase.addUserAgentRequestHeader(HttpState state,
HttpConnection conn)
Generates default User-Agent request header, as long as no
User-Agent request header already exists.
|
int |
HttpMethodBase.execute(HttpState state,
HttpConnection conn)
Executes this method using the specified
HttpConnection and
HttpState . |
protected void |
HttpMethodBase.processResponseBody(HttpState state,
HttpConnection conn)
This method is invoked immediately after
HttpMethodBase.readResponseBody(HttpState,HttpConnection) and can be overridden by
sub-classes in order to provide custom body processing. |
protected void |
HttpMethodBase.processResponseHeaders(HttpState state,
HttpConnection conn)
This method is invoked immediately after
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection) and can be overridden by
sub-classes in order to provide custom response headers processing. |
protected void |
HttpMethodBase.processStatusLine(HttpState state,
HttpConnection conn)
This method is invoked immediately after
HttpMethodBase.readStatusLine(HttpState,HttpConnection) and can be overridden by
sub-classes in order to provide custom response status line processing. |
protected void |
HttpMethodBase.readResponse(HttpState state,
HttpConnection conn)
Reads the response from the given
connection . |
protected void |
HttpMethodBase.readResponseBody(HttpState state,
HttpConnection conn)
Read the response body from the given
HttpConnection . |
protected void |
HttpMethodBase.readResponseHeaders(HttpState state,
HttpConnection conn)
Reads the response headers from the given
connection . |
protected void |
HttpMethodBase.readStatusLine(HttpState state,
HttpConnection conn)
|
protected void |
HttpMethodBase.writeRequest(HttpState state,
HttpConnection conn)
Sends the request via the given
connection . |
protected boolean |
HttpMethodBase.writeRequestBody(HttpState state,
HttpConnection conn)
Writes the request body to the given
connection . |
protected void |
HttpMethodBase.writeRequestHeaders(HttpState state,
HttpConnection conn)
Writes the request headers to the given
connection . |
protected void |
HttpMethodBase.writeRequestLine(HttpState state,
HttpConnection conn)
Writes the request line to the given
connection . |
Copyright © 2003-2014 Internet Archive. All Rights Reserved.