org.apache.xmlrpc.common

Interface XmlRpcHttpRequestConfig

All Superinterfaces:
XmlRpcConfig, XmlRpcHttpConfig, XmlRpcRequestConfig, XmlRpcStreamConfig, XmlRpcStreamRequestConfig
Known Subinterfaces:
XmlRpcHttpClientConfig
Known Implementing Classes:
RequestData, XmlRpcClientConfigImpl, XmlRpcHttpRequestConfigImpl

public interface XmlRpcHttpRequestConfig
extends XmlRpcStreamRequestConfig, XmlRpcHttpConfig

Extension of XmlRpcClientConfig for HTTP based transport. Provides details like server URL, user credentials, and so on.

Fields inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig

UTF8_ENCODING

Method Summary

String
getBasicPassword()
Returns the password being used for basic HTTP authentication.
String
getBasicUserName()
Returns the user name being used for basic HTTP authentication.
int
getConnectionTimeout()
Return the connection timeout in milliseconds
int
getReplyTimeout()
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 Details

getBasicPassword

public String getBasicPassword()
Returns the password being used for basic HTTP authentication.
Returns:
Password or null, if no basic HTTP authentication is beind used.

getBasicUserName

public 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.

getConnectionTimeout

public int getConnectionTimeout()
Return the connection timeout in milliseconds
Returns:
connection timeout in milliseconds or 0 if no set

getReplyTimeout

public int getReplyTimeout()
Return the reply timeout in milliseconds
Returns:
reply timeout in milliseconds or 0 if no set

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.