Package org.apache.struts.action
Class ActionServletWrapper
java.lang.Object
org.apache.struts.action.ActionServletWrapper
- All Implemented Interfaces:
Serializable
Provide a wrapper around an ActionServlet
to expose only those
methods needed by other objects. When used with an ActionForm
,
subclasses must be careful that they do not return an object with public
getters and setters that could be exploited by automatic population of
properties.
- Since:
- Struts 1.0.1
- Version:
- $Rev$ $Date: 2005-05-07 12:11:38 -0400 (Sat, 07 May 2005) $
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected ActionServlet
The servlet instance to which we are attached. -
Constructor Summary
ConstructorDescriptionActionServletWrapper
(ActionServlet servlet) Create object and setservlet
property. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setServletFor
(MultipartRequestHandler object) Set servlet to aMultipartRequestHandler
.
-
Field Details
-
servlet
The servlet instance to which we are attached.
-
-
Constructor Details
-
ActionServletWrapper
Create object and set
servlet
property.- Parameters:
servlet
-ActionServlet
to wrap
-
-
Method Details
-
setServletFor
Set servlet to a
MultipartRequestHandler
.- Parameters:
object
- The MultipartRequestHandler
-