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