org.apache.xmlrpc.server

Class XmlRpcServerConfigImpl

Implemented Interfaces:
XmlRpcConfig, XmlRpcHttpConfig, XmlRpcHttpServerConfig, XmlRpcServerConfig, XmlRpcStreamConfig

public class XmlRpcServerConfigImpl
extends XmlRpcConfigImpl
implements XmlRpcServerConfig, XmlRpcHttpServerConfig

Default implementation of XmlRpcServerConfig.

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

UTF8_ENCODING

Method Summary

boolean
isEnabledForExceptions()
boolean
isKeepAliveEnabled()
void
setEnabledForExceptions(boolean pEnabledForExceptions)
Sets, whether the server may create a "faultCause" element in an error response.
void
setKeepAliveEnabled(boolean pKeepAliveEnabled)
Sets, whether HTTP keepalive is enabled for this server.

Methods inherited from class org.apache.xmlrpc.XmlRpcConfigImpl

getBasicEncoding, getEncoding, getTimeZone, isContentLengthOptional, isEnabledForExtensions, setBasicEncoding, setContentLengthOptional, setEnabledForExtensions, setEncoding, setTimeZone

Method Details

isEnabledForExceptions

public boolean isEnabledForExceptions()
Specified by:
isEnabledForExceptions in interface XmlRpcHttpServerConfig

isKeepAliveEnabled

public boolean isKeepAliveEnabled()
Specified by:
isKeepAliveEnabled in interface XmlRpcHttpServerConfig

setEnabledForExceptions

public void setEnabledForExceptions(boolean pEnabledForExceptions)
Sets, whether the server may create a "faultCause" element in an error response. Note, that this may be a security issue!

setKeepAliveEnabled

public void setKeepAliveEnabled(boolean pKeepAliveEnabled)
Sets, whether HTTP keepalive is enabled for this server.
Parameters:
pKeepAliveEnabled - True, if keepalive is enabled. False otherwise.

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