SetContentType (Struts 1.3.10 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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) $

Field Summary

Fields inherited from interface org.apache.commons.chain.Command
`CONTINUE_PROCESSING, PROCESSING_COMPLETE`

Constructor Summary
`SetContentType()`

Method Summary
`protected void` | `setContentType(ActionContext context, String contentType)` Request no cache flags are set.

Methods inherited from class org.apache.struts.chain.commands.AbstractSetContentType
`execute`

Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase
`execute`

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(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 request
    `contentType` - The content type for the response

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.