Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.graylog2.restroutes.generated;
 
 
 public class StreamOutputResource {
 
 
     public PathMethod add(String streamid) {
        return new PathMethod("POST""/streams/"+streamid+"/outputs");
    }
    public PathMethod remove(String streamidString outputId) {
        return new PathMethod("DELETE""/streams/"+streamid+"/outputs/"+outputId+"");
    }
    public PathMethod get(String streamid) {
        return new PathMethod("GET""/streams/"+streamid+"/outputs");
    }
    public PathMethod get(String streamidString outputId) {
        return new PathMethod("GET""/streams/"+streamid+"/outputs/"+outputId+"");
    }
New to GrepCode? Check out our FAQ X