org.apache.xmlrpc
Class XmlRpcProxyServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.xmlrpc.XmlRpcProxyServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class XmlRpcProxyServlet
extends javax.servlet.http.HttpServlet

A HttpServlet that acts as a XML-RPC proxy. The URL of the server to connect to is taken from the servlet initialization parameter url.

Version:
$Id: XmlRpcProxyServlet.java,v 1.5 2005/04/22 10:25:57 hgomez Exp $
Author:
Hannes Wallnoefer
See Also:
Serialized Form

Field Summary
private  XmlRpcServer xmlrpc
           
 
Constructor Summary
XmlRpcProxyServlet()
           
 
Method Summary
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 void init(javax.servlet.ServletConfig config)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlrpc

private XmlRpcServer xmlrpc
Constructor Detail

XmlRpcProxyServlet

public XmlRpcProxyServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config -
Throws:
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)
            throws javax.servlet.ServletException,
                   java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
req -
res -
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.