org.apache.xmlrpc.common

Interface XmlRpcStreamRequestConfig

public interface XmlRpcStreamRequestConfig extends XmlRpcStreamConfig, XmlRpcRequestConfig

Interface of a client configuration for a transport, which is implemented by writing to a stream.
Method Summary
booleanisGzipCompressing()
Returns, whether the request stream is being compressed.
booleanisGzipRequesting()
Returns, whether compression is requested for the response stream.

Method Detail

isGzipCompressing

public boolean isGzipCompressing()
Returns, whether the request stream is being compressed. Note, that the response stream may still be uncompressed.

Returns: Whether to use Gzip compression or not. Defaults to false.

See Also: isGzipRequesting

isGzipRequesting

public boolean isGzipRequesting()
Returns, whether compression is requested for the response stream. Note, that the request is stull uncompressed, unless {@link #isGzipCompressing()} is activated. Also note, that the server may still decide to send uncompressed data.

Returns: Whether to use Gzip compression or not. Defaults to false.

See Also: isGzipCompressing

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.