public static class JsonRestServlet.ResourceInfo extends Object
Constructor and Description |
---|
ResourceInfo(String name,
List<String> methods,
List<JsonRestServlet.ParameterInfo> parameters)
Creates a ResourceInfo with a REST resource definition.
|
public 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 © 2018 Apache Software Foundation. All rights reserved.