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

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

Introduction

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

Prototype

Map<String, Object> getAttributes();

Source Link

Document

Returns a Map of attributes associated with the operation.

Usage

From source file:com.ethlo.geodata.restdocs.AbstractJacksonFieldSnippet.java

protected HandlerMethod getHandlerMethod(Operation operation) {
    final String key = HandlerMethod.class.getName();
    return (HandlerMethod) operation.getAttributes().get(key);
}