Module org.elasticsearch.xcore
Class HttpResponse.HttpResponseBuilder
java.lang.Object
org.elasticsearch.xpack.core.security.HttpResponse.HttpResponseBuilder
- Enclosing class:
HttpResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withHttpStatus(int httpStatus) withResponseBody(String responseJson)
-
Constructor Details
-
HttpResponseBuilder
public HttpResponseBuilder()
-
-
Method Details
-
withHttpStatus
-
withResponseBody
public HttpResponse.HttpResponseBuilder withResponseBody(String responseJson) throws ElasticsearchParseException - Throws:
ElasticsearchParseException
-
build
-