Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.tapestry5.annotations
Annotation Type ContentType

    @Target(value=TYPE)
    @Retention(value=RUNTIME)
    @Documented
    @UseWith(value=PAGE)
    public @interface ContentType

An annotation on a page component used to identify the content type the page returns. An alternative to the `Meta` annotation with the `MetaDataConstants.RESPONSE_CONTENT_TYPE` key.

Required Element Summary
`java.lang.String` | `value` The content type for the page.

Element Detail

### value

    public abstract java.lang.String value

  The content type for the page. Typically, something like "text/html".

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2012 The Apache Software Foundation.