org.apache.oozie.servlet
Class JsonRestServlet.ParameterInfo
java.lang.Object
org.apache.oozie.servlet.JsonRestServlet.ParameterInfo
- Enclosing class:
- JsonRestServlet
public static class JsonRestServlet.ParameterInfo
- extends Object
This bean defines a query string parameter.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonRestServlet.ParameterInfo
public JsonRestServlet.ParameterInfo(String name,
Class type,
boolean required,
List<String> methods)
- Creates a ParameterInfo with querystring parameter definition.
- Parameters:
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 © 2013 Apache Software Foundation. All Rights Reserved.