Package org.elasticsearch.test.rest
Class FakeRestRequest
java.lang.Object
org.elasticsearch.rest.RestRequest
org.elasticsearch.test.rest.FakeRestRequest
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent.Params
public class FakeRestRequest
extends org.elasticsearch.rest.RestRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
Nested classes/interfaces inherited from class org.elasticsearch.rest.RestRequest
org.elasticsearch.rest.RestRequest.BadParameterException, org.elasticsearch.rest.RestRequest.MediaTypeHeaderException, org.elasticsearch.rest.RestRequest.Method
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
requestToString
(org.elasticsearch.rest.RestRequest restRequest) Methods inherited from class org.elasticsearch.rest.RestRequest
applyContentParser, content, contentLength, contentOrSourceParam, contentOrSourceParamParser, contentParser, getAllHeaderValues, getHeaders, getHttpChannel, getHttpRequest, getParsedAccept, getParsedContentType, getRequestId, getRestApiVersion, getXContentRegistry, getXContentType, hasContent, hasContentOrSourceParam, hasParam, header, isContentConsumed, method, param, param, paramAsBoolean, paramAsBoolean, paramAsDouble, paramAsFloat, paramAsInt, paramAsLong, paramAsSize, paramAsStringArray, paramAsStringArrayOrEmptyIfAll, paramAsTime, params, parseContentType, path, rawPath, request, requestWithoutParameters, requiredContent, uri, withContentOrSourceParamParserOrNull
-
Constructor Details
-
FakeRestRequest
public FakeRestRequest()
-
-
Method Details
-
requestToString
-