|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HttpException | |
org.apache.commons.httpclient | Classes and interfaces supporting the client side of the HTTP protocol. |
org.apache.commons.httpclient.cookie | Provides cookie handling in conjunction with Cookie . |
org.apache.commons.httpclient.methods | Classes implementing HttpMethod for the base HTTP methods. |
Uses of HttpException in org.apache.commons.httpclient |
Subclasses of HttpException in org.apache.commons.httpclient | |
class |
HttpRecoverableException
Signals that an HTTP or HttpClient exception has occurred. |
Methods in org.apache.commons.httpclient that throw HttpException | |
java.lang.String |
NTLM.getResponseFor(java.lang.String message,
java.lang.String username,
java.lang.String password,
java.lang.String host,
java.lang.String domain)
Returns the response for the given message. |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
|
int |
HttpClient.executeMethod(HttpMethod method)
Executes the given method. |
int |
HttpClient.executeMethod(HostConfiguration hostConfiguration,
HttpMethod method)
Executes the given method. |
int |
HttpMethodBase.execute(HttpState state,
HttpConnection conn)
Execute this method. |
protected void |
HttpMethodBase.addAuthorizationRequestHeader(HttpState state,
HttpConnection conn)
Adds an Authorization request if needed, as long as no Authorization request header already exists. |
protected void |
HttpMethodBase.addContentLengthRequestHeader(HttpState state,
HttpConnection conn)
Adds a Content-Length or Transfer-Encoding: Chunked request header, as long as no Content-Length request header already exists. |
protected void |
HttpMethodBase.addCookieRequestHeader(HttpState state,
HttpConnection conn)
Adds a Cookie request containing the matching Cookie s. |
protected void |
HttpMethodBase.addHostRequestHeader(HttpState state,
HttpConnection conn)
Adds a Host request header, as long as no Host request header already exists. |
protected void |
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState state,
HttpConnection conn)
Adds a Proxy-Authorization request if needed, as long as no Proxy-Authorization request header already exists. |
protected void |
HttpMethodBase.addRequestHeaders(HttpState state,
HttpConnection conn)
Populates the request headers map to with additional headers to be submitted to the given HttpConnection . |
protected void |
HttpMethodBase.addUserAgentRequestHeader(HttpState state,
HttpConnection conn)
Adds a default User-Agent request header, as long as no User-Agent request header already exists. |
protected void |
HttpMethodBase.readResponse(HttpState state,
HttpConnection conn)
Reads the response from the given HttpConnection . |
protected void |
HttpMethodBase.readResponseBody(HttpState state,
HttpConnection conn)
Read the response body from the given HttpConnection . |
protected void |
HttpMethodBase.readResponseHeaders(HttpState state,
HttpConnection conn)
Read response headers from the given HttpConnection , populating
the response headers map. |
protected void |
HttpMethodBase.readStatusLine(HttpState state,
HttpConnection conn)
Read the status line from the given HttpConnection , setting my
status code and status
text . |
protected void |
HttpMethodBase.writeRequest(HttpState state,
HttpConnection conn)
Writes my request to the given HttpConnection . |
protected boolean |
HttpMethodBase.writeRequestBody(HttpState state,
HttpConnection conn)
Write the request body to the given HttpConnection . |
protected void |
HttpMethodBase.writeRequestHeaders(HttpState state,
HttpConnection conn)
Writes the request headers to the given HttpConnection . |
protected void |
HttpMethodBase.writeRequestLine(HttpState state,
HttpConnection conn)
Writes the "request line" to the given HttpConnection . |
int |
ConnectMethod.execute(HttpState state,
HttpConnection conn)
Execute this method by tunnelling and then executing the wrapped method. |
protected void |
ConnectMethod.writeRequestHeaders(HttpState state,
HttpConnection conn)
Writes a minimal set of headers to the proxy. |
protected void |
ConnectMethod.writeRequestLine(HttpState state,
HttpConnection conn)
Special Connect request. |
HttpConnection |
HttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
Gets an HttpConnection for a given host configuration. |
int |
HttpMethod.execute(HttpState state,
HttpConnection connection)
Execute this method. |
static java.lang.String |
Authenticator.createDigest(java.lang.String uname,
java.lang.String pwd,
java.util.Map mapCredentials)
Creates an MD5 response digest. |
static boolean |
Authenticator.authenticate(HttpMethod method,
HttpState state)
Add requisite authentication credentials to the given method in the given state if possible. |
static boolean |
Authenticator.authenticateProxy(HttpMethod method,
HttpState state)
Add requisite proxy authentication credentials to the given method in the given state if possible. |
static HeaderElement[] |
HeaderElement.parse(java.lang.String headerValue)
This parses the value part of a header. |
HeaderElement[] |
Header.getValues()
Returns an array of HeaderElement s
constructed from my value. |
static Cookie[] |
Cookie.parse(java.lang.String domain,
int port,
java.lang.String path,
Header setCookie)
Parses the Set-Cookie Header into an array of
Cookies, assuming that the cookies were recieved
on an insecure channel. |
static Cookie[] |
Cookie.parse(java.lang.String domain,
java.lang.String path,
Header setCookie)
Deprecated. use CookieSpec interface |
static Cookie[] |
Cookie.parse(java.lang.String domain,
java.lang.String path,
boolean secure,
Header setCookie)
Deprecated. use CookieSpec interface |
static Cookie[] |
Cookie.parse(java.lang.String domain,
int port,
java.lang.String path,
boolean secure,
Header setCookie)
Deprecated. use CookieSpec interface |
Constructors in org.apache.commons.httpclient that throw HttpException | |
StatusLine(java.lang.String statusLine)
Default constructor. |
Uses of HttpException in org.apache.commons.httpclient.cookie |
Subclasses of HttpException in org.apache.commons.httpclient.cookie | |
class |
MalformedCookieException
|
Uses of HttpException in org.apache.commons.httpclient.methods |
Methods in org.apache.commons.httpclient.methods that throw HttpException | |
protected void |
PutMethod.addRequestHeaders(HttpState state,
HttpConnection conn)
Override the method of HttpMethodBase
to set the Expect header if it has
not already been set, in addition to the "standard"
set of headers. |
protected boolean |
PutMethod.writeRequestBody(HttpState state,
HttpConnection conn)
Override the method of HttpMethodBase
to not send any data until
the 100 Continue status has not be
read. |
protected void |
PostMethod.addRequestHeaders(HttpState state,
HttpConnection conn)
Override method of HttpMethodBase
to also add Content-Type header when appropriate. |
protected boolean |
PostMethod.writeRequestBody(HttpState state,
HttpConnection conn)
Override method of HttpMethodBase
to write request parameters as the request body. |
protected void |
MultipartPostMethod.addRequestHeaders(HttpState state,
HttpConnection conn)
|
protected boolean |
MultipartPostMethod.writeRequestBody(HttpState state,
HttpConnection conn)
Override method of HttpMethodBase
to write request parameters as the
request body. |
protected void |
HeadMethod.readResponseBody(HttpState state,
HttpConnection conn)
Overrides HttpMethodBase method to not read a response
body, despite the presence of a Content-Length or
Transfer-Encoding header. |
protected void |
GetMethod.readResponseBody(HttpState state,
HttpConnection conn)
Overrides method in HttpMethodBase to write data to the
appropriate buffer. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |