code: public Set<ResourceMethod> getMethods(final String resource) {
          return Collections.unmodifiableSet(resources.get(resource));
      }
docs: Returns the resource methods for a given resource.
  
  @param resource The resource path
  @return The methods