org.graylog2.restroutes.generated.IndicesResource Maven / Gradle / Ivy
The newest version!
package org.graylog2.restroutes.generated;
import org.graylog2.restroutes.PathMethod;
public class IndicesResource {
public PathMethod reopened() {
return new PathMethod("GET", "/system/indexer/indices/reopened");
}
public PathMethod reopen(String index) {
return new PathMethod("POST", "/system/indexer/indices/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(index)+"/reopen");
}
public PathMethod delete(String index) {
return new PathMethod("DELETE", "/system/indexer/indices/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(index)+"");
}
public PathMethod close(String index) {
return new PathMethod("POST", "/system/indexer/indices/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(index)+"/close");
}
public PathMethod closed() {
return new PathMethod("GET", "/system/indexer/indices/closed");
}
public PathMethod all() {
return new PathMethod("GET", "/system/indexer/indices");
}
public PathMethod single(String index) {
return new PathMethod("GET", "/system/indexer/indices/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(index)+"");
}
}