Example usage for org.springframework.web.servlet.function ServerRequest attributes

List of usage examples for org.springframework.web.servlet.function ServerRequest attributes

Introduction

In this page you can find the example usage for org.springframework.web.servlet.function ServerRequest attributes.

Prototype

Map<String, Object> attributes();

Source Link

Document

Get a mutable map of request attributes.

Usage

From source file:org.springframework.web.servlet.function.RequestPredicates.java

private static void restoreAttributes(ServerRequest request, Map<String, Object> attributes) {
    request.attributes().clear();
    request.attributes().putAll(attributes);
}