org.apache.xmlrpc.common
Interface XmlRpcStreamRequestConfig
- XmlRpcConfig, XmlRpcRequestConfig, XmlRpcStreamConfig
- XmlRpcHttpClientConfig, XmlRpcHttpRequestConfig
- RequestData, XmlRpcClientConfigImpl, XmlRpcHttpRequestConfigImpl
public interface XmlRpcStreamRequestConfig
Interface of a client configuration for a transport, which
is implemented by writing to a stream.
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.
|
isEnabledForExceptions
public boolean isEnabledForExceptions()
Returns, whether the response should contain a "faultCause" element
in case of errors. The "faultCause" is an exception, which the
server has trapped and written into a byte stream as a serializable
object.
isGzipCompressing
public boolean isGzipCompressing()
Returns, whether the request stream is being compressed. Note,
that the response stream may still be uncompressed.
- Whether to use Gzip compression or not. Defaults to false.
isGzipRequesting
public boolean isGzipRequesting()
Returns, whether compression is requested for the response stream.
Note, that the request is stull uncompressed, unless
isGzipCompressing()
is activated. Also note, that the
server may still decide to send uncompressed data.
- Whether to use Gzip compression or not. Defaults to false.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.