public class ActionServletWrapper
extends java.lang.Object
implements java.io.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.
| Modifier and Type | Field and Description |
|---|---|
protected ActionServlet |
servlet
The servlet instance to which we are attached.
|
| Constructor and Description |
|---|
ActionServletWrapper(ActionServlet servlet)
Create object and set
servlet property. |
| Modifier and Type | Method and Description |
|---|---|
void |
setServletFor(MultipartRequestHandler object)
Set servlet to a
MultipartRequestHandler. |
protected transient ActionServlet servlet
The servlet instance to which we are attached.
public ActionServletWrapper(ActionServlet servlet)
Create object and set servlet property.
servlet - ActionServlet to wrappublic void setServletFor(MultipartRequestHandler object)
Set servlet to a MultipartRequestHandler.
object - The MultipartRequestHandlerCopyright © 2000–2024 Apache Software Foundation. All rights reserved.