View Javadoc

1   package org.apache.struts2.spi;
2   
3   import org.apache.struts2.spi.RequestContext;
4   
5   /***
6    * Implemented by actions that need access to the current {@link org.apache.struts2.spi.RequestContext}. Use
7    * judiciously.
8    *
9    * @author crazybob@google.com (Bob Lee)
10   */
11  public interface RequestContextAware {
12  
13      /***
14       * Sets {@link org.apache.struts2.spi.RequestContext}.
15       *
16       * @param requestContext
17       */
18      void setRequestContext(RequestContext requestContext);
19  }