BAEL-4100: Move HTTP/2 in Jetty to the new libraries-server-2 module (#9394)
This commit is contained in:
parent
d59d2e3793
commit
9d4a0b1f51
9
libraries-server-2/.gitignore
vendored
Normal file
9
libraries-server-2/.gitignore
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
*.class
|
||||||
|
|
||||||
|
# Folders #
|
||||||
|
/gensrc
|
||||||
|
/target
|
||||||
|
|
||||||
|
# Packaged files #
|
||||||
|
*.jar
|
||||||
|
/bin/
|
8
libraries-server-2/README.md
Normal file
8
libraries-server-2/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
## Server
|
||||||
|
|
||||||
|
This module contains articles about server libraries.
|
||||||
|
|
||||||
|
### Relevant Articles:
|
||||||
|
|
||||||
|
- [HTTP/2 in Jetty](https://www.baeldung.com/jetty-http-2)
|
||||||
|
- More articles: [[<-- prev]](../libraries-server)
|
77
libraries-server-2/pom.xml
Normal file
77
libraries-server-2/pom.xml
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<artifactId>libraries-server-2</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
<name>libraries-server-2</name>
|
||||||
|
<packaging>war</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.baeldung</groupId>
|
||||||
|
<artifactId>parent-modules</artifactId>
|
||||||
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>jetty-server</artifactId>
|
||||||
|
<version>${jetty.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>jetty-servlet</artifactId>
|
||||||
|
<version>${jetty.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>jetty-webapp</artifactId>
|
||||||
|
<version>${jetty.version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>jetty-maven-plugin</artifactId>
|
||||||
|
<version>${jetty.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<stopPort>8888</stopPort>
|
||||||
|
<stopKey>quit</stopKey>
|
||||||
|
<jvmArgs>
|
||||||
|
-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/${alpn.version}/alpn-boot-${alpn.version}.jar
|
||||||
|
</jvmArgs>
|
||||||
|
<jettyXml>${basedir}/src/main/config/jetty.xml</jettyXml>
|
||||||
|
<webApp>
|
||||||
|
<contextPath>/</contextPath>
|
||||||
|
</webApp>
|
||||||
|
</configuration>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jetty.http2</groupId>
|
||||||
|
<artifactId>http2-server</artifactId>
|
||||||
|
<version>${jetty.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>jetty-alpn-openjdk8-server</artifactId>
|
||||||
|
<version>${jetty.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.eclipse.jetty</groupId>
|
||||||
|
<artifactId>jetty-servlets</artifactId>
|
||||||
|
<version>${jetty.version}</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<jetty.version>9.4.27.v20200227</jetty.version>
|
||||||
|
<alpn.version>8.1.11.v20170118</alpn.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
</project>
|
13
libraries-server-2/src/main/resources/logback.xml
Normal file
13
libraries-server-2/src/main/resources/logback.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<configuration>
|
||||||
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
|
<encoder>
|
||||||
|
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
|
||||||
|
</pattern>
|
||||||
|
</encoder>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<root level="INFO">
|
||||||
|
<appender-ref ref="STDOUT" />
|
||||||
|
</root>
|
||||||
|
</configuration>
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@ -13,4 +13,4 @@ This module contains articles about server libraries.
|
|||||||
- [MQTT Client in Java](https://www.baeldung.com/java-mqtt-client)
|
- [MQTT Client in Java](https://www.baeldung.com/java-mqtt-client)
|
||||||
- [Guide to XMPP Smack Client](https://www.baeldung.com/xmpp-smack-chat-client)
|
- [Guide to XMPP Smack Client](https://www.baeldung.com/xmpp-smack-chat-client)
|
||||||
- [A Guide to NanoHTTPD](https://www.baeldung.com/nanohttpd)
|
- [A Guide to NanoHTTPD](https://www.baeldung.com/nanohttpd)
|
||||||
- [HTTP/2 in Jetty](https://www.baeldung.com/jetty-http-2)
|
- More articles: [[more -->]](../libraries-server-2)
|
@ -5,7 +5,6 @@
|
|||||||
<artifactId>libraries-server</artifactId>
|
<artifactId>libraries-server</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<name>libraries-server</name>
|
<name>libraries-server</name>
|
||||||
<packaging>war</packaging>
|
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.baeldung</groupId>
|
<groupId>com.baeldung</groupId>
|
||||||
@ -107,50 +106,11 @@
|
|||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.eclipse.jetty</groupId>
|
|
||||||
<artifactId>jetty-maven-plugin</artifactId>
|
|
||||||
<version>${jetty.version}</version>
|
|
||||||
<configuration>
|
|
||||||
<stopPort>8888</stopPort>
|
|
||||||
<stopKey>quit</stopKey>
|
|
||||||
<jvmArgs>
|
|
||||||
-Xbootclasspath/p:${settings.localRepository}/org/mortbay/jetty/alpn/alpn-boot/${alpn.version}/alpn-boot-${alpn.version}.jar
|
|
||||||
</jvmArgs>
|
|
||||||
<jettyXml>${basedir}/src/main/config/jetty.xml</jettyXml>
|
|
||||||
<webApp>
|
|
||||||
<contextPath>/</contextPath>
|
|
||||||
</webApp>
|
|
||||||
</configuration>
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.eclipse.jetty.http2</groupId>
|
|
||||||
<artifactId>http2-server</artifactId>
|
|
||||||
<version>${jetty.version}</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.eclipse.jetty</groupId>
|
|
||||||
<artifactId>jetty-alpn-openjdk8-server</artifactId>
|
|
||||||
<version>${jetty.version}</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.eclipse.jetty</groupId>
|
|
||||||
<artifactId>jetty-servlets</artifactId>
|
|
||||||
<version>${jetty.version}</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<assertj.version>3.6.2</assertj.version>
|
<assertj.version>3.6.2</assertj.version>
|
||||||
<httpclient.version>4.5.3</httpclient.version>
|
<httpclient.version>4.5.3</httpclient.version>
|
||||||
<jetty.version>9.4.27.v20200227</jetty.version>
|
<jetty.version>9.4.27.v20200227</jetty.version>
|
||||||
<netty.version>4.1.20.Final</netty.version>
|
<netty.version>4.1.20.Final</netty.version>
|
||||||
<alpn.version>8.1.11.v20170118</alpn.version>
|
|
||||||
<tomcat.version>8.5.24</tomcat.version>
|
<tomcat.version>8.5.24</tomcat.version>
|
||||||
<smack.version>4.3.1</smack.version>
|
<smack.version>4.3.1</smack.version>
|
||||||
<eclipse.paho.client.mqttv3.version>1.2.0</eclipse.paho.client.mqttv3.version>
|
<eclipse.paho.client.mqttv3.version>1.2.0</eclipse.paho.client.mqttv3.version>
|
||||||
|
2
pom.xml
2
pom.xml
@ -513,6 +513,7 @@
|
|||||||
<module>libraries-rpc</module>
|
<module>libraries-rpc</module>
|
||||||
<module>libraries-security</module>
|
<module>libraries-security</module>
|
||||||
<module>libraries-server</module>
|
<module>libraries-server</module>
|
||||||
|
<module>libraries-server-2</module>
|
||||||
<module>libraries-testing</module>
|
<module>libraries-testing</module>
|
||||||
<module>linkrest</module>
|
<module>linkrest</module>
|
||||||
<module>logging-modules</module>
|
<module>logging-modules</module>
|
||||||
@ -1032,6 +1033,7 @@
|
|||||||
<module>libraries-primitive</module>
|
<module>libraries-primitive</module>
|
||||||
<module>libraries-security</module>
|
<module>libraries-security</module>
|
||||||
<module>libraries-server</module>
|
<module>libraries-server</module>
|
||||||
|
<module>libraries-server-2</module>
|
||||||
<module>libraries-testing</module>
|
<module>libraries-testing</module>
|
||||||
<module>linkrest</module>
|
<module>linkrest</module>
|
||||||
<module>logging-modules</module>
|
<module>logging-modules</module>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user