Interface XmlRpcHttpRequestConfig
- All Superinterfaces:
XmlRpcConfig, XmlRpcHttpConfig, XmlRpcRequestConfig, XmlRpcStreamConfig, XmlRpcStreamRequestConfig
- All Known Subinterfaces:
XmlRpcHttpClientConfig
- All Known Implementing Classes:
RequestData, XmlRpcClientConfigImpl, XmlRpcHttpRequestConfigImpl
Extension of
XmlRpcClientConfig
for HTTP based transport. Provides details like server URL,
user credentials, and so on.-
Field Summary
Fields inherited from interface XmlRpcStreamConfig
UTF8_ENCODING -
Method Summary
Modifier and TypeMethodDescriptionReturns the password being used for basic HTTP authentication.Returns the user name being used for basic HTTP authentication.intReturn the connection timeout in millisecondsintReturn the reply timeout in millisecondsMethods inherited from interface XmlRpcConfig
getTimeZone, isEnabledForExtensionsMethods inherited from interface XmlRpcHttpConfig
getBasicEncoding, isContentLengthOptionalMethods inherited from interface XmlRpcStreamConfig
getEncodingMethods inherited from interface XmlRpcStreamRequestConfig
isEnabledForExceptions, isGzipCompressing, isGzipRequesting
-
Method Details
-
getBasicUserName
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
String getBasicPassword()Returns the password being used for basic HTTP authentication.- Returns:
- Password or null, if no basic HTTP authentication is beind used.
- Throws:
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
-