File tree 6 files changed +10
-12
lines changed
http-generator-jex/src/main/java/io/avaje/http/generator/jex
test-jex/src/main/java/org/example/web
6 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 13
13
class ControllerWriter extends BaseControllerWriter {
14
14
15
15
private static final String AT_GENERATED = "@Generated(\" avaje-jex-generator\" )" ;
16
- private static final String API_CONTEXT = "io.avaje.jex.Context" ;
16
+ private static final String API_CONTEXT = "io.avaje.jex.http. Context" ;
17
17
private static final String API_ROUTING = "io.avaje.jex.Routing" ;
18
18
private final boolean useJsonB ;
19
19
private final Map <String , UType > jsonTypes ;
@@ -27,7 +27,7 @@ class ControllerWriter extends BaseControllerWriter {
27
27
if (reader .methods ().stream ()
28
28
.map (MethodReader ::webMethod )
29
29
.anyMatch (w -> CoreWebMethod .FILTER == w )) {
30
- reader .addImportType ("io.avaje.jex.HttpFilter.FilterChain" );
30
+ reader .addImportType ("io.avaje.jex.http. HttpFilter.FilterChain" );
31
31
}
32
32
if (reader .methods ().stream ()
33
33
.map (MethodReader ::hxRequest )
Original file line number Diff line number Diff line change 12
12
13
13
class JexAdapter implements PlatformAdapter {
14
14
15
- static final String JEX_CONTEXT = "io.avaje.jex.Context" ;
15
+ static final String JEX_CONTEXT = "io.avaje.jex.http. Context" ;
16
16
17
17
@ Override
18
18
public boolean isContextType (String rawType ) {
Original file line number Diff line number Diff line change 15
15
<junit .version>5.11.4</junit .version>
16
16
<assertj .version>3.27.3</assertj .version>
17
17
<jackson .version>2.18.2</jackson .version>
18
- <jex .version>3.0-RC16 </jex .version>
18
+ <jex .version>3.0-RC18 </jex .version>
19
19
<avaje-inject .version>11.2</avaje-inject .version>
20
20
<nima .version>4.1.6</nima .version>
21
21
<javalin .version>6.4.0</javalin .version>
Original file line number Diff line number Diff line change 1
1
package org .example .web ;
2
2
3
+ import java .math .BigInteger ;
4
+
3
5
import io .avaje .http .api .Controller ;
4
6
import io .avaje .http .api .Default ;
5
7
import io .avaje .http .api .Get ;
6
8
import io .avaje .http .api .Path ;
7
9
import io .avaje .http .api .Produces ;
8
10
import io .avaje .http .api .Put ;
9
11
import io .avaje .http .api .Valid ;
10
- import io .avaje .jex .Context ;
11
-
12
- import java .math .BigInteger ;
12
+ import io .avaje .jex .http .Context ;
13
13
14
14
// @Roles(AppRoles.BASIC_USER)
15
15
@ Controller
Original file line number Diff line number Diff line change 13
13
import io .avaje .http .api .Post ;
14
14
import io .avaje .http .api .Produces ;
15
15
import io .avaje .http .api .QueryParam ;
16
- import io .avaje .jex .Context ;
17
- import io .avaje .jex .HttpFilter .FilterChain ;
16
+ import io .avaje .jex .http . Context ;
17
+ import io .avaje .jex .http . HttpFilter .FilterChain ;
18
18
19
19
@ Path ("test/" )
20
20
@ Controller
Original file line number Diff line number Diff line change 6
6
import java .util .ArrayList ;
7
7
import java .util .List ;
8
8
import java .util .Optional ;
9
- import java .util .concurrent .CompletableFuture ;
10
- import java .util .concurrent .Executors ;
11
9
12
10
import org .example .web .AppRoles ;
13
11
import org .example .web .myapp .other .Foo ;
25
23
import io .avaje .http .api .Produces ;
26
24
import io .avaje .http .api .QueryParam ;
27
25
import io .avaje .http .api .Valid ;
28
- import io .avaje .jex .Context ;
26
+ import io .avaje .jex .http . Context ;
29
27
import io .swagger .v3 .oas .annotations .Hidden ;
30
28
import jakarta .inject .Inject ;
31
29
You can’t perform that action at this time.
0 commit comments