Skip to content

Commit

Permalink
Moved undertow to a separate repository and removed HTTPServer's empt…
Browse files Browse the repository at this point in the history
…y constructor
  • Loading branch information
JanHolger committed Sep 3, 2023
1 parent 684a331 commit 1c786d0
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 280 deletions.
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@
<artifactId>junit-jupiter-api</artifactId>
<version>5.10.0</version>
</dependency>
<dependency>
<groupId>io.undertow</groupId>
<artifactId>undertow-core</artifactId>
<version>2.3.8.Final</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
Expand Down
6 changes: 1 addition & 5 deletions src/main/java/org/javawebstack/httpserver/HTTPServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.javawebstack.abstractdata.AbstractMapper;
import org.javawebstack.abstractdata.NamingPolicy;
import org.javawebstack.httpserver.adapter.IHTTPSocketServer;
import org.javawebstack.httpserver.adapter.undertow.UndertowHTTPSocketServer;
import org.javawebstack.httpserver.handler.*;
import org.javawebstack.httpserver.router.DefaultRouteAutoInjector;
import org.javawebstack.httpserver.router.Route;
Expand Down Expand Up @@ -45,10 +44,6 @@ public class HTTPServer implements RouteParamTransformerProvider {
private Function<Class<?>, Object> controllerInitiator = this::defaultControllerInitiator;
private boolean formMethods = true;

public HTTPServer() {
this(new UndertowHTTPSocketServer());
}

public HTTPServer(IHTTPSocketServer server) {
this.server = server;
routeParamTransformers.add(DefaultRouteParamTransformer.INSTANCE);
Expand Down Expand Up @@ -424,4 +419,5 @@ public HTTPServer disableFormMethods() {
formMethods = false;
return this;
}

}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 1c786d0

Please sign in to comment.