public class Suggest extends AbstractAction<SuggestResult>
| Modifier and Type | Class and Description |
|---|---|
static class |
Suggest.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
Suggest(Suggest.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildURI() |
SuggestResult |
createNewElasticSearchResult(String json,
int statusCode,
String reasonPhrase,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
String |
getIndex() |
String |
getRestMethodName() |
String |
getType() |
buildQueryString, createNewElasticSearchResult, equals, getData, getHeader, getHeaders, getIdFromSource, getParameter, getPathToResult, getURI, hashCode, isHttpSuccessful, parseResponseBody, setURI, toStringprotected Suggest(Suggest.Builder builder)
public SuggestResult createNewElasticSearchResult(String json, int statusCode, String reasonPhrase, com.fasterxml.jackson.databind.ObjectMapper objectMapper) throws IOException
IOExceptionpublic String getRestMethodName()
getRestMethodName in interface Action<SuggestResult>getRestMethodName in class AbstractAction<SuggestResult>public String getIndex()
public String getType()
protected String buildURI()
buildURI in class AbstractAction<SuggestResult>Copyright © 2018. All rights reserved.