
org.graylog2.restroutes.generated.StreamResource Maven / Gradle / Ivy
package org.graylog2.restroutes.generated;
import org.graylog2.restroutes.PathMethod;
public class StreamResource {
public PathMethod getEnabled() {
return new PathMethod("GET", "/streams/enabled");
}
public PathMethod oneStreamThroughput(String streamId) {
return new PathMethod("GET", "/streams/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(streamId)+"/throughput");
}
public PathMethod cloneStream(String streamId) {
return new PathMethod("POST", "/streams/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(streamId)+"/clone");
}
public PathMethod streamThroughput() {
return new PathMethod("GET", "/streams/throughput");
}
public PathMethod pause(String streamId) {
return new PathMethod("POST", "/streams/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(streamId)+"/pause");
}
public PathMethod testMatch(String streamId) {
return new PathMethod("POST", "/streams/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(streamId)+"/testMatch");
}
public PathMethod get() {
return new PathMethod("GET", "/streams");
}
public PathMethod get(String streamId) {
return new PathMethod("GET", "/streams/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(streamId)+"");
}
public PathMethod update(String streamId) {
return new PathMethod("PUT", "/streams/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(streamId)+"");
}
public PathMethod delete(String streamId) {
return new PathMethod("DELETE", "/streams/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(streamId)+"");
}
public PathMethod create() {
return new PathMethod("POST", "/streams");
}
public PathMethod resume(String streamId) {
return new PathMethod("POST", "/streams/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(streamId)+"/resume");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy