Skip to content

Commit

Permalink
1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed May 26, 2022
1 parent e06cca7 commit 5cd4d26
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
40 changes: 20 additions & 20 deletions __test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,20 +195,20 @@
<!-- <artifactId>solon.boot.socketd.rsocket</artifactId>-->
<!-- </dependency>-->

<!-- <dependency>-->
<!-- <groupId>org.noear</groupId>-->
<!-- <artifactId>solon.boot.socketd.jdksocket</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon.boot.socketd.jdksocket</artifactId>
</dependency>

<!-- <dependency>-->
<!-- <groupId>org.noear</groupId>-->
<!-- <artifactId>solon.boot.socketd.netty</artifactId>-->
<!-- </dependency>-->

<dependency>
<groupId>org.noear</groupId>
<artifactId>solon.boot.socketd.smartsocket</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.noear</groupId>-->
<!-- <artifactId>solon.boot.socketd.smartsocket</artifactId>-->
<!-- </dependency>-->


<!-- <dependency>-->
Expand All @@ -217,22 +217,22 @@
<!-- </dependency>-->


<dependency>
<groupId>org.noear</groupId>
<artifactId>solon.boot.smarthttp</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.noear</groupId>-->
<!-- <artifactId>solon.boot.smarthttp</artifactId>-->
<!-- </dependency>-->



<!-- <dependency>-->
<!-- <groupId>org.noear</groupId>-->
<!-- <artifactId>solon.boot.undertow</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon.boot.undertow</artifactId>
</dependency>

<!-- <dependency>-->
<!-- <groupId>org.noear</groupId>-->
<!-- <artifactId>solon.boot.undertow.add.jsp</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon.boot.undertow.add.jsp</artifactId>
</dependency>



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @author by: Yukai
* @since : 2019/3/28 15:49
*/
class PluginUndertow extends PluginUndertowBase implements ServerLifecycle {
class UndertowServer extends UndertowServerBase implements ServerLifecycle {
protected Undertow _server;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author by: Yukai
* @since: 2019/3/28 15:50
*/
class PluginUndertowJsp extends PluginUndertow {
class UndertowServerAddJsp extends UndertowServer {

@Override
protected HttpHandler buildHandler() throws Exception{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.net.MalformedURLException;
import java.net.URL;

abstract class PluginUndertowBase {
abstract class UndertowServerBase {
protected DeploymentInfo initDeploymentInfo() {
MultipartConfigElement configElement = new MultipartConfigElement(System.getProperty("java.io.tmpdir"));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ private void start0(SolonApp app) throws Throwable{
Class<?> jspClz = Utils.loadClass("io.undertow.jsp.JspServletBuilder");

if (jspClz == null) {
_server = new PluginUndertow();
_server = new UndertowServer();
} else {
_server = new PluginUndertowJsp();
_server = new UndertowServerAddJsp();
}

_server.start(_host, _port);
Expand Down

0 comments on commit 5cd4d26

Please sign in to comment.