public static class JsonRestServlet.ParameterInfo extends Object
| Constructor and Description |
|---|
JsonRestServlet.ParameterInfo(String name,
Class type,
boolean required,
List<String> methods)
Creates a ParameterInfo with querystring parameter definition.
|
public JsonRestServlet.ParameterInfo(String name, Class type, boolean required, List<String> methods)
name - querystring parameter name.type - type for the parameter value, valid types are: Integer, Boolean and Stringrequired - indicates if the parameter is required.methods - HTTP methods the parameter is used by.Copyright © 2015 Apache Software Foundation. All Rights Reserved.