|
||||||||||
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 |
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. |
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 |
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. |
Methods inherited from class org.apache.xmlrpc.XmlRpcConfigImpl |
---|
getBasicEncoding, getEncoding, isContentLengthOptional, isEnabledForExtensions, setBasicEncoding, setContentLengthOptional, setEnabledForExtensions, setEncoding |
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.XmlRpcConfig |
---|
isEnabledForExtensions |
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig |
---|
getEncoding |
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcHttpConfig |
---|
getBasicEncoding, isContentLengthOptional |
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig |
---|
getEncoding |
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 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(java.lang.String pUser)
pUser
- The user name.public java.lang.String getBasicUserName()
XmlRpcHttpRequestConfig
getBasicUserName
in interface XmlRpcHttpRequestConfig
public void setBasicPassword(java.lang.String pPassword)
pPassword
- The password.public java.lang.String getBasicPassword()
XmlRpcHttpRequestConfig
getBasicPassword
in interface XmlRpcHttpRequestConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |