public static class JsonRestServlet.ParameterInfo extends Object
Constructor and Description |
---|
ParameterInfo(String name,
Class type,
boolean required,
List<String> methods)
Creates a ParameterInfo with querystring parameter definition.
|
public 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 String
required
- indicates if the parameter is required.methods
- HTTP methods the parameter is used by.Copyright © 2018 Apache Software Foundation. All rights reserved.