Class FakeRestRequest

java.lang.Object
org.elasticsearch.rest.RestRequest
org.elasticsearch.test.rest.FakeRestRequest
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent.Params

public class FakeRestRequest
extends org.elasticsearch.rest.RestRequest
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  FakeRestRequest.Builder  

    Nested classes/interfaces inherited from class org.elasticsearch.rest.RestRequest

    org.elasticsearch.rest.RestRequest.BadParameterException, org.elasticsearch.rest.RestRequest.ContentTypeHeaderException, org.elasticsearch.rest.RestRequest.Method
  • Constructor Summary

    Constructors
    Constructor Description
    FakeRestRequest()  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.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, getRequestId, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FakeRestRequest

      public FakeRestRequest()
  • Method Details

    • requestToString

      public static java.lang.String requestToString​(org.elasticsearch.rest.RestRequest restRequest)