File tree Expand file tree Collapse file tree 10 files changed +26
-19
lines changed
inject-generator/src/main/java/io/avaje/inject/generator
io/helidon/webserver/http Expand file tree Collapse file tree 10 files changed +26
-19
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ final class RequestScope {
1313 private static final String HELIDON_REQ = "io.helidon.webserver.ServerRequest" ;
1414 private static final String HELIDON_RES = "io.helidon.webserver.ServerResponse" ;
1515
16- private static final String NIMA_REQ = "io.helidon.nima. webserver.http.ServerRequest" ;
17- private static final String NIMA_RES = "io.helidon.nima. webserver.http.ServerResponse" ;
16+ private static final String NIMA_REQ = "io.helidon.webserver.http.ServerRequest" ;
17+ private static final String NIMA_RES = "io.helidon.webserver.http.ServerResponse" ;
1818 private static final String HELIDON_REACTIVE_REQ = "io.helidon.reactive.webserver.ServerRequest" ;
1919 private static final String HELIDON_REACTIVE_RES = "io.helidon.reactive.webserver.ServerResponse" ;
2020
Original file line number Diff line number Diff line change 9595 <scope >test</scope >
9696 </dependency >
9797
98- <dependency >
99- <groupId >io.helidon.webserver</groupId >
100- <artifactId >helidon-webserver</artifactId >
101- <version >2.5.0</version >
102- <scope >test</scope >
103- </dependency >
104-
10598 <dependency >
10699 <groupId >org.projectlombok</groupId >
107100 <artifactId >lombok</artifactId >
Original file line number Diff line number Diff line change 1+ package io .helidon .webserver .http ;
2+
3+ /**
4+ * Placeholder for Helidon 4.x ServerRequest (without requiring Java 21).
5+ */
6+ public class ServerRequest {
7+ }
Original file line number Diff line number Diff line change 1+ package io .helidon .webserver .http ;
2+
3+ /**
4+ * Placeholder for Helidon 4.x ServerResponse (without requiring Java 21).
5+ */
6+ public class ServerResponse {
7+ }
Original file line number Diff line number Diff line change 11package org .example .request ;
22
33import io .avaje .http .api .Controller ;
4- import io .helidon .webserver .ServerRequest ;
5- import io .helidon .webserver .ServerResponse ;
4+ import io .helidon .webserver .http . ServerRequest ;
5+ import io .helidon .webserver .http . ServerResponse ;
66
77/**
88 * Controller with request scoped dependencies (request and response).
Original file line number Diff line number Diff line change 11package org .example .request ;
22
33import io .avaje .http .api .Controller ;
4- import io .helidon .webserver .ServerRequest ;
4+ import io .helidon .webserver .http . ServerRequest ;
55
66/**
77 * Controller with request scoped dependencies (request and response).
Original file line number Diff line number Diff line change 11package org .example .request ;
22
33import io .avaje .http .api .Controller ;
4- import io .helidon .webserver .ServerResponse ;
4+ import io .helidon .webserver .http . ServerResponse ;
55
66/**
77 * Controller with request scoped dependencies (request and response).
Original file line number Diff line number Diff line change 11package org .example .request ;
22
33import io .avaje .inject .spi .BeanFactory2 ;
4- import io .helidon .webserver .ServerRequest ;
5- import io .helidon .webserver .ServerResponse ;
4+ import io .helidon .webserver .http . ServerRequest ;
5+ import io .helidon .webserver .http . ServerResponse ;
66
77import jakarta .inject .Singleton ;
88
Original file line number Diff line number Diff line change 22
33
44import io .avaje .inject .xtra .ApplicationScope ;
5- import io .helidon .webserver .ServerRequest ;
6- import io .helidon .webserver .ServerResponse ;
5+ import io .helidon .webserver .http . ServerRequest ;
6+ import io .helidon .webserver .http . ServerResponse ;
77import org .junit .jupiter .api .Test ;
88import org .mockito .Mockito ;
99
Original file line number Diff line number Diff line change 11package org .example .request ;
22
33import io .avaje .http .api .Controller ;
4- import io .helidon .webserver .ServerRequest ;
5- import io .helidon .webserver .ServerResponse ;
4+ import io .helidon .webserver .http . ServerRequest ;
5+ import io .helidon .webserver .http . ServerResponse ;
66import org .example .generic .MyObj ;
77import org .example .generic .ReadService ;
88
You can’t perform that action at this time.
0 commit comments