R - the result type.public interface RestAction<R> extends TypedAction<R>, HasSecured
RestDispatch.
You will usually want to let GWTP generate your actions by creating services as explained
here.| Modifier and Type | Method and Description |
|---|---|
Object |
getBodyParam() |
List<RestParameter> |
getFormParams() |
List<RestParameter> |
getHeaderParams() |
HttpMethod |
getHttpMethod() |
String |
getPath()
Returns the relative path for this action.
|
List<RestParameter> |
getPathParams() |
List<RestParameter> |
getQueryParams() |
Boolean |
hasBodyParam()
Verify if this action a body object.
|
Boolean |
hasFormParams()
Verify if this action contains FORM parameters.
|
isSecuredString getPath()
RestApplicationPath.HttpMethod getHttpMethod()
HttpMethod used to send this action over HTTP.List<RestParameter> getPathParams()
List of the @Path parameters for this action.List<RestParameter> getQueryParams()
List of the @QueryParam parameters for this action.List<RestParameter> getFormParams()
List of the @FormParam parameters for this action.
getBodyParam() should return null.List<RestParameter> getHeaderParams()
List of the @HeaderParam parameters for this action.Object getBodyParam()
getFormParams() should
return an empty list.Boolean hasFormParams()
hasBodyParam() should return false.true if this method contains form parameters, otherwise false.Boolean hasBodyParam()
hasFormParams() should return false.true if this method contains body object, otherwise false.Copyright © 2010–2014 Arcbees. All rights reserved.