Package org.apache.xmlrpc.common
Interface XmlRpcHttpRequestConfig
-
- All Superinterfaces:
XmlRpcConfig,XmlRpcHttpConfig,XmlRpcRequestConfig,XmlRpcStreamConfig,XmlRpcStreamRequestConfig
- All Known Subinterfaces:
XmlRpcHttpClientConfig
- All Known Implementing Classes:
RequestData,XmlRpcClientConfigImpl,XmlRpcHttpRequestConfigImpl
public interface XmlRpcHttpRequestConfig extends XmlRpcStreamRequestConfig, XmlRpcHttpConfig
Extension ofXmlRpcClientConfigfor HTTP based transport. Provides details like server URL, user credentials, and so on.
-
-
Field Summary
-
Fields inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig
UTF8_ENCODING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBasicPassword()Returns the password being used for basic HTTP authentication.java.lang.StringgetBasicUserName()Returns the user name being used for basic HTTP authentication.intgetConnectionTimeout()Return the connection timeout in millisecondsintgetReplyTimeout()Return the reply timeout in milliseconds-
Methods inherited from interface org.apache.xmlrpc.XmlRpcConfig
getTimeZone, isEnabledForExtensions
-
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcHttpConfig
getBasicEncoding, isContentLengthOptional
-
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig
getEncoding
-
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcStreamRequestConfig
isEnabledForExceptions, isGzipCompressing, isGzipRequesting
-
-
-
-
Method Detail
-
getBasicUserName
java.lang.String getBasicUserName()
Returns the user name being used for basic HTTP authentication.- Returns:
- User name or null, if no basic HTTP authentication is being used.
-
getBasicPassword
java.lang.String getBasicPassword()
Returns the password being used for basic HTTP authentication.- Returns:
- Password or null, if no basic HTTP authentication is beind used.
- Throws:
java.lang.IllegalStateException- A user name is configured, but no password.
-
getConnectionTimeout
int getConnectionTimeout()
Return the connection timeout in milliseconds- Returns:
- connection timeout in milliseconds or 0 if no set
-
getReplyTimeout
int getReplyTimeout()
Return the reply timeout in milliseconds- Returns:
- reply timeout in milliseconds or 0 if no set
-
-