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, setTimeZone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBasicEncoding, isContentLengthOptional
getEncoding
getTimeZone, isEnabledForExtensions
public void setGzipCompressing(boolean pCompressing)
pCompressing
- True for enabling gzip compression,
false otherwise.setGzipRequesting(boolean)
public boolean isGzipCompressing()
XmlRpcStreamRequestConfig
isGzipCompressing
in interface XmlRpcStreamRequestConfig
XmlRpcStreamRequestConfig.isGzipRequesting()
public void setGzipRequesting(boolean pRequesting)
pRequesting
- True for requesting gzip compression,
false otherwise.setGzipCompressing(boolean)
public boolean isGzipRequesting()
XmlRpcStreamRequestConfig
XmlRpcStreamRequestConfig.isGzipCompressing()
is activated. Also note, that the
server may still decide to send uncompressed data.isGzipRequesting
in interface XmlRpcStreamRequestConfig
XmlRpcStreamRequestConfig.isGzipCompressing()
public void setBasicUserName(String pUser)
pUser
- The user name.public String getBasicUserName()
XmlRpcHttpRequestConfig
getBasicUserName
in interface XmlRpcHttpRequestConfig
public void setBasicPassword(String pPassword)
pPassword
- The password.public String getBasicPassword()
XmlRpcHttpRequestConfig
getBasicPassword
in interface XmlRpcHttpRequestConfig
public void setConnectionTimeout(int pTimeout)
pTimeout
- connection timeout, 0 to disable itpublic int getConnectionTimeout()
XmlRpcHttpRequestConfig
getConnectionTimeout
in interface XmlRpcHttpRequestConfig
public void setReplyTimeout(int pTimeout)
pTimeout
- reply timeout, 0 to disable itpublic int getReplyTimeout()
XmlRpcHttpRequestConfig
getReplyTimeout
in interface XmlRpcHttpRequestConfig
public void setEnabledForExceptions(boolean pEnabledForExceptions)
public boolean isEnabledForExceptions()
XmlRpcStreamRequestConfig
isEnabledForExceptions
in interface XmlRpcStreamRequestConfig
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.