Annotation Types Summary |
Accept |
Use on Get , Post , … annotated methods to negotiate the
response format expected, and so the converter to use. |
Delete |
Use on methods in Rest annotated class to add a new rest service of
type DELETE. |
Get |
Use on methods in Rest annotated class to add a new rest service of
type GET. |
Head |
Use on methods in Rest annotated class to add a new rest service of
type OPTIONS. |
Options |
Use on methods in Rest annotated class to add a new rest service of
type OPTIONS. |
Post |
Use on methods in Rest annotated class to add a new rest service of
type POST. |
Put |
Use on methods in Rest annotated class to add a new rest service of
type PUT. |
RequiresAuthentication |
Use on Get , Post , … annotated methods to use authentication
on the request. |
RequiresCookie |
Use on Get , Post , … annotated methods to inject a cookie in
the request. |
RequiresCookieInUrl |
Use on Get , Post , … annotated methods to inject a cookie in
the URI. |
RequiresHeader |
Use on Get , Post , … annotated methods to inject a header in
the request. |
Rest |
Apply @Rest on an interface to create a RestService class that will
contain implementation of rest calls related to the methods you define in the
interface. |
RestService |
Apply @Rest on an interface to create a RestService class that will
contain implementation of rest calls related to the methods you define in the
interface. |
SetsCookie |
Use on Get , Post , … annotated methods to retrieve and store
cookies from the HTTP response. |