DefaultRedactor

The default Redactor (no-op build).

In the runtime this redacts auth/cookie headers and token/key/secret/password/ auth-like URL, JSON, and form fields at capture time. Because the no-op build never captures any traffic, redaction is moot: every method returns its input unchanged. The type and members mirror the runtime so consumer code that names DefaultRedactor compiles identically.

Functions

Link copied to clipboard
open override fun redactBody(body: String, contentType: MediaType?): String

Returns body unchanged (no capture happens in the no-op build).

Link copied to clipboard
open override fun redactHeaderValue(name: String, value: String): String

Returns value unchanged (no capture happens in the no-op build).

Link copied to clipboard
open override fun redactUrl(url: String): String

Returns url unchanged (no capture happens in the no-op build).

Link copied to clipboard
Link copied to clipboard