All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.graylog2.restroutes.generated.ExtractorsResource Maven / Gradle / Ivy

The newest version!

package org.graylog2.restroutes.generated;

import org.graylog2.restroutes.PathMethod;

public class ExtractorsResource {


    public PathMethod terminate(String inputId, String extractorId) {
        return new PathMethod("DELETE", "/system/inputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(inputId)+"/extractors/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(extractorId)+"");
    }

    public PathMethod update(String inputId, String extractorId) {
        return new PathMethod("PUT", "/system/inputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(inputId)+"/extractors/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(extractorId)+"");
    }

    public PathMethod create(String inputId) {
        return new PathMethod("POST", "/system/inputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(inputId)+"/extractors");
    }

    public PathMethod list(String inputId) {
        return new PathMethod("GET", "/system/inputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(inputId)+"/extractors");
    }

    public PathMethod order(String inputId) {
        return new PathMethod("POST", "/system/inputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(inputId)+"/extractors/order");
    }

    public PathMethod single(String inputId, String extractorId) {
        return new PathMethod("GET", "/system/inputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(inputId)+"/extractors/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(extractorId)+"");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy