Skip to content

Commit bb31611

Browse files
committed
separate tests
1 parent 6e50bfd commit bb31611

File tree

9 files changed

+591
-499
lines changed

9 files changed

+591
-499
lines changed

avaje-jex-http3-flupke/src/main/java/io/avaje/jex/http3/flupke/core/FlupkeHttpContext.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
class FlupkeHttpContext extends HttpContext {
1515

16-
private final HttpSpiContextHandler jettyContextHandler;
16+
private final HttpSpiContextHandler handler;
1717
private final HttpServer server;
1818
private final Map<String, Object> attributes = new HashMap<>();
1919
private final List<Filter> filters = new ArrayList<>();
@@ -23,11 +23,11 @@ class FlupkeHttpContext extends HttpContext {
2323
protected FlupkeHttpContext(HttpServer server, HttpHandler handler) {
2424
httpHandler = handler;
2525
this.server = server;
26-
jettyContextHandler = new HttpSpiContextHandler(this, handler);
26+
this.handler = new HttpSpiContextHandler(this, handler);
2727
}
2828

2929
protected HttpSpiContextHandler flupkeHandler() {
30-
return jettyContextHandler;
30+
return handler;
3131
}
3232

3333
@Override
@@ -37,7 +37,7 @@ public HttpHandler getHandler() {
3737

3838
@Override
3939
public void setHandler(HttpHandler h) {
40-
jettyContextHandler.setHttpHandler(h);
40+
handler.setHttpHandler(h);
4141
}
4242

4343
@Override
@@ -62,7 +62,7 @@ public List<Filter> getFilters() {
6262

6363
@Override
6464
public Authenticator setAuthenticator(Authenticator auth) {
65-
Authenticator previous = authenticator;
65+
var previous = authenticator;
6666
authenticator = auth;
6767
return previous;
6868
}

0 commit comments

Comments
 (0)