Home » Struts-1.3.10 » org.apache.struts » chain » [javadoc | source]
org.apache.struts.chain
abstract public class: AbstractSetContentType [javadoc | source]
java.lang.Object
   org.apache.struts.chain.AbstractSetContentType

All Implemented Interfaces:
    org.apache.commons.chain.Command

Direct Known Subclasses:
    SetContentType

Check to see if the content type is set, and if so, set it for this response.

Method from org.apache.struts.chain.AbstractSetContentType Summary:
execute,   getModuleConfigKey,   setContentType,   setModuleConfigKey
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts.chain.AbstractSetContentType Detail:
 public boolean execute(Context context) throws Exception 

    Check to see if the content type is set, and if so, set it for this response.

 public String getModuleConfigKey() 

    Return the context attribute key under which the ModuleConfig for the currently selected application module is stored.

 abstract protected  void setContentType(Context context,
    String contentType)

    Request no cache flags are set.

 public  void setModuleConfigKey(String moduleConfigKey) 

    Set the context attribute key under which the ModuleConfig for the currently selected application module is stored.