package io.searchbox.action; import com.google.gson.Gson; import io.searchbox.client.JestResult; /** * @author cihat keser */ public abstract class GenericResultAbstractAction extends AbstractAction<JestResult> { 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); } }