public static class JsonRestServlet.ResourceInfo extends Object
| Constructor and Description |
|---|
JsonRestServlet.ResourceInfo(String name,
List<String> methods,
List<JsonRestServlet.ParameterInfo> parameters)
Creates a ResourceInfo with a REST resource definition.
|
public JsonRestServlet.ResourceInfo(String name, List<String> methods, List<JsonRestServlet.ParameterInfo> parameters)
name - name of the REST resource, it can be an fixed resource name, empty or a wildcard ('*').methods - HTTP methods supported by the resource.parameters - parameters supported by the resource.Copyright © 2015 Apache Software Foundation. All Rights Reserved.