Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.graylog2.restroutes.generated;
 
 
 public class SessionsResource {
 
 
     public PathMethod newSession() {
        return new PathMethod("POST""/system/sessions");
    }
    public PathMethod terminateSession(String sessionId) {
        return new PathMethod("DELETE""/system/sessions/"+sessionId+"");
    }
New to GrepCode? Check out our FAQ X