org.graylog2.restroutes.generated.SessionsResource Maven / Gradle / Ivy
The newest version!
package org.graylog2.restroutes.generated;
import org.graylog2.restroutes.PathMethod;
public class SessionsResource {
public PathMethod terminateSession(String sessionId) {
return new PathMethod("DELETE", "/system/sessions/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(sessionId)+"");
}
public PathMethod newSession() {
return new PathMethod("POST", "/system/sessions");
}
}