public class LensResourceMethod extends Object
| Constructor and Description | 
|---|
| LensResourceMethod() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDefaultValueForParam(String paramName)Extract default value of a parameter from the parameter annotations of the handler method | 
| com.google.common.base.Optional<String> | getMultiPurposeFormParam()if handler method is annotated with  MultiPurposeResource, extract
 that and returnMultiPurposeResource.formParamName() | 
| String | name()className.methodname.httpmethod | 
public com.google.common.base.Optional<String> getMultiPurposeFormParam()
MultiPurposeResource, extract
 that and return MultiPurposeResource.formParamName()public String name()
public String getDefaultValueForParam(String paramName)
paramName - value of FormDataParam annotation on the handler
                  method. Which will be the name of the argument in the request parametersDefaultValue annotation on the handler methodCopyright © 2014–2015 Apache Software Foundation. All rights reserved.