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
Extension of
XmlRpcClientConfig
for 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
Modifier and TypeMethodDescriptionReturns the password being used for basic HTTP authentication.Returns the user name being used for basic HTTP authentication.int
Return the connection timeout in millisecondsint
Return the reply timeout in millisecondsMethods 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 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
-