public class Search extends AbstractAction<SearchResult>
Modifier and Type | Class and Description |
---|---|
static class |
Search.Builder |
Modifier | Constructor and Description |
---|---|
protected |
Search(Search.Builder builder) |
Modifier and Type | Method and Description |
---|---|
protected String |
buildURI() |
SearchResult |
createNewElasticSearchResult(String responseBody,
int statusCode,
String reasonPhrase,
com.google.gson.Gson gson) |
boolean |
equals(Object obj) |
String |
getData(com.google.gson.Gson gson) |
String |
getIndex() |
String |
getPathToResult() |
String |
getRestMethodName() |
String |
getType() |
int |
hashCode() |
buildQueryString, createNewElasticSearchResult, getHeader, getHeaders, getIdFromSource, getParameter, getURI, isHttpSuccessful, parseResponseBody, setURI, toString
protected Search(Search.Builder builder)
public SearchResult createNewElasticSearchResult(String responseBody, int statusCode, String reasonPhrase, com.google.gson.Gson gson)
public String getIndex()
public String getType()
protected String buildURI()
buildURI
in class AbstractAction<SearchResult>
public String getPathToResult()
getPathToResult
in interface Action<SearchResult>
getPathToResult
in class AbstractAction<SearchResult>
public String getRestMethodName()
getRestMethodName
in interface Action<SearchResult>
getRestMethodName
in class AbstractAction<SearchResult>
public String getData(com.google.gson.Gson gson)
getData
in interface Action<SearchResult>
getData
in class AbstractAction<SearchResult>
public int hashCode()
hashCode
in class AbstractAction<SearchResult>
public boolean equals(Object obj)
equals
in class AbstractAction<SearchResult>
Copyright © 2015. All rights reserved.