public Set<ResourceMethod> getMethods(final String resource) {
        return Collections.unmodifiableSet(resources.get(resource));
    }
public Set < ResourceMethod > getMethods ( final String resource ) { return Collections . unmodifiableSet ( resources . get ( resource ) ) ; }
Returns the resource methods for a given resource.

@param resource The resource path
@return The methods