org.apache.struts.chain.commands.servlet
Class SetContentType
java.lang.Object
org.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.AbstractSetContentType
org.apache.struts.chain.commands.servlet.SetContentType
- All Implemented Interfaces:
- org.apache.commons.chain.Command, ActionCommand
public class SetContentType
- extends AbstractSetContentType
Check to see if the content type is set, and if so, set it for this
response.
- Version:
- $Rev: 471754 $ $Date: 2005-06-04 10:58:46 -0400 (Sat, 04 Jun 2005)
$
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetContentType
public SetContentType()
setContentType
protected void setContentType(ActionContext context,
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 requestcontentType
- The content type for the response
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.