Package org.apache.xmlrpc.common
Interface XmlRpcHttpConfig
- All Superinterfaces:
XmlRpcConfig
,XmlRpcStreamConfig
- All Known Subinterfaces:
XmlRpcHttpClientConfig
,XmlRpcHttpRequestConfig
,XmlRpcHttpServerConfig
- All Known Implementing Classes:
RequestData
,XmlRpcClientConfigImpl
,XmlRpcConfigImpl
,XmlRpcHttpRequestConfigImpl
,XmlRpcServerConfigImpl
Interface of a configuration for HTTP requests.
-
Field Summary
Fields inherited from interface org.apache.xmlrpc.common.XmlRpcStreamConfig
UTF8_ENCODING
-
Method Summary
Modifier and TypeMethodDescriptionReturns the encoding being used to convert the String "username:password" into bytes.boolean
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
String getBasicEncoding()Returns the encoding being used to convert the String "username:password" into bytes.- Returns:
- Encoding being used for basic HTTP authentication credentials,
or null, if the default encoding
(
XmlRpcStreamConfig.UTF8_ENCODING
) is being used.
-
isContentLengthOptional
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.
-