Skip to content

Commit 5a2291e

Browse files
committed
Add some additional doc to HeaderConfig#methods()
Fixes #46897
1 parent d3d1131 commit 5a2291e

File tree

1 file changed

+3
-1
lines changed
  • extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime

1 file changed

+3
-1
lines changed

extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/HeaderConfig.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ public interface HeaderConfig {
2121
String value();
2222

2323
/**
24-
* The HTTP methods for this header configuration
24+
* The HTTP methods for this header configuration.
25+
* <p>
26+
* If no HTTP methods are specified, the header will be always added.
2527
*/
2628
Optional<List<String>> methods();
2729
}

0 commit comments

Comments
 (0)