Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.graylog2.restroutes.generated.radio;
 
 
 public class InputsResource {
 
 
     public PathMethod stop(String inputId) {
        return new PathMethod("POST""/system/inputs/"+inputId+"/stop");
    }
    public PathMethod list() {
        return new PathMethod("GET""/system/inputs");
    }
    public PathMethod info(String inputType) {
        return new PathMethod("GET""/system/inputs/types/"+inputType+"");
    }
    public PathMethod types() {
        return new PathMethod("GET""/system/inputs/types");
    }
    public PathMethod launch() {
        return new PathMethod("POST""/system/inputs");
    }
    public PathMethod single(String inputId) {
        return new PathMethod("GET""/system/inputs/"+inputId+"");
    }
    public PathMethod terminate(String inputId) {
        return new PathMethod("DELETE""/system/inputs/"+inputId+"");
    }
    public PathMethod launchExisting(String inputId) {
        return new PathMethod("POST""/system/inputs/"+inputId+"/launch");
    }
    public PathMethod restart(String inputId) {
        return new PathMethod("POST""/system/inputs/"+inputId+"/restart");
    }
New to GrepCode? Check out our FAQ X