Package org.apache.tapestry5.annotations

## Annotation Type ContentType

-     @Target(TYPE)
      @Retention(RUNTIME)
      @Documented
      @UseWith(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 | Description
    --- | --- | ---
    `java.lang.String` | `value` | The content type for the page.

- - ### Element Detail

    - #### value

          java.lang.String value

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