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

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `value` The content type for the page.

- - ### Element Detail

    - #### value

          public abstract String value

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

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.