|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ModuleException | |
---|---|
HTTPClient | This package provides a complete http client library. |
Uses of ModuleException in HTTPClient |
---|
Subclasses of ModuleException in HTTPClient | |
---|---|
class |
AuthSchemeNotImplException
Signals that the handling of a authorization scheme is not implemented. |
Methods in HTTPClient that throw ModuleException | |
---|---|
HTTPResponse |
HTTPConnection.Delete(String file)
Requests that file be DELETEd from the server. |
HTTPResponse |
HTTPConnection.Delete(String file)
Requests that file be DELETEd from the server. |
HTTPResponse |
HTTPConnection.Delete(String file,
NVPair[] headers)
Requests that file be DELETEd from the server. |
HTTPResponse |
HTTPConnection.Delete(String file,
NVPair[] headers)
Requests that file be DELETEd from the server. |
HTTPResponse |
HTTPConnection.ExtensionMethod(String method,
String file,
byte[] data,
NVPair[] headers)
This is here to allow an arbitrary, non-standard request to be sent. |
HTTPResponse |
HTTPConnection.ExtensionMethod(String method,
String file,
byte[] data,
NVPair[] headers)
This is here to allow an arbitrary, non-standard request to be sent. |
HTTPResponse |
HTTPConnection.ExtensionMethod(String method,
String file,
HttpOutputStream os,
NVPair[] headers)
This is here to allow an arbitrary, non-standard request to be sent. |
HTTPResponse |
HTTPConnection.ExtensionMethod(String method,
String file,
HttpOutputStream os,
NVPair[] headers)
This is here to allow an arbitrary, non-standard request to be sent. |
HTTPResponse |
HTTPConnection.Get(String file)
GETs the file. |
HTTPResponse |
HTTPConnection.Get(String file)
GETs the file. |
HTTPResponse |
HTTPConnection.Get(String file,
NVPair[] form_data)
GETs the file with a query consisting of the specified form-data. |
HTTPResponse |
HTTPConnection.Get(String file,
NVPair[] form_data)
GETs the file with a query consisting of the specified form-data. |
HTTPResponse |
HTTPConnection.Get(String file,
NVPair[] form_data,
NVPair[] headers)
GETs the file with a query consisting of the specified form-data. |
HTTPResponse |
HTTPConnection.Get(String file,
NVPair[] form_data,
NVPair[] headers)
GETs the file with a query consisting of the specified form-data. |
HTTPResponse |
HTTPConnection.Get(String file,
String query)
GETs the file using the specified query string. |
HTTPResponse |
HTTPConnection.Get(String file,
String query)
GETs the file using the specified query string. |
HTTPResponse |
HTTPConnection.Get(String file,
String query,
NVPair[] headers)
GETs the file using the specified query string. |
HTTPResponse |
HTTPConnection.Get(String file,
String query,
NVPair[] headers)
GETs the file using the specified query string. |
byte[] |
HTTPResponse.getData()
Reads all the response data into a byte array. |
byte[] |
HTTPResponse.getData()
Reads all the response data into a byte array. |
URI |
HTTPResponse.getEffectiveURI()
Get the final URI of the document. |
URI |
HTTPResponse.getEffectiveURI()
Get the final URI of the document. |
URL |
HTTPResponse.getEffectiveURL()
Deprecated. use getEffectiveURI() instead |
URL |
HTTPResponse.getEffectiveURL()
Deprecated. use getEffectiveURI() instead |
String |
HTTPResponse.getHeader(String hdr)
Retrieves the value for a given header. |
String |
HTTPResponse.getHeader(String hdr)
Retrieves the value for a given header. |
Date |
HTTPResponse.getHeaderAsDate(String hdr)
Retrieves the value for a given header. |
Date |
HTTPResponse.getHeaderAsDate(String hdr)
Retrieves the value for a given header. |
int |
HTTPResponse.getHeaderAsInt(String hdr)
Retrieves the value for a given header. |
int |
HTTPResponse.getHeaderAsInt(String hdr)
Retrieves the value for a given header. |
InputStream |
HTTPResponse.getInputStream()
Gets an input stream from which the returned data can be read. |
InputStream |
HTTPResponse.getInputStream()
Gets an input stream from which the returned data can be read. |
String |
HTTPResponse.getReasonLine()
Give the reason line associated with the status code. |
String |
HTTPResponse.getReasonLine()
Give the reason line associated with the status code. |
String |
HTTPResponse.getServer()
Deprecated. This method is a remnant of V0.1; use getHeader("Server") instead. |
String |
HTTPResponse.getServer()
Deprecated. This method is a remnant of V0.1; use getHeader("Server") instead. |
int |
HTTPResponse.getStatusCode()
Give the status code for this request. |
int |
HTTPResponse.getStatusCode()
Give the status code for this request. |
String |
HTTPResponse.getText()
Reads all the response data into a buffer and turns it into a string using the appropriate character converter. |
String |
HTTPResponse.getText()
Reads all the response data into a buffer and turns it into a string using the appropriate character converter. |
String |
HTTPResponse.getTrailer(String trailer)
Retrieves the value for a given trailer. |
String |
HTTPResponse.getTrailer(String trailer)
Retrieves the value for a given trailer. |
Date |
HTTPResponse.getTrailerAsDate(String trailer)
Retrieves the value for a given trailer. |
Date |
HTTPResponse.getTrailerAsDate(String trailer)
Retrieves the value for a given trailer. |
int |
HTTPResponse.getTrailerAsInt(String trailer)
Retrieves the value for a given tailer. |
int |
HTTPResponse.getTrailerAsInt(String trailer)
Retrieves the value for a given tailer. |
String |
HTTPResponse.getVersion()
Get the HTTP version used for the response. |
String |
HTTPResponse.getVersion()
Get the HTTP version used for the response. |
HTTPResponse |
HTTPConnection.Head(String file)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file,
NVPair[] form_data)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file,
NVPair[] form_data)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file,
NVPair[] form_data,
NVPair[] headers)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file,
NVPair[] form_data,
NVPair[] headers)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file,
String query)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file,
String query)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file,
String query,
NVPair[] headers)
Sends the HEAD request. |
HTTPResponse |
HTTPConnection.Head(String file,
String query,
NVPair[] headers)
Sends the HEAD request. |
Enumeration |
HTTPResponse.listHeaders()
Returns an enumeration of all the headers available via getHeader(). |
Enumeration |
HTTPResponse.listHeaders()
Returns an enumeration of all the headers available via getHeader(). |
Enumeration |
HTTPResponse.listTrailers()
Returns an enumeration of all the trailers available via getTrailer(). |
Enumeration |
HTTPResponse.listTrailers()
Returns an enumeration of all the trailers available via getTrailer(). |
HTTPResponse |
HTTPConnection.Options(String file)
Request OPTIONS from the server. |
HTTPResponse |
HTTPConnection.Options(String file)
Request OPTIONS from the server. |
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers)
Request OPTIONS from the server. |
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers)
Request OPTIONS from the server. |
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers,
byte[] data)
Request OPTIONS from the server. |
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers,
byte[] data)
Request OPTIONS from the server. |
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers,
HttpOutputStream stream)
Request OPTIONS from the server. |
HTTPResponse |
HTTPConnection.Options(String file,
NVPair[] headers,
HttpOutputStream stream)
Request OPTIONS from the server. |
HTTPResponse |
HTTPConnection.Post(String file)
POSTs to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file)
POSTs to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
byte[] data)
POSTs the raw data to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
byte[] data)
POSTs the raw data to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
byte[] data,
NVPair[] headers)
POSTs the raw data to the specified file using the specified headers. |
HTTPResponse |
HTTPConnection.Post(String file,
byte[] data,
NVPair[] headers)
POSTs the raw data to the specified file using the specified headers. |
HTTPResponse |
HTTPConnection.Post(String file,
HttpOutputStream stream)
POSTs the data written to the output stream to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
HttpOutputStream stream)
POSTs the data written to the output stream to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
HttpOutputStream stream,
NVPair[] headers)
POSTs the data written to the output stream to the specified file using the specified headers. |
HTTPResponse |
HTTPConnection.Post(String file,
HttpOutputStream stream,
NVPair[] headers)
POSTs the data written to the output stream to the specified file using the specified headers. |
HTTPResponse |
HTTPConnection.Post(String file,
NVPair[] form_data)
POSTs form-data to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
NVPair[] form_data)
POSTs form-data to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
NVPair[] form_data,
NVPair[] headers)
POST's form-data to the specified file using the specified headers. |
HTTPResponse |
HTTPConnection.Post(String file,
NVPair[] form_data,
NVPair[] headers)
POST's form-data to the specified file using the specified headers. |
HTTPResponse |
HTTPConnection.Post(String file,
String data)
POSTs the data to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
String data)
POSTs the data to the specified file. |
HTTPResponse |
HTTPConnection.Post(String file,
String data,
NVPair[] headers)
POSTs the data to the specified file using the specified headers. |
HTTPResponse |
HTTPConnection.Post(String file,
String data,
NVPair[] headers)
POSTs the data to the specified file using the specified headers. |
HTTPResponse |
HTTPConnection.Put(String file,
byte[] data)
PUTs the raw data into the specified file. |
HTTPResponse |
HTTPConnection.Put(String file,
byte[] data)
PUTs the raw data into the specified file. |
HTTPResponse |
HTTPConnection.Put(String file,
byte[] data,
NVPair[] headers)
PUTs the raw data into the specified file using the additional headers. |
HTTPResponse |
HTTPConnection.Put(String file,
byte[] data,
NVPair[] headers)
PUTs the raw data into the specified file using the additional headers. |
HTTPResponse |
HTTPConnection.Put(String file,
HttpOutputStream stream)
PUTs the data written to the output stream into the specified file. |
HTTPResponse |
HTTPConnection.Put(String file,
HttpOutputStream stream)
PUTs the data written to the output stream into the specified file. |
HTTPResponse |
HTTPConnection.Put(String file,
HttpOutputStream stream,
NVPair[] headers)
PUTs the data written to the output stream into the specified file using the additional headers. |
HTTPResponse |
HTTPConnection.Put(String file,
HttpOutputStream stream,
NVPair[] headers)
PUTs the data written to the output stream into the specified file using the additional headers. |
HTTPResponse |
HTTPConnection.Put(String file,
String data)
PUTs the data into the specified file. |
HTTPResponse |
HTTPConnection.Put(String file,
String data)
PUTs the data into the specified file. |
HTTPResponse |
HTTPConnection.Put(String file,
String data,
NVPair[] headers)
PUTs the data into the specified file using the additional headers for the request. |
HTTPResponse |
HTTPConnection.Put(String file,
String data,
NVPair[] headers)
PUTs the data into the specified file using the additional headers for the request. |
int |
HTTPClientModule.requestHandler(Request request,
Response[] response)
This is invoked before the request is sent. |
int |
HTTPClientModule.requestHandler(Request request,
Response[] response)
This is invoked before the request is sent. |
void |
HTTPClientModule.responsePhase1Handler(Response response,
RoRequest request)
The phase 1 response handler. |
void |
HTTPClientModule.responsePhase1Handler(Response response,
RoRequest request)
The phase 1 response handler. |
int |
HTTPClientModule.responsePhase2Handler(Response response,
Request request)
The phase 2 response handler. |
int |
HTTPClientModule.responsePhase2Handler(Response response,
Request request)
The phase 2 response handler. |
void |
HTTPClientModule.responsePhase3Handler(Response response,
RoRequest request)
The phase 3 response handler. |
void |
HTTPClientModule.responsePhase3Handler(Response response,
RoRequest request)
The phase 3 response handler. |
boolean |
HTTPResponse.retryRequest()
Should the request be retried by the application? |
boolean |
HTTPResponse.retryRequest()
Should the request be retried by the application? |
protected HTTPResponse |
HTTPConnection.setupRequest(String method,
String resource,
NVPair[] headers,
byte[] entity,
HttpOutputStream stream)
Sets up the request, creating the list of headers to send and creating instances of the modules. |
protected HTTPResponse |
HTTPConnection.setupRequest(String method,
String resource,
NVPair[] headers,
byte[] entity,
HttpOutputStream stream)
Sets up the request, creating the list of headers to send and creating instances of the modules. |
HTTPResponse |
HTTPConnection.Trace(String file)
Requests a TRACE. |
HTTPResponse |
HTTPConnection.Trace(String file)
Requests a TRACE. |
HTTPResponse |
HTTPConnection.Trace(String file,
NVPair[] headers)
Requests a TRACE. |
HTTPResponse |
HTTPConnection.Trace(String file,
NVPair[] headers)
Requests a TRACE. |
void |
HTTPClientModule.trailerHandler(Response response,
RoRequest request)
The chunked transfer-encoding (and in future maybe others) can contain trailer fields at the end of the body. |
void |
HTTPClientModule.trailerHandler(Response response,
RoRequest request)
The chunked transfer-encoding (and in future maybe others) can contain trailer fields at the end of the body. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |