FileDocCategorySizeDatePackage
RequestAware.javaAPI DocExample1609Mon Jul 23 13:26:52 BST 2007org.apache.struts2.interceptor

RequestAware

public interface RequestAware
Actions that want access to the current serlvet request attributes should implement this interface.

This interface is only relevant if the Action is used in a servlet environment.

Note that using this interface makes the Action tied to a servlet environment, so it should be avoided if possible since things like unit testing will become more difficult.

Fields Summary
Constructors Summary
Methods Summary
public voidsetRequest(java.util.Map request)
Sets the Map of request attributes in the implementing class.

param
request a Map of HTTP request attribute name/value pairs.