Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.graylog2.restroutes.generated;
 
 
 public class BlacklistSourceResource {
 
 
     public PathMethod get(String filterId) {
        return new PathMethod("GET""/filters/blacklist/"+filterId+"");
    }
    public PathMethod delete(String filterId) {
        return new PathMethod("DELETE""/filters/blacklist/"+filterId+"");
    }
    public PathMethod create() {
        return new PathMethod("POST""/filters/blacklist");
    }
    public PathMethod update(String filterId) {
        return new PathMethod("PUT""/filters/blacklist/"+filterId+"");
    }
    public PathMethod getAll() {
        return new PathMethod("GET""/filters/blacklist");
    }
New to GrepCode? Check out our FAQ X