Public Member Functions | Package Attributes | Private Attributes
org.apache.xmlrpc.webserver.RequestData Class Reference
Inheritance diagram for org.apache.xmlrpc.webserver.RequestData:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

Creates a new instance.

Parameters:
pConnectionThe connection, which is serving the request.

Definition at line 38 of file RequestData.java.


Member Function Documentation

Returns the connection, which is serving the request.

Returns:
The request connection.

Definition at line 45 of file RequestData.java.

Returns the requests content length.

Returns:
Content length, if known, or -1, if unknown.

Definition at line 76 of file RequestData.java.

Returns the requests HTTP version.

Returns:
HTTP version, for example "1.0"

Definition at line 64 of file RequestData.java.

Returns the request method.

Returns:
The request method, should be "POST".

Definition at line 96 of file RequestData.java.

Returns, whether a byte array for buffering the output is required.

Returns:
True, if the byte array is required, false otherwise.

Definition at line 89 of file RequestData.java.

Returns, whether HTTP keepAlive is enabled for this connection.

Returns:
True, if keepAlive is enabled, false otherwise.

Definition at line 51 of file RequestData.java.

Returns, whether the request was executed successfull.

Returns:
True for success, false, if an error occurred.

Definition at line 108 of file RequestData.java.

void org.apache.xmlrpc.webserver.RequestData.setContentLength ( int  pContentLength) [inline]

Sets the requests content length.

Parameters:
pContentLengthContent 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.

Parameters:
pHttpVersionHTTP 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.

Parameters:
pKeepAliveTrue, 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.

Parameters:
pMethodThe 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.

Parameters:
pSuccessTrue for success, false, if an error occurred.

Definition at line 113 of file RequestData.java.


Member Data Documentation

Definition at line 29 of file RequestData.java.

Definition at line 32 of file RequestData.java.

Definition at line 31 of file RequestData.java.

Definition at line 30 of file RequestData.java.

Definition at line 31 of file RequestData.java.

Definition at line 33 of file RequestData.java.


The documentation for this class was generated from the following file:


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:50