org.apache.xmlrpc.common

Interface XmlRpcHttpConfig

All Superinterfaces:
XmlRpcConfig, XmlRpcStreamConfig
Known Subinterfaces:
XmlRpcHttpClientConfig, XmlRpcHttpRequestConfig, XmlRpcHttpServerConfig
Known Implementing Classes:
RequestData, XmlRpcClientConfigImpl, XmlRpcConfigImpl, XmlRpcHttpRequestConfigImpl, XmlRpcServerConfigImpl

public interface XmlRpcHttpConfig
extends XmlRpcStreamConfig

Interface of a configuration for HTTP requests.

Fields inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig

UTF8_ENCODING

Method Summary

String
getBasicEncoding()
Returns the encoding being used to convert the String "username:password" into bytes.
boolean
isContentLengthOptional()
Returns, whether a "Content-Length" header may be omitted.

Methods inherited from interface org.apache.xmlrpc.XmlRpcConfig

getTimeZone, isEnabledForExtensions

Methods inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig

getEncoding

Method Details

getBasicEncoding

public String getBasicEncoding()
Returns the encoding being used to convert the String "username:password" into bytes.

isContentLengthOptional

public boolean isContentLengthOptional()
Returns, whether a "Content-Length" header may be omitted. The XML-RPC specification demands, that such a header be present.
Returns:
True, if the content length may be omitted.

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