Package se.curity.identityserver.sdk.web
Annotation Interface Produces
Annotation that can be used to explicitly tell the server which content-type(s) a
RequestHandler
GET or POST handler should support.
If applied on the RequestHandler implementator class, it will be used for all HTTP methods that are not directly annotated themselves. A Method-level annotation may override a type-level one.
If not specified, all of the options in the Produces.ContentType enum will be supported by the request handler
methods.
- Since:
- 2.1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumContent-TypesRequestHandlermay produce to respond to HTTP Requests. -
Required Element Summary
Required Elements
-
Element Details
-
value
Produces.ContentType[] value- Returns:
- the content-types a
RequestHandlershould support.
-