org.wicketstuff.rest.annotations
Annotation Type MethodMapping
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface MethodMapping
Annotation used to map a resource method to a given URL. The specified URL can contain parameter
segment (for example '{id}') and we can specify also the request method that must be used.
- Author:
- andrea del bene
- See Also:
HttpMethod
value
public abstract String value
httpMethod
public abstract HttpMethod httpMethod
- Default:
- org.wicketstuff.rest.utils.http.HttpMethod.GET
consumes
public abstract String consumes
- Default:
- "application/json"
produces
public abstract String produces
- Default:
- "application/json"
Copyright © 2013. All Rights Reserved.