@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Request
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
resourceName |
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
data |
java.lang.String |
method
One of the HTTP methods
HttpMethod.GET
HttpMethod.POST
HttpMethod.PUT
HttpMethod.DELETE
Default value is HttpMethod.GET |
java.lang.String |
parameters
JSON multi-value map for exampl:
"{'param1':['valuep1'];'param2':['valueparam2','value2param2']}",
|
java.lang.String |
serviceEndPoint |
java.lang.String |
type
Constants are available with
MediaType class. |
public abstract java.lang.String parameters
"{'param1':['valuep1'];'param2':['valueparam2','value2param2']}",
public abstract java.lang.String method
HttpMethod.GET
HttpMethod.POST
HttpMethod.PUT
HttpMethod.DELETE
HttpMethod.GET
Copyright © 2000 Infostretch Corp.