Skip to content

Commit 531aef9

Browse files
authored
Merge pull request #46944 from gsmet/add-doc-to-HeaderConfig
Add some additional doc to HeaderConfig#methods()
2 parents d3d1131 + 5a2291e commit 531aef9

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)