org.apache.oozie.servlet
Class JsonRestServlet.ResourceInfo

java.lang.Object
  extended by org.apache.oozie.servlet.JsonRestServlet.ResourceInfo
Enclosing class:
JsonRestServlet

public static class JsonRestServlet.ResourceInfo
extends Object

This bean defines a REST resource.


Constructor Summary
JsonRestServlet.ResourceInfo(String name, List<String> methods, List<JsonRestServlet.ParameterInfo> parameters)
          Creates a ResourceInfo with a REST resource definition.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonRestServlet.ResourceInfo

public JsonRestServlet.ResourceInfo(String name,
                                    List<String> methods,
                                    List<JsonRestServlet.ParameterInfo> parameters)
Creates a ResourceInfo with a REST resource definition.

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 © 2013 Apache Software Foundation. All Rights Reserved.