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

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");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy