File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 <groupId >io.helidon.nima.http2</groupId >
3737 <artifactId >helidon-nima-http2</artifactId >
3838 </dependency >
39+ <dependency >
40+ <groupId >io.helidon.common.features</groupId >
41+ <artifactId >helidon-common-features-api</artifactId >
42+ <scope >provided</scope >
43+ <optional >true</optional >
44+ </dependency >
3945 <dependency >
4046 <groupId >org.junit.jupiter</groupId >
4147 <artifactId >junit-jupiter-api</artifactId >
4753 <scope >test</scope >
4854 </dependency >
4955 </dependencies >
56+
57+ <build >
58+ <plugins >
59+ <plugin >
60+ <groupId >org.apache.maven.plugins</groupId >
61+ <artifactId >maven-compiler-plugin</artifactId >
62+ <configuration >
63+ <annotationProcessorPaths >
64+ <path >
65+ <groupId >io.helidon.common.features</groupId >
66+ <artifactId >helidon-common-features-processor</artifactId >
67+ <version >${helidon.version} </version >
68+ </path >
69+ </annotationProcessorPaths >
70+ </configuration >
71+ </plugin >
72+ </plugins >
73+ </build >
5074</project >
5175
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17+ import io .helidon .common .features .api .Feature ;
18+ import io .helidon .common .features .api .HelidonFlavor ;
1719import io .helidon .nima .webserver .spi .ServerConnectionProvider ;
1820
1921/**
2022 * HTTP/2 WebServer.
2123 */
24+ @ Feature (value = "HTTP/2" ,
25+ description = "HTTP/2 WebServer" ,
26+ in = HelidonFlavor .NIMA , invalidIn = HelidonFlavor .SE ,
27+ path = {"WebServer" ,"HTTP/2" }
28+ )
2229module io .helidon .nima .http2 .webserver {
30+ requires static io .helidon .common .features .api ;
31+
2332 requires transitive io .helidon .common ;
2433 requires transitive io .helidon .common .uri ;
2534 requires transitive io .helidon .common .socket ;
3847 // to support upgrade requests for h2c
3948 provides io .helidon .nima .webserver .http1 .spi .Http1UpgradeProvider
4049 with io .helidon .nima .http2 .webserver .Http2UpgradeProvider ;
41- }
50+ }
You can’t perform that action at this time.
0 commit comments