com.arsdigita.dispatcher
Class RedirectorServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.arsdigita.dispatcher.RedirectorServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RedirectorServlet
extends javax.servlet.http.HttpServlet

A servlet that redirects. It takes parameter a servlet parameter "target" that is used for the destination of the redirect.

See Also:
Serialized Form

Field Summary
 String m_target
           
static String PARAM_NAME
           
static String versionId
           
 
Constructor Summary
RedirectorServlet()
           
 
Method Summary
 void destroy()
           
 void init()
           
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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

versionId

public static final String versionId
See Also:
Constant Field Values

PARAM_NAME

public static final String PARAM_NAME
See Also:
Constant Field Values

m_target

public String m_target
Constructor Detail

RedirectorServlet

public RedirectorServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse resp)
             throws javax.servlet.ServletException,
                    IOException
Throws:
javax.servlet.ServletException
IOException

destroy

public void destroy()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC