Package org.apache.xmlrpc.server
Class XmlRpcHttpServer
java.lang.Object
org.apache.xmlrpc.common.XmlRpcController
org.apache.xmlrpc.server.XmlRpcServer
org.apache.xmlrpc.server.XmlRpcStreamServer
org.apache.xmlrpc.server.XmlRpcHttpServer
- All Implemented Interfaces:
XmlRpcRequestProcessor
,XmlRpcStreamRequestProcessor
- Direct Known Subclasses:
ConnectionServer
,XmlRpcServletServer
Abstract extension of
XmlRpcStreamServer
for deriving
HTTP servers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputStream
getOutputStream
(ServerStreamConnection pConnection, XmlRpcStreamRequestConfig pConfig, OutputStream pStream) Called to prepare the output stream.protected abstract void
setResponseHeader
(ServerStreamConnection pConnection, String pHeader, String pValue) Methods inherited from class org.apache.xmlrpc.server.XmlRpcStreamServer
convertThrowable, execute, getErrorLogger, getInputStream, getOutputStream, getRequest, getXmlRpcWriter, getXMLWriterFactory, isContentLengthRequired, logError, setErrorLogger, setXMLWriterFactory, writeError, writeResponse
Methods inherited from class org.apache.xmlrpc.server.XmlRpcServer
execute, getConfig, getDefaultXmlRpcWorkerFactory, getHandlerMapping, getTypeConverterFactory, setConfig, setHandlerMapping, setTypeConverterFactory
Methods inherited from class org.apache.xmlrpc.common.XmlRpcController
getMaxThreads, getTypeFactory, getWorkerFactory, setMaxThreads, setTypeFactory, setWorkerFactory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.xmlrpc.common.XmlRpcRequestProcessor
execute, getTypeConverterFactory
-
Constructor Details
-
XmlRpcHttpServer
public XmlRpcHttpServer()
-
-
Method Details
-
setResponseHeader
protected abstract void setResponseHeader(ServerStreamConnection pConnection, String pHeader, String pValue) -
getOutputStream
protected OutputStream getOutputStream(ServerStreamConnection pConnection, XmlRpcStreamRequestConfig pConfig, OutputStream pStream) throws IOException Description copied from class:XmlRpcStreamServer
Called to prepare the output stream. Typically used for enabling compression, or similar filters.- Overrides:
getOutputStream
in classXmlRpcStreamServer
- Parameters:
pConnection
- The connection object.- Throws:
IOException
-