net.trajano.twiff.internal.servlet
Class ViewServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.trajano.twiff.internal.servlet.ViewServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public final class ViewServlet
extends HttpServlet

This class forwards container data a request dispatcher.

This should have an injected page retrieval strategy. It should also have a ServletConfiguration object that contains the configuration data.

Author:
Archimedes Trajano
See Also:
Serialized Form

Constructor Summary
ViewServlet(ViewServletConfiguration configuration, PageLookup pageLookup)
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
 
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

ViewServlet

public ViewServlet(ViewServletConfiguration configuration,
                   PageLookup pageLookup)
Parameters:
configuration - servlet configuration.
pageLookup - logic that performs page lookups.
Method Detail

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException
See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


Copyright © 2004-2005 trajano.net. All Rights Reserved.