public class XmlRpcHttpRequestConfigImpl extends XmlRpcConfigImpl implements XmlRpcHttpRequestConfig
UTF8_ENCODING| Constructor and Description |
|---|
XmlRpcHttpRequestConfigImpl() |
| Modifier and Type | Method and Description |
|---|---|
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
|
boolean |
isEnabledForExceptions()
Returns, whether the response should contain a "faultCause" element
in case of errors.
|
boolean |
isGzipCompressing()
Returns, whether the request stream is being compressed.
|
boolean |
isGzipRequesting()
Returns, whether compression is requested for the response stream.
|
void |
setBasicPassword(String pPassword)
Sets the password for basic authentication.
|
void |
setBasicUserName(String pUser)
Sets the user name for basic authentication.
|
void |
setConnectionTimeout(int pTimeout)
Set the connection timeout in milliseconds.
|
void |
setEnabledForExceptions(boolean pEnabledForExceptions)
Sets, whether the response should contain a "faultCause" element
in case of errors.
|
void |
setGzipCompressing(boolean pCompressing)
Sets, whether gzip compression is being used for
transmitting the request.
|
void |
setGzipRequesting(boolean pRequesting)
Sets, whether gzip compression is requested for the
response.
|
void |
setReplyTimeout(int pTimeout)
Set the reply timeout in milliseconds.
|
getBasicEncoding, getEncoding, getTimeZone, isContentLengthOptional, isEnabledForExtensions, setBasicEncoding, setContentLengthOptional, setEnabledForExtensions, setEncoding, setTimeZoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasicEncoding, isContentLengthOptionalgetEncodinggetTimeZone, isEnabledForExtensionspublic void setGzipCompressing(boolean pCompressing)
pCompressing - True for enabling gzip compression,
false otherwise.setGzipRequesting(boolean)public boolean isGzipCompressing()
XmlRpcStreamRequestConfigisGzipCompressing in interface XmlRpcStreamRequestConfigXmlRpcStreamRequestConfig.isGzipRequesting()public void setGzipRequesting(boolean pRequesting)
pRequesting - True for requesting gzip compression,
false otherwise.setGzipCompressing(boolean)public boolean isGzipRequesting()
XmlRpcStreamRequestConfigXmlRpcStreamRequestConfig.isGzipCompressing() is activated. Also note, that the
server may still decide to send uncompressed data.isGzipRequesting in interface XmlRpcStreamRequestConfigXmlRpcStreamRequestConfig.isGzipCompressing()public void setBasicUserName(String pUser)
pUser - The user name.public String getBasicUserName()
XmlRpcHttpRequestConfiggetBasicUserName in interface XmlRpcHttpRequestConfigpublic void setBasicPassword(String pPassword)
pPassword - The password.public String getBasicPassword()
XmlRpcHttpRequestConfiggetBasicPassword in interface XmlRpcHttpRequestConfigpublic void setConnectionTimeout(int pTimeout)
pTimeout - connection timeout, 0 to disable itpublic int getConnectionTimeout()
XmlRpcHttpRequestConfiggetConnectionTimeout in interface XmlRpcHttpRequestConfigpublic void setReplyTimeout(int pTimeout)
pTimeout - reply timeout, 0 to disable itpublic int getReplyTimeout()
XmlRpcHttpRequestConfiggetReplyTimeout in interface XmlRpcHttpRequestConfigpublic void setEnabledForExceptions(boolean pEnabledForExceptions)
public boolean isEnabledForExceptions()
XmlRpcStreamRequestConfigisEnabledForExceptions in interface XmlRpcStreamRequestConfigCopyright © 2001–2025 The Apache Software Foundation. All rights reserved.