org.apache.struts.chain.servlet
Class SetContentType

java.lang.Object
  extended byorg.apache.struts.chain.AbstractSetContentType
      extended byorg.apache.struts.chain.servlet.SetContentType
All Implemented Interfaces:
org.apache.commons.chain.Command

public class SetContentType
extends AbstractSetContentType

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

Version:
$Rev: 54933 $ $Date: 2004-10-16 18:04:52 +0100 (Sat, 16 Oct 2004) $
Author:
Don Brown

Field Summary
 
Fields inherited from class org.apache.struts.chain.AbstractSetContentType
 
Constructor Summary
SetContentType()
           
 
Method Summary
protected  void setContentType(org.apache.commons.chain.Context context, java.lang.String contentType)
          Request no cache flags are set.
 
Methods inherited from class org.apache.struts.chain.AbstractSetContentType
execute, getModuleConfigKey, setModuleConfigKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetContentType

public SetContentType()
Method Detail

setContentType

protected void setContentType(org.apache.commons.chain.Context context,
                              java.lang.String contentType)
Description copied from class: AbstractSetContentType

Request no cache flags are set.

Specified by:
setContentType in class AbstractSetContentType
Parameters:
context - The Context for this request
contentType - The content type for the response


Copyright ? 2003 - Apache Software Foundation