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 Classes
    Modifier and Type
    Class
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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

    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 String requestToString(org.elasticsearch.rest.RestRequest restRequest)