com.filenet.wcm.toolkit.server.servlet

Class LaunchServlet

  1. java.lang.Object
  2. extended byjavax.servlet.GenericServlet
  3. extended byjavax.servlet.http.HttpServlet
  4. extended bycom.filenet.wcm.toolkit.server.servlet.LaunchServlet
All implemented interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

  1. public abstract class LaunchServlet
  2. extends javax.servlet.http.HttpServlet
LaunchServlet is a servlet for launching a workflow or a workflow subscription.

Servlet Configuration in WEB-INF/web.xml:
    <servlet>
        <servlet-name>launch</servlet-name>
        <servlet-class>com.filenet.wcm.toolkit.server.servlet.LaunchServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>launch</servlet-name>
        <url-pattern>/launch/*</url-pattern>
    </servlet-mapping>


See Also:
Serialized Form

Constructor Summary

Constructor and Description
LaunchServlet()

Method Summary

Modifier and Type Method and Description
  1. void
doGet(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
  1. protected abstract
  2. WcmController
getController()
  1. protected
  2. void
renderException(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response,java.lang.Exception e)
Helper method to render an error page if an exception was thrown
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

LaunchServlet

  1. public LaunchServlet()

Method Detail

getController

  1. protected abstract WcmController getController( )

doGet

  1. public void doGet(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws javax.servlet.ServletException
  4. java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

renderException

  1. protected void renderException( javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response,
  3. java.lang.Exception e)
Helper method to render an error page if an exception was thrown