live.struts.actions
Class CheckedAction.ActionInfo

java.lang.Object
  extended bylive.struts.actions.CheckedAction.ActionInfo
Enclosing class:
CheckedAction

public static final class CheckedAction.ActionInfo
extends Object


Field Summary
 Cache cache
          The cache from the servlet context
 org.apache.struts.action.ActionForm form
           
 org.apache.struts.action.ActionMapping mapping
           
 HttpServletRequest request
           
 HttpServletResponse response
           
 ThreadInitInfo threadInfo
          The thread info from the session
 
Constructor Summary
CheckedAction.ActionInfo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, HttpServletRequest request, HttpServletResponse response, ThreadInitInfo tii, Cache cache)
          Makes an ActionInfo with the specified field names
 
Method Summary
(package private)  org.apache.struts.action.ActionForward findForward(String fwdName)
           
(package private)  Object getRequestAttribute(String attributeName)
          This is a passthrough to the request's ServletRequest.getAttribute(String) function.
(package private)  String getRequestParameter(String param)
          This is a passthrough to the request's ServletRequest.getParameter(String) function.
(package private)  void setRequestAttribute(String attributeName, Object attributeValue)
          This is a passthrough to the request's ServletRequest.setAttribute(String, Object) function.
 org.apache.struts.action.ActionForward smartForward(ThreadedUserAction thread, String defaultForward)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapping

public org.apache.struts.action.ActionMapping mapping

form

public org.apache.struts.action.ActionForm form

request

public HttpServletRequest request

response

public HttpServletResponse response

threadInfo

public ThreadInitInfo threadInfo
The thread info from the session


cache

public Cache cache
The cache from the servlet context

Constructor Detail

CheckedAction.ActionInfo

public CheckedAction.ActionInfo(org.apache.struts.action.ActionMapping mapping,
                                org.apache.struts.action.ActionForm form,
                                HttpServletRequest request,
                                HttpServletResponse response,
                                ThreadInitInfo tii,
                                Cache cache)
Makes an ActionInfo with the specified field names

Method Detail

getRequestParameter

String getRequestParameter(String param)
This is a passthrough to the request's ServletRequest.getParameter(String) function. It's just for source prettyness than anything, so rather than say myActionInfo.request.getParameter you can say myActionInfo.getRequestParameter

Parameters:
param - The request parameter to get
Returns:
The value of that request parameter.

setRequestAttribute

void setRequestAttribute(String attributeName,
                         Object attributeValue)
This is a passthrough to the request's ServletRequest.setAttribute(String, Object) function. It's just for source prettyness than anything, so rather than say myActionInfo.request.setAttribute you can say myActionInfo.setRequestAttribute

Parameters:
attributeName - The attribute to set
attributeValue - The value to set the attribute to

getRequestAttribute

Object getRequestAttribute(String attributeName)
This is a passthrough to the request's ServletRequest.getAttribute(String) function. It's just for source prettyness than anything, so rather than say myActionInfo.request.getAttribute you can say myActionInfo.getRequestAttribute

Parameters:
attributeName - The request attribute to get
Returns:
The value of that request attribute.

findForward

org.apache.struts.action.ActionForward findForward(String fwdName)

smartForward

public org.apache.struts.action.ActionForward smartForward(ThreadedUserAction thread,
                                                           String defaultForward)


Copyright © 2005