|
||||||||||
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.auth | Provides implementation of various authentication schemes as well as utility classes that can be used to authenticate HTTP requests. |
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 | |
interface |
HttpRecoverableException
Signals that an HTTP or HttpClient exception has occurred. |
Methods in org.apache.commons.httpclient that throw HttpException | |
HeaderElement[] |
Header.getValues()
Returns an array of HeaderElement s
constructed from my value. |
static HeaderElement[] |
HeaderElement.parse(String headerValue)
This parses the value part of a header. |
int |
HttpMethod.execute(HttpState state,
HttpConnection connection)
Execute this method. |
int |
HttpClient.executeMethod(HttpMethod method)
Executes the given method. |
int |
HttpClient.executeMethod(HostConfiguration hostConfiguration,
HttpMethod method)
Executes the given method. |
int |
HttpClient.executeMethod(HostConfiguration hostConfiguration,
HttpMethod method,
HttpState state)
Executes the given method. |
String |
NTLM.getResponseFor(String message,
String username,
String password,
String host,
String domain)
Deprecated. Returns the response for the given message. |
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.addProxyConnectionHeader(HttpState state,
HttpConnection conn)
Adds a Proxy-Connection: Keep-Alive request when communicating via a proxy server. |
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 . |
static Header[] |
HttpParser.parseHeaders(InputStream is)
Parses headers from the given stream. |
HttpConnection |
HttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
Gets an HttpConnection for a given host configuration. |
HttpConnection |
MultiThreadedHttpConnectionManager.getConnection(HostConfiguration hostConfiguration,
long timeout)
|
static boolean |
Authenticator.authenticate(HttpMethod method,
HttpState state)
Deprecated. use HttpAuthenticator.authenticate(AuthScheme, HttpMethod, HttpConnection, HttpState) |
static boolean |
Authenticator.authenticateProxy(HttpMethod method,
HttpState state)
Deprecated. use HttpAuthenticator.authenticateProxy(AuthScheme, HttpMethod, HttpConnection, HttpState) |
static Cookie[] |
Cookie.parse(String domain,
int port,
String path,
Header setCookie)
Deprecated. use CookieSpec interface |
static Cookie[] |
Cookie.parse(String domain,
String path,
Header setCookie)
Deprecated. use CookieSpec interface |
static Cookie[] |
Cookie.parse(String domain,
String path,
boolean secure,
Header setCookie)
Deprecated. use CookieSpec interface |
static Cookie[] |
Cookie.parse(String domain,
int port,
String path,
boolean secure,
Header setCookie)
Deprecated. use CookieSpec interface |
protected void |
ConnectMethod.addAuthorizationRequestHeader(HttpState state,
HttpConnection conn)
This method does nothing. |
protected void |
ConnectMethod.addContentLengthRequestHeader(HttpState state,
HttpConnection conn)
This method does nothing. |
protected void |
ConnectMethod.addCookieRequestHeader(HttpState state,
HttpConnection conn)
This method does nothing. |
protected void |
ConnectMethod.addRequestHeaders(HttpState state,
HttpConnection conn)
Populates the request headers map to with additional headers to be submitted 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.writeRequestLine(HttpState state,
HttpConnection conn)
Special Connect request. |
Constructors in org.apache.commons.httpclient that throw HttpException | |
StatusLine.StatusLine(String statusLine)
Default constructor. |
Uses of HttpException in org.apache.commons.httpclient.auth |
Subclasses of HttpException in org.apache.commons.httpclient.auth | |
interface |
AuthenticationException
Signals a failure in authentication process |
interface |
MalformedChallengeException
Signals that authentication challenge is in some way invalid or illegal in the given context |
Uses of HttpException in org.apache.commons.httpclient.cookie |
Subclasses of HttpException in org.apache.commons.httpclient.cookie | |
interface |
MalformedCookieException
Signals that a cookie is in some way invalid or illegal in a given context |
Uses of HttpException in org.apache.commons.httpclient.methods |
Methods in org.apache.commons.httpclient.methods that throw HttpException | |
protected void |
GetMethod.readResponseBody(HttpState state,
HttpConnection conn)
Overrides method in HttpMethodBase to write data to the
appropriate buffer. |
protected void |
ExpectContinueMethod.addRequestHeaders(HttpState state,
HttpConnection conn)
Set the Expect header if it has not already been set, in addition to the "standard" set of headers. |
protected void |
MultipartPostMethod.addRequestHeaders(HttpState state,
HttpConnection conn)
Add content type header and set the Expect header if it has not already been set, in addition to the "standard" set of headers |
protected boolean |
MultipartPostMethod.writeRequestBody(HttpState state,
HttpConnection conn)
Write the request body. |
protected void |
EntityEnclosingMethod.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 boolean |
EntityEnclosingMethod.writeRequestBody(HttpState state,
HttpConnection conn)
Override method of HttpMethodBase
to write request parameters as the request body. |
protected void |
PostMethod.addRequestHeaders(HttpState state,
HttpConnection conn)
Override method of HttpMethodBase
to also add Content-Type header when appropriate. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |