Annotation Type HttpMethod

public @interface HttpMethod

Indicates that the annotated Java method should be used to handle HTTP requests. Annotated methods must satisfy the following constraints:

See Also:
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
Specifies the name of a HTTP method. E.g. "GET". If not specified the name of the annotated method must begin with one of the method constants (in lowercase). E.g.
 public void deleteSomething()
is equivalent to
 public void deleteSomething()