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

List of all members.

Public Member Functions

String getBasicPassword ()
String getBasicUserName ()
int getConnectionTimeout ()
int getReplyTimeout ()
boolean isEnabledForExceptions ()
boolean isGzipCompressing ()
boolean isGzipRequesting ()
void setBasicPassword (String pPassword)
void setBasicUserName (String pUser)
void setConnectionTimeout (int pTimeout)
void setEnabledForExceptions (boolean pEnabledForExceptions)
void setGzipCompressing (boolean pCompressing)
void setGzipRequesting (boolean pRequesting)
void setReplyTimeout (int pTimeout)

Private Attributes

String basicPassword
String basicUserName
int connectionTimeout = 0
boolean enabledForExceptions
boolean gzipCompressing
boolean gzipRequesting
int replyTimeout = 0

Detailed Description

Default implementation of a request configuration.

Definition at line 26 of file XmlRpcHttpRequestConfigImpl.java.


Member Function Documentation

Returns the password being used for basic HTTP authentication.

Returns:
Password or null, if no basic HTTP authentication is beind used.
Exceptions:
IllegalStateExceptionA user name is configured, but no password.

Implements org.apache.xmlrpc.common.XmlRpcHttpRequestConfig.

Definition at line 80 of file XmlRpcHttpRequestConfigImpl.java.

Returns the user name being used for basic HTTP authentication.

Returns:
User name or null, if no basic HTTP authentication is being used.

Implements org.apache.xmlrpc.common.XmlRpcHttpRequestConfig.

Definition at line 71 of file XmlRpcHttpRequestConfigImpl.java.

Return the connection timeout in milliseconds

Returns:
connection timeout in milliseconds or 0 if no set

Implements org.apache.xmlrpc.common.XmlRpcHttpRequestConfig.

Definition at line 89 of file XmlRpcHttpRequestConfigImpl.java.

Return the reply timeout in milliseconds

Returns:
reply timeout in milliseconds or 0 if no set

Implements org.apache.xmlrpc.common.XmlRpcHttpRequestConfig.

Definition at line 100 of file XmlRpcHttpRequestConfigImpl.java.

Returns, whether the response should contain a "faultCause" element in case of errors. The "faultCause" is an exception, which the server has trapped and written into a byte stream as a serializable object.

Implements org.apache.xmlrpc.common.XmlRpcStreamRequestConfig.

Definition at line 113 of file XmlRpcHttpRequestConfigImpl.java.

Returns, whether the request stream is being compressed. Note, that the response stream may still be uncompressed.

Returns:
Whether to use Gzip compression or not. Defaults to false.
See also:
isGzipRequesting()

Implements org.apache.xmlrpc.common.XmlRpcStreamRequestConfig.

Definition at line 46 of file XmlRpcHttpRequestConfigImpl.java.

Returns, whether compression is requested for the response stream. Note, that the request is stull uncompressed, unless isGzipCompressing() is activated. Also note, that the server may still decide to send uncompressed data.

Returns:
Whether to use Gzip compression or not. Defaults to false.
See also:
isGzipCompressing()

Implements org.apache.xmlrpc.common.XmlRpcStreamRequestConfig.

Definition at line 60 of file XmlRpcHttpRequestConfigImpl.java.

Sets the password for basic authentication.

Parameters:
pPasswordThe password.

Definition at line 76 of file XmlRpcHttpRequestConfigImpl.java.

Sets the user name for basic authentication.

Parameters:
pUserThe user name.

Definition at line 67 of file XmlRpcHttpRequestConfigImpl.java.

Set the connection timeout in milliseconds.

Parameters:
pTimeoutconnection timeout, 0 to disable it

Definition at line 85 of file XmlRpcHttpRequestConfigImpl.java.

void org.apache.xmlrpc.common.XmlRpcHttpRequestConfigImpl.setEnabledForExceptions ( boolean  pEnabledForExceptions) [inline]

Sets, whether the response should contain a "faultCause" element in case of errors. The "faultCause" is an exception, which the server has trapped and written into a byte stream as a serializable object.

Definition at line 109 of file XmlRpcHttpRequestConfigImpl.java.

Sets, whether gzip compression is being used for transmitting the request.

Parameters:
pCompressingTrue for enabling gzip compression, false otherwise.
See also:
setGzipRequesting(boolean)

Definition at line 42 of file XmlRpcHttpRequestConfigImpl.java.

Sets, whether gzip compression is requested for the response.

Parameters:
pRequestingTrue for requesting gzip compression, false otherwise.
See also:
setGzipCompressing(boolean)

Definition at line 56 of file XmlRpcHttpRequestConfigImpl.java.

Set the reply timeout in milliseconds.

Parameters:
pTimeoutreply timeout, 0 to disable it

Definition at line 96 of file XmlRpcHttpRequestConfigImpl.java.


Member Data Documentation

Definition at line 31 of file XmlRpcHttpRequestConfigImpl.java.

Definition at line 30 of file XmlRpcHttpRequestConfigImpl.java.

Definition at line 32 of file XmlRpcHttpRequestConfigImpl.java.

Definition at line 34 of file XmlRpcHttpRequestConfigImpl.java.

Definition at line 28 of file XmlRpcHttpRequestConfigImpl.java.

Definition at line 29 of file XmlRpcHttpRequestConfigImpl.java.

Definition at line 33 of file XmlRpcHttpRequestConfigImpl.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