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

io.searchbox.indices.template.GetTemplate Maven / Gradle / Ivy

There is a newer version: 6.3.1
Show newest version
package io.searchbox.indices.template;

/**
 * @author asierdelpozo
 * @author cihat keser
 */
public class GetTemplate extends TemplateAction {

    protected GetTemplate(Builder builder) {
        super(builder);
        setURI(buildURI());
    }

    @Override
    public String getRestMethodName() {
        return "GET";
    }

    public static class Builder extends TemplateAction.Builder {

        public Builder(String template) {
            super(template);
        }

        @Override
        public GetTemplate build() {
            return new GetTemplate(this);
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy