org.graylog2.restroutes.generated.CollectorResource Maven / Gradle / Ivy
The newest version!
package org.graylog2.restroutes.generated;
import org.graylog2.restroutes.PathMethod;
public class CollectorResource {
public PathMethod get(String collectorId) {
return new PathMethod("GET", "/system/collectors/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(collectorId)+"");
}
public PathMethod register(String collectorId) {
return new PathMethod("PUT", "/system/collectors/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(collectorId)+"");
}
public PathMethod list() {
return new PathMethod("GET", "/system/collectors");
}
}