|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface HttpMethod
Indicates that the annotated Java method should be used to handle HTTP requests. Annotated methods must satisfy the following constraints:
void
,
Representation<T>
, T
or
HttpResponse
. Return values will be serialized
in the HTTP response entity body.
Entity<T>
@UriParam
,
@HeaderParam
,
@MatrixParam
or @QueryParam
Representation
,
UriParam
,
QueryParam
,
MatrixParam
,
HeaderParam
Optional Element Summary | |
---|---|
java.lang.String |
value
Specifies the name of a HTTP method. |
public abstract java.lang.String value
@HttpMethod public void deleteSomething()is equivalent to
@HttpMethod(DELETE) public void deleteSomething()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |