Package net.officefloor.web
Annotation Type HttpObject
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface HttpObjectAnnotationon theClassof the parameter (or the parameter itself) to indicate it is parsed out of theHttpRequestvia anHttpObjectParser.- Author:
- Daniel Sagenschneider
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]acceptedContentTypesLeaving an empty array will provide allContent-Typeparsing available for theObject.
-
-
-
Element Detail
-
acceptedContentTypes
java.lang.String[] acceptedContentTypes
Leaving an empty array will provide all
Content-Typeparsing available for theObject.This is provided to restrict
Content-Typeparsing.- Returns:
- Restricted list of
Content-Typeparsing available for theObject.
- Default:
- {}
-
-