railo.runtime.net.rpc.server
Class RPCServer

java.lang.Object
  extended by railo.runtime.net.rpc.server.RPCServer

public final class RPCServer
extends Object

xdoclet tags are not active yet; keep web.xml in sync. To change the location of the services, change url-pattern in web.xml and set parameter axis.servicesPath in server-config.wsdd. For more information see Axis Reference Guide.


Field Summary
static String INIT_PROPERTY_DISABLE_SERVICES_LIST
           
static String INIT_PROPERTY_ENABLE_LIST
           
static String INIT_PROPERTY_JWS_CLASS_DIR
           
static String INIT_PROPERTY_SERVICES_PATH
           
static String INIT_PROPERTY_TRANSPORT_NAME
           
static String INIT_PROPERTY_USE_SECURITY
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Component component)
          Process GET requests.
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, Component component)
          Process a POST to the servlet by handing it off to the Axis Engine.
 org.apache.axis.server.AxisServer getEngine()
          get the engine for this Server from cache or context
static RPCServer getInstance(int id, javax.servlet.ServletContext servletContext)
           
 void initQueryStringHandlers()
          Initialize a Handler for the transport defined in the Axis server config.
 void registerTypeMapping(Class clazz)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INIT_PROPERTY_TRANSPORT_NAME

public static final String INIT_PROPERTY_TRANSPORT_NAME
See Also:
Constant Field Values

INIT_PROPERTY_USE_SECURITY

public static final String INIT_PROPERTY_USE_SECURITY
See Also:
Constant Field Values

INIT_PROPERTY_ENABLE_LIST

public static final String INIT_PROPERTY_ENABLE_LIST
See Also:
Constant Field Values

INIT_PROPERTY_JWS_CLASS_DIR

public static final String INIT_PROPERTY_JWS_CLASS_DIR
See Also:
Constant Field Values

INIT_PROPERTY_DISABLE_SERVICES_LIST

public static final String INIT_PROPERTY_DISABLE_SERVICES_LIST
See Also:
Constant Field Values

INIT_PROPERTY_SERVICES_PATH

public static final String INIT_PROPERTY_SERVICES_PATH
See Also:
Constant Field Values
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response,
                  Component component)
           throws javax.servlet.ServletException
Process GET requests. This includes handoff of pseudo-SOAP requests

Parameters:
request - request in
response - request out
Throws:
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res,
                   Component component)
            throws javax.servlet.ServletException,
                   IOException
Process a POST to the servlet by handing it off to the Axis Engine. Here is where SOAP messages are received

Parameters:
req - posted request
res - respose
Throws:
javax.servlet.ServletException - trouble
IOException - different trouble

initQueryStringHandlers

public void initQueryStringHandlers()
Initialize a Handler for the transport defined in the Axis server config. This includes optionally filling in query string handlers.


getEngine

public org.apache.axis.server.AxisServer getEngine()
                                            throws org.apache.axis.AxisFault
get the engine for this Server from cache or context

Returns:
Throws:
org.apache.axis.AxisFault

getInstance

public static RPCServer getInstance(int id,
                                    javax.servlet.ServletContext servletContext)
                             throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

registerTypeMapping

public void registerTypeMapping(Class clazz)


Copyright © 2012 Railo