
io.searchbox.action.GenericResultAbstractAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jest-common Show documentation
Show all versions of jest-common Show documentation
ElasticSearch Java REST client - shared library package
package io.searchbox.action;
import com.google.gson.Gson;
import io.searchbox.client.JestResult;
/**
* @author cihat keser
*/
public abstract class GenericResultAbstractAction extends AbstractAction {
public GenericResultAbstractAction() {
}
public GenericResultAbstractAction(Builder builder) {
super(builder);
}
@Override
public JestResult createNewElasticSearchResult(String responseBody, int statusCode, String reasonPhrase, Gson gson) {
return createNewElasticSearchResult(new JestResult(gson), responseBody, statusCode, reasonPhrase, gson);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy