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
 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".



Copyright © 2003-2012 The Apache Software Foundation.