- deprecated
Logs a deprecated message to the deprecation log, as well as to the local
ThreadContext.
- <init>
Creates a new deprecation logger based on the parent logger. Automatically
prefixes the logger name
- deprecatedAndMaybeLog
Adds a formatted warning message as a response header on the thread context, and
logs a deprecation
- removeThreadContext
Remove the ThreadContext used to add deprecation headers to network responses.
This is expected to
- setThreadContext
Set the ThreadContext used to add deprecation headers to network responses. This
is expected to only
- assertWarningValue
Assert that the specified string has the warning value equal to the provided
warning value.
- escapeAndEncode
Escape and encode a string as a valid RFC 7230 quoted-string.
- extractWarningValueFromWarningHeader
Extracts the warning value from the value of a warning header that is formatted
according to RFC 723
- formatWarning
Format a warning string in the proper warning format by prepending a warn code,
warn agent, wrapping
- encode
Encode a string containing characters outside of the legal characters for an RFC
7230 quoted-string.
- escapeBackslashesAndQuotes
Escape backslashes and quotes in the specified string.
- escape
Escape backslashes and quotes in the specified string.