org.apache.xmlrpc.webserver
Class RequestData
- XmlRpcConfig, XmlRpcHttpConfig, XmlRpcHttpRequestConfig, XmlRpcRequestConfig, XmlRpcStreamConfig, XmlRpcStreamRequestConfig
Connection | getConnection() - Returns the connection, which is serving the request.
|
int | getContentLength() - Returns the requests content length.
|
String | getHttpVersion() - Returns the requests HTTP version.
|
String | getMethod() - Returns the request method.
|
boolean | isByteArrayRequired() - Returns, whether a byte array for buffering the output is
required.
|
boolean | isKeepAlive() - Returns, whether HTTP keepAlive is enabled for this
connection.
|
boolean | isSuccess() - Returns, whether the request was executed successfull.
|
void | setContentLength(int pContentLength) - Sets the requests content length.
|
void | setHttpVersion(String pHttpVersion) - Sets the requests HTTP version.
|
void | setKeepAlive(boolean pKeepAlive) - Sets, whether HTTP keepAlive is enabled for this
connection.
|
void | setMethod(String pMethod) - Sets the request method.
|
void | setSuccess(boolean pSuccess) - Sets, whether the request was executed successfull.
|
getBasicPassword , getBasicUserName , getConnectionTimeout , getReplyTimeout , isEnabledForExceptions , isGzipCompressing , isGzipRequesting , setBasicPassword , setBasicUserName , setConnectionTimeout , setEnabledForExceptions , setGzipCompressing , setGzipRequesting , setReplyTimeout |
RequestData
public RequestData(Connection pConnection)
Creates a new instance.
pConnection
- The connection, which is serving the request.
getConnection
public Connection getConnection()
Returns the connection, which is serving the request.
getContentLength
public int getContentLength()
Returns the requests content length.
- Content length, if known, or -1, if unknown.
getHttpVersion
public String getHttpVersion()
Returns the requests HTTP version.
- HTTP version, for example "1.0"
getMethod
public String getMethod()
Returns the request method.
- The request method, should be "POST".
isByteArrayRequired
public boolean isByteArrayRequired()
Returns, whether a byte array for buffering the output is
required.
- True, if the byte array is required, false otherwise.
isKeepAlive
public boolean isKeepAlive()
Returns, whether HTTP keepAlive is enabled for this
connection.
- True, if keepAlive is enabled, false otherwise.
isSuccess
public boolean isSuccess()
Returns, whether the request was executed successfull.
- True for success, false, if an error occurred.
setContentLength
public void setContentLength(int pContentLength)
Sets the requests content length.
pContentLength
- Content length, if known, or -1, if unknown.
setHttpVersion
public void setHttpVersion(String pHttpVersion)
Sets the requests HTTP version.
pHttpVersion
- HTTP version, for example "1.0"
setKeepAlive
public void setKeepAlive(boolean pKeepAlive)
Sets, whether HTTP keepAlive is enabled for this
connection.
pKeepAlive
- True, if keepAlive is enabled, false otherwise.
setMethod
public void setMethod(String pMethod)
Sets the request method.
pMethod
- The request method, should be "POST".
setSuccess
public void setSuccess(boolean pSuccess)
Sets, whether the request was executed successfull.
pSuccess
- True for success, false, if an error occurred.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.