Public Member Functions | |
Connection | getConnection () |
int | getContentLength () |
String | getHttpVersion () |
String | getMethod () |
boolean | isByteArrayRequired () |
boolean | isKeepAlive () |
boolean | isSuccess () |
RequestData (Connection pConnection) | |
void | setContentLength (int pContentLength) |
void | setHttpVersion (String pHttpVersion) |
void | setKeepAlive (boolean pKeepAlive) |
void | setMethod (String pMethod) |
void | setSuccess (boolean pSuccess) |
Package Attributes | |
String | httpVersion |
Private Attributes | |
final Connection | connection |
int | contentLength = -1 |
boolean | keepAlive |
String | method |
boolean | success |
Web servers extension of org.apache.xmlrpc.common.XmlRpcHttpRequestConfig, which allows to store additional per request data.
Definition at line 28 of file RequestData.java.
org.apache.xmlrpc.webserver.RequestData.RequestData | ( | Connection | pConnection | ) | [inline] |
Creates a new instance.
pConnection | The connection, which is serving the request. |
Definition at line 38 of file RequestData.java.
Returns the connection, which is serving the request.
Definition at line 45 of file RequestData.java.
int org.apache.xmlrpc.webserver.RequestData.getContentLength | ( | ) | [inline] |
Returns the requests content length.
Definition at line 76 of file RequestData.java.
String org.apache.xmlrpc.webserver.RequestData.getHttpVersion | ( | ) | [inline] |
Returns the requests HTTP version.
Definition at line 64 of file RequestData.java.
String org.apache.xmlrpc.webserver.RequestData.getMethod | ( | ) | [inline] |
Returns the request method.
Definition at line 96 of file RequestData.java.
boolean org.apache.xmlrpc.webserver.RequestData.isByteArrayRequired | ( | ) | [inline] |
Returns, whether a byte array for buffering the output is required.
Definition at line 89 of file RequestData.java.
boolean org.apache.xmlrpc.webserver.RequestData.isKeepAlive | ( | ) | [inline] |
Returns, whether HTTP keepAlive is enabled for this connection.
Definition at line 51 of file RequestData.java.
boolean org.apache.xmlrpc.webserver.RequestData.isSuccess | ( | ) | [inline] |
Returns, whether the request was executed successfull.
Definition at line 108 of file RequestData.java.
void org.apache.xmlrpc.webserver.RequestData.setContentLength | ( | int | pContentLength | ) | [inline] |
Sets the requests content length.
pContentLength | Content length, if known, or -1, if unknown. |
Definition at line 81 of file RequestData.java.
void org.apache.xmlrpc.webserver.RequestData.setHttpVersion | ( | String | pHttpVersion | ) | [inline] |
Sets the requests HTTP version.
pHttpVersion | HTTP version, for example "1.0" |
Definition at line 69 of file RequestData.java.
void org.apache.xmlrpc.webserver.RequestData.setKeepAlive | ( | boolean | pKeepAlive | ) | [inline] |
Sets, whether HTTP keepAlive is enabled for this connection.
pKeepAlive | True, if keepAlive is enabled, false otherwise. |
Definition at line 57 of file RequestData.java.
void org.apache.xmlrpc.webserver.RequestData.setMethod | ( | String | pMethod | ) | [inline] |
Sets the request method.
pMethod | The request method, should be "POST". |
Definition at line 101 of file RequestData.java.
void org.apache.xmlrpc.webserver.RequestData.setSuccess | ( | boolean | pSuccess | ) | [inline] |
Sets, whether the request was executed successfull.
pSuccess | True for success, false, if an error occurred. |
Definition at line 113 of file RequestData.java.
final Connection org.apache.xmlrpc.webserver.RequestData.connection [private] |
Definition at line 29 of file RequestData.java.
int org.apache.xmlrpc.webserver.RequestData.contentLength = -1 [private] |
Definition at line 32 of file RequestData.java.
String org.apache.xmlrpc.webserver.RequestData.httpVersion [package] |
Definition at line 31 of file RequestData.java.
boolean org.apache.xmlrpc.webserver.RequestData.keepAlive [private] |
Definition at line 30 of file RequestData.java.
String org.apache.xmlrpc.webserver.RequestData.method [private] |
Definition at line 31 of file RequestData.java.
boolean org.apache.xmlrpc.webserver.RequestData.success [private] |
Definition at line 33 of file RequestData.java.