File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
core/src/main/java/com/linecorp/armeria/common/logging Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 32
32
/**
33
33
* A skeletal builder implementation for {@link HeadersSanitizer}.
34
34
*/
35
- public abstract class AbstractHeadersSanitizerBuilder <T > {
35
+ abstract class AbstractHeadersSanitizerBuilder <T > {
36
36
37
37
// Referenced from:
38
38
// - https://docs.rs/tower-http/latest/tower_http/sensitive_headers/index.html
@@ -47,8 +47,6 @@ public abstract class AbstractHeadersSanitizerBuilder<T> {
47
47
48
48
private HeaderMaskingFunction maskingFunction = HeaderMaskingFunction .of ();
49
49
50
- AbstractHeadersSanitizerBuilder () {}
51
-
52
50
/**
53
51
* Adds the headers to mask before logging.
54
52
*/
@@ -83,7 +81,7 @@ final Set<AsciiString> sensitiveHeaders() {
83
81
* <pre>{@code
84
82
* builder.maskingFunction((name, value) -> {
85
83
* if (name.equals(HttpHeaderNames.AUTHORIZATION)) {
86
- * return "****";
84
+ * return "****";
87
85
* } else if (name.equals(HttpHeaderNames.COOKIE)) {
88
86
* return name.substring(0, 4) + "****";
89
87
* } else {
You can’t perform that action at this time.
0 commit comments