public class RestParameterBuilder extends Object
Modifier and Type | Method and Description |
---|---|
RestParameterBuilder |
toHttpMethods(HttpMethod httpMethod,
HttpMethod... otherHttpMethods)
Define with which
HttpMethod the parameter will be added. |
RestDispatchAsyncModuleBuilder |
withValue(String value)
Define the value of this parameter.
|
public RestParameterBuilder toHttpMethods(HttpMethod httpMethod, HttpMethod... otherHttpMethods)
HttpMethod
the parameter will be added. If none are specified, it will defaults to all.httpMethod
- an HttpMethod
to link this parameter to.otherHttpMethods
- more HttpMethod
s to link this parameter to.public RestDispatchAsyncModuleBuilder withValue(String value)
value
- The value for this parameter.Copyright © 2010–2014 Arcbees. All rights reserved.