Example usage for org.springframework.restdocs.operation Operation getRequest

List of usage examples for org.springframework.restdocs.operation Operation getRequest

Introduction

In this page you can find the example usage for org.springframework.restdocs.operation Operation getRequest.

Prototype

OperationRequest getRequest();

Source Link

Document

Returns the request that was sent.

Usage

From source file:capital.scalable.restdocs.OperationAttributeHelper.java

public static String getRequestMethod(Operation operation) {
    return operation.getRequest().getMethod().name();
}