ProgramixGenericLib v5.0.1

com.programix.command.bridge.http
Class HttpCommandBridgeServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.programix.command.bridge.http.HttpCommandBridgeServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class HttpCommandBridgeServlet
extends HttpServlet

See Also:
Serialized Form

Field Summary
static String COMMAND_PROCESSOR_CONFIG_FILENAME
          Set to: command.processor.config.filename, used to load the configuration for the CommandProcessor that this servlet will relay to.
 
Constructor Summary
HttpCommandBridgeServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest req, HttpServletResponse res)
           
 void doPost(HttpServletRequest req, HttpServletResponse res)
           
 void init()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, 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

COMMAND_PROCESSOR_CONFIG_FILENAME

public static final String COMMAND_PROCESSOR_CONFIG_FILENAME
Set to: command.processor.config.filename, used to load the configuration for the CommandProcessor that this servlet will relay to. This file is expected to be bundled in the war-file and in the format used by ValueMap and shall be passed to CommandProcessorFactory.

See Also:
Constant Field Values
Constructor Detail

HttpCommandBridgeServlet

public HttpCommandBridgeServlet()
Method Detail

init

public void init()
          throws ServletException
Overrides:
init in class GenericServlet
Throws:
ServletException

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse res)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

doPost

public void doPost(HttpServletRequest req,
                   HttpServletResponse res)
            throws ServletException,
                   IOException
Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.