org.codegist.crest.annotate
Annotation Type HttpMethod
@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
public @interface HttpMethod
Optional method level annotation, sets the method http method. If not specified, defaults to the method config default value.
Can be set at interface level to default all interface method values if not specified at method level.
- Author:
- Laurent Gilles (laurent.gilles@codegist.org)
- See Also:
MethodConfig.DEFAULT_HTTP_METHOD
,
MethodConfig.getHttpMethod()
value
public abstract HttpMethod value
Copyright © 2011. All Rights Reserved.