|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlrpc.XmlRpcConfigImpl
org.apache.xmlrpc.common.XmlRpcHttpRequestConfigImpl
public class XmlRpcHttpRequestConfigImpl
Default implementation of a request configuration.
| Field Summary |
|---|
| Fields inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig |
|---|
UTF8_ENCODING |
| Constructor Summary | |
|---|---|
XmlRpcHttpRequestConfigImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBasicPassword()
Returns the password being used for basic HTTP authentication. |
java.lang.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(java.lang.String pPassword)
Sets the password for basic authentication. |
void |
setBasicUserName(java.lang.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. |
| Methods inherited from class org.apache.xmlrpc.XmlRpcConfigImpl |
|---|
getBasicEncoding, getEncoding, getTimeZone, isContentLengthOptional, isEnabledForExtensions, setBasicEncoding, setContentLengthOptional, setEnabledForExtensions, setEncoding, setTimeZone |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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.XmlRpcConfig |
|---|
getTimeZone, isEnabledForExtensions |
| Constructor Detail |
|---|
public XmlRpcHttpRequestConfigImpl()
| Method Detail |
|---|
public void setGzipCompressing(boolean pCompressing)
pCompressing - True for enabling gzip compression,
false otherwise.setGzipRequesting(boolean)public boolean isGzipCompressing()
XmlRpcStreamRequestConfig
isGzipCompressing 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(java.lang.String pUser)
pUser - The user name.public java.lang.String getBasicUserName()
XmlRpcHttpRequestConfig
getBasicUserName in interface XmlRpcHttpRequestConfigpublic void setBasicPassword(java.lang.String pPassword)
pPassword - The password.public java.lang.String getBasicPassword()
XmlRpcHttpRequestConfig
getBasicPassword in interface XmlRpcHttpRequestConfigpublic void setConnectionTimeout(int pTimeout)
pTimeout - connection timeout, 0 to disable itpublic int getConnectionTimeout()
XmlRpcHttpRequestConfig
getConnectionTimeout in interface XmlRpcHttpRequestConfigpublic void setReplyTimeout(int pTimeout)
pTimeout - reply timeout, 0 to disable itpublic int getReplyTimeout()
XmlRpcHttpRequestConfig
getReplyTimeout in interface XmlRpcHttpRequestConfigpublic void setEnabledForExceptions(boolean pEnabledForExceptions)
public boolean isEnabledForExceptions()
XmlRpcStreamRequestConfig
isEnabledForExceptions in interface XmlRpcStreamRequestConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||