Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.struts.action
Class ActionServletWrapper  view ActionServletWrapper download ActionServletWrapper.java

java.lang.Object
  extended byorg.apache.struts.action.ActionServletWrapper
All Implemented Interfaces:
java.io.Serializable

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.

Since:
Struts 1.0.1
Version:
$Rev: 55459 $ $Date: 2004-10-24 20:23:54 +0100 (Sun, 24 Oct 2004) $

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(org.apache.struts.upload.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

servlet

protected transient ActionServlet servlet

The servlet instance to which we are attached.

Constructor Detail

ActionServletWrapper

public ActionServletWrapper(ActionServlet servlet)

Create object and set servlet property.

Method Detail

setServletFor

public void setServletFor(org.apache.struts.upload.MultipartRequestHandler object)

Set servlet to a MultipartRequestHandler.