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:
XmlRpcServletServer
public abstract class XmlRpcHttpServer extends XmlRpcStreamServer
Abstract extension ofXmlRpcStreamServerfor deriving HTTP servers.
-
-
Constructor Summary
Constructors Constructor Description XmlRpcHttpServer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected OutputStreamgetOutputStream(ServerStreamConnection pConnection, XmlRpcStreamRequestConfig pConfig, OutputStream pStream)Called to prepare the output stream.protected abstract voidsetResponseHeader(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
-
-
-
-
Method Detail
-
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:XmlRpcStreamServerCalled to prepare the output stream. Typically used for enabling compression, or similar filters.- Overrides:
getOutputStreamin classXmlRpcStreamServer- Parameters:
pConnection- The connection object.- Throws:
IOException
-
-