
org.graylog2.restroutes.generated.CollectorResource Maven / Gradle / Ivy
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");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy