|
@@ -454,7 +454,7 @@ public class HttpSecurity {
|
|
return new HstsSpec();
|
|
return new HstsSpec();
|
|
}
|
|
}
|
|
|
|
|
|
- public HttpHeaderWriterWebFilter build() {
|
|
|
|
|
|
+ protected HttpHeaderWriterWebFilter build() {
|
|
HttpHeadersWriter writer = new CompositeHttpHeadersWriter(this.writers);
|
|
HttpHeadersWriter writer = new CompositeHttpHeadersWriter(this.writers);
|
|
return new HttpHeaderWriterWebFilter(writer);
|
|
return new HttpHeaderWriterWebFilter(writer);
|
|
}
|
|
}
|