org.apache.xmlrpc.webserver
Class ConnectionServer

java.lang.Object
  extended by org.apache.xmlrpc.common.XmlRpcController
      extended by org.apache.xmlrpc.server.XmlRpcServer
          extended by org.apache.xmlrpc.server.XmlRpcStreamServer
              extended by org.apache.xmlrpc.webserver.ConnectionServer

 class ConnectionServer
extends XmlRpcStreamServer


Constructor Summary
ConnectionServer()
           
 
Method Summary
protected  void closeConnection(java.lang.Object pConnection)
          Closes the connection, releasing all resources.
protected  java.io.InputStream newInputStream(XmlRpcStreamRequestConfig pConfig, java.lang.Object pConnection)
          Returns the connections input stream.
protected  java.io.OutputStream newOutputStream(XmlRpcStreamRequestConfig pConfig, java.lang.Object pConnection)
          Creates the connections output stream.
protected  void writeError(XmlRpcStreamRequestConfig pConfig, java.io.OutputStream pStream, java.lang.Throwable pError)
           
protected  void writeResponse(XmlRpcStreamRequestConfig pConfig, java.io.OutputStream pStream, java.lang.Object pResult)
           
 
Methods inherited from class org.apache.xmlrpc.server.XmlRpcStreamServer
execute, getInputStream, getOutputStream, getOutputStream, getRequest, getXmlRpcWriter, getXMLWriterFactory, isContentLengthRequired, setXMLWriterFactory
 
Methods inherited from class org.apache.xmlrpc.server.XmlRpcServer
execute, getConfig, getDefaultXmlRpcWorkerFactory, getHandlerMapping, setConfig, setHandlerMapping
 
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
 

Constructor Detail

ConnectionServer

ConnectionServer()
Method Detail

writeError

protected void writeError(XmlRpcStreamRequestConfig pConfig,
                          java.io.OutputStream pStream,
                          java.lang.Throwable pError)
                   throws XmlRpcException
Overrides:
writeError in class XmlRpcStreamServer
Throws:
XmlRpcException

writeResponse

protected void writeResponse(XmlRpcStreamRequestConfig pConfig,
                             java.io.OutputStream pStream,
                             java.lang.Object pResult)
                      throws XmlRpcException
Overrides:
writeResponse in class XmlRpcStreamServer
Throws:
XmlRpcException

newInputStream

protected java.io.InputStream newInputStream(XmlRpcStreamRequestConfig pConfig,
                                             java.lang.Object pConnection)
                                      throws java.io.IOException
Description copied from class: XmlRpcStreamServer
Returns the connections input stream.

Specified by:
newInputStream in class XmlRpcStreamServer
Throws:
java.io.IOException

newOutputStream

protected java.io.OutputStream newOutputStream(XmlRpcStreamRequestConfig pConfig,
                                               java.lang.Object pConnection)
                                        throws java.io.IOException
Description copied from class: XmlRpcStreamServer
Creates the connections output stream.

Specified by:
newOutputStream in class XmlRpcStreamServer
Throws:
java.io.IOException

closeConnection

protected void closeConnection(java.lang.Object pConnection)
                        throws java.io.IOException
Description copied from class: XmlRpcStreamServer
Closes the connection, releasing all resources.

Specified by:
closeConnection in class XmlRpcStreamServer
Throws:
java.io.IOException


Copyright 2001-2001-2006 Apache Software Foundation. All Rights Reserved.