|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.ActionServletWrapper
public class ActionServletWrapper
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.
| Field Summary | |
|---|---|
protected ActionServlet |
servlet
The servlet instance to which we are attached. |
| Constructor Summary | |
|---|---|
ActionServletWrapper(ActionServlet servlet)
Create object and set servlet property. |
|
| Method Summary | |
|---|---|
void |
setServletFor(MultipartRequestHandler object)
Set servlet to a MultipartRequestHandler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected transient ActionServlet servlet
The servlet instance to which we are attached.
| Constructor Detail |
|---|
public ActionServletWrapper(ActionServlet servlet)
Create object and set servlet property.
servlet - ActionServlet to wrap| Method Detail |
|---|
public void setServletFor(MultipartRequestHandler object)
Set servlet to a MultipartRequestHandler.
object - The MultipartRequestHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||