net.trajano.twiff.internal.servlet
Class ViewServletRequestAdapter
java.lang.Object
net.trajano.twiff.adapter.RequestAdapter
net.trajano.twiff.internal.servlet.ViewServletRequestAdapter
public class ViewServletRequestAdapter
- extends RequestAdapter
This adapts a request so ViewServlet
and
AttachmentServlet
can use it in a more type
safe manner.
- Author:
- Archimedes Trajano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewServletRequestAdapter
public ViewServletRequestAdapter(HttpServletRequest request,
String tokenFieldName)
- Constructs the adapter.
- Parameters:
request
- servlet request.tokenFieldName
- the name of the field that contains the token ID.
isTokenExist
public final boolean isTokenExist()
- Returns:
- Returns the tokenExist.
getTokenId
public final String getTokenId()
- Returns:
- Returns the tokenId.
registerComponentImplementation
public void registerComponentImplementation(Class pageBeanClass)
throws ServletException
- Registeres the class into the
PicoContainer
stored in the request.
- Parameters:
pageBeanClass
- the page bean class.
- Throws:
ServletException
Copyright © 2004-2005 trajano.net. All Rights Reserved.