Java org.springframework.core.codec Hints fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.core.codec Hints fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.core.codec Hints.

The text is from its open source code.

Field

StringLOG_PREFIX_HINT
Name of hint exposing a prefix to use for correlating log messages.

Method

Mapfrom(String hintName, Object value)
Create a map wit a single hint via Collections#singletonMap .
StringgetLogPrefix(@Nullable Map hints)
Obtain the hint #LOG_PREFIX_HINT , if present, or an empty String.
booleanisLoggingSuppressed(@Nullable Map hints)
Whether to suppress logging based on the hint #SUPPRESS_LOGGING_HINT .
Mapmerge(Map hints1, Map hints2)
Merge two maps of hints, creating and copying into a new map if both have values, or returning the non-empty map, or an empty map if both are empty.
Mapmerge(Map hints, String hintName, Object hintValue)
Merge a single hint into a map of hints, possibly creating and copying all hints into a new map, or otherwise if the map of hints is empty, creating a new single entry map.
Mapnone()
Return an empty map of hints via Collections#emptyMap() .