| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.apache.struts.action.ActionMappings
ModuleConfig
Encapsulate a collection of ActionMapping objects that can be administered and searched, while hiding the internal implementation.
| Field Summary | |
| protected  org.apache.commons.collections.FastHashMap | mappingsDeprecated. The collection of ActionMapping instances, keyed by request path. | 
| protected  ActionServlet | servletDeprecated. The ActionServlet instance of our owning application. | 
| protected  ActionMapping | unknownDeprecated. The ActionMapping that should handle unknown request paths, if any. | 
| Constructor Summary | |
| ActionMappings()Deprecated. | |
| Method Summary | |
|  void | addMapping(ActionMapping mapping)Deprecated. Register a logical mapping to the set configured for this servlet. | 
|  ActionMapping | findMapping(java.lang.String path)Deprecated. Return the mapping associated with the specified logical name, if any; otherwise return null. | 
|  java.lang.String[] | findMappings()Deprecated. Return the set of paths for mappings defined in this collection. | 
|  boolean | getFast()Deprecated. Return the "fast" mode flag. | 
|  ActionServlet | getServlet()Deprecated. Return the ActionServletinstance of our owning
 application. | 
|  ActionMapping | getUnknown(javax.servlet.http.HttpServletRequest request)Deprecated. Return the Action that should handle unknown request paths, if any. | 
|  ActionMapping | getUnknown(javax.servlet.ServletRequest request)Deprecated. Return the Action that should handle unknown request paths, if any. | 
|  void | removeMapping(ActionMapping mapping)Deprecated. Deregister a mapping from the set configured for this servlet. | 
|  void | setFast(boolean fast)Deprecated. Set the "fast" mode flag. | 
|  void | setServlet(ActionServlet servlet)Deprecated. Set the ActionServletinstance of our owning application. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected org.apache.commons.collections.FastHashMap mappings
protected transient ActionServlet servlet
protected ActionMapping unknown
| Constructor Detail | 
public ActionMappings()
| Method Detail | 
public boolean getFast()
public void setFast(boolean fast)
fast - The new fast mode flagpublic ActionMapping getUnknown(javax.servlet.ServletRequest request)
request - The servlet request we are processingpublic ActionMapping getUnknown(javax.servlet.http.HttpServletRequest request)
request - The servlet request we are processingpublic ActionServlet getServlet()
ActionServlet instance of our owning
 application.
public void setServlet(ActionServlet servlet)
ActionServlet instance of our owning application.
servlet - The new servlet instancepublic void addMapping(ActionMapping mapping)
mapping - The mapping to be addedpublic ActionMapping findMapping(java.lang.String path)
null.
path - The request path for which to retrieve a mappingpublic java.lang.String[] findMappings()
public void removeMapping(ActionMapping mapping)
mapping - The mapping to be deregistered| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||