Annotation Type ContentType

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


public abstract String value
The content type for the page. Typically, something like "text/html".

Copyright © 2003-2012 The Apache Software Foundation.