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 {
13
13
private static final String HELIDON_REQ = "io.helidon.webserver.ServerRequest" ;
14
14
private static final String HELIDON_RES = "io.helidon.webserver.ServerResponse" ;
15
15
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" ;
18
18
private static final String HELIDON_REACTIVE_REQ = "io.helidon.reactive.webserver.ServerRequest" ;
19
19
private static final String HELIDON_REACTIVE_RES = "io.helidon.reactive.webserver.ServerResponse" ;
20
20
Original file line number Diff line number Diff line change 95
95
<scope >test</scope >
96
96
</dependency >
97
97
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
-
105
98
<dependency >
106
99
<groupId >org.projectlombok</groupId >
107
100
<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 1
1
package org .example .request ;
2
2
3
3
import 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 ;
6
6
7
7
/**
8
8
* Controller with request scoped dependencies (request and response).
Original file line number Diff line number Diff line change 1
1
package org .example .request ;
2
2
3
3
import io .avaje .http .api .Controller ;
4
- import io .helidon .webserver .ServerRequest ;
4
+ import io .helidon .webserver .http . ServerRequest ;
5
5
6
6
/**
7
7
* Controller with request scoped dependencies (request and response).
Original file line number Diff line number Diff line change 1
1
package org .example .request ;
2
2
3
3
import io .avaje .http .api .Controller ;
4
- import io .helidon .webserver .ServerResponse ;
4
+ import io .helidon .webserver .http . ServerResponse ;
5
5
6
6
/**
7
7
* Controller with request scoped dependencies (request and response).
Original file line number Diff line number Diff line change 1
1
package org .example .request ;
2
2
3
3
import 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 ;
6
6
7
7
import jakarta .inject .Singleton ;
8
8
Original file line number Diff line number Diff line change 2
2
3
3
4
4
import 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 ;
7
7
import org .junit .jupiter .api .Test ;
8
8
import org .mockito .Mockito ;
9
9
Original file line number Diff line number Diff line change 1
1
package org .example .request ;
2
2
3
3
import 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 ;
6
6
import org .example .generic .MyObj ;
7
7
import org .example .generic .ReadService ;
8
8
You can’t perform that action at this time.
0 commit comments