org.apache.jetspeed.services.webpage
Class WebPageServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.apache.jetspeed.services.webpage.WebPageServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WebPageServlet
extends javax.servlet.http.HttpServlet

WebPageServlet is the main servlet entry point for the WebPage Service server.

See Also:
Serialized Form

Field Summary
static java.lang.String WPS_KILLPARAM
           
static java.lang.String WPS_KILLSESSION
           
 
Constructor Summary
WebPageServlet()
           
 
Method Summary
 void destroy()
          Called by the servlet container to indicate to a servlet that the servlet is being taken out of service.
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          handles an HTTP GET request.
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          handles an HTTP POST request.
 void init(javax.servlet.ServletConfig config)
          This init method will load the default resources from a properties file.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
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

WPS_KILLSESSION

public static final java.lang.String WPS_KILLSESSION
See Also:
Constant Field Values

WPS_KILLPARAM

public static final java.lang.String WPS_KILLPARAM
See Also:
Constant Field Values
Constructor Detail

WebPageServlet

public WebPageServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
handles an HTTP GET request.

Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
handles an HTTP POST request.

Throws:
javax.servlet.ServletException
java.io.IOException

init

public final void init(javax.servlet.ServletConfig config)
                throws javax.servlet.ServletException
This init method will load the default resources from a properties file.

Parameters:
config - typical Servlet initialization parameter.
Throws:
javax.servlet.ServletException - a servlet exception.

destroy

public final void destroy()
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service. The WebPageManager server cleans up all connections, logging out of sessions.



Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.