diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 00000000000..832e0be8915 --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,7 @@ +# This is used to configure the LGTM.com website's build of eclipse/jetty.project +# See: https://lgtm.com/projects/g/eclipse/jetty.project + +extraction: + java: + index: + java_version: "11" diff --git a/Jenkinsfile b/Jenkinsfile index 8099e058a0e..9ab200771d3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ pipeline { agent { node { label 'linux' } } steps { container('jetty-build') { - timeout( time: 240, unit: 'MINUTES' ) { + timeout( time: 120, unit: 'MINUTES' ) { mavenBuild( "jdk11", "clean install -Perrorprone", "maven3") // Collect up the jacoco execution results (only on main build) jacoco inclusionPattern: '**/org/eclipse/jetty/**/*.class', @@ -41,7 +41,7 @@ pipeline { agent { node { label 'linux' } } steps { container( 'jetty-build' ) { - timeout( time: 240, unit: 'MINUTES' ) { + timeout( time: 120, unit: 'MINUTES' ) { mavenBuild( "jdk15", "clean install", "maven3") recordIssues id: "jdk15", name: "Static Analysis jdk15", aggregatingResults: true, enabledForFailure: true, tools: [mavenConsole(), java(), checkStyle(), spotBugs(), pmdParser()] } @@ -99,7 +99,7 @@ def mavenBuild(jdk, cmdline, mvnName) { "MAVEN_OPTS=-Xms2g -Xmx4g -Djava.awt.headless=true"]) { configFileProvider( [configFile(fileId: 'oss-settings.xml', variable: 'GLOBAL_MVN_SETTINGS')]) { - sh "mvn --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -Pci -V -B -e -Djetty.testtracker.log=true $cmdline -Dunix.socket.tmp=/tmp/unixsocket" + sh "mvn --no-transfer-progress -s $GLOBAL_MVN_SETTINGS -Dmaven.repo.local=.repository -Pci -V -B -e -Djetty.testtracker.log=true $cmdline -Dunix.socket.tmp=/tmp/unixsocket" } } } diff --git a/VERSION.txt b/VERSION.txt index cd1dbf42d73..786c8f50a42 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -48,6 +48,25 @@ jetty-10.0.0.beta3 - 21 October 2020 + 5475 Update to spifly 1.3.2 and asm 9 + 5480 NPE from WebInfConfiguration.deconfigure during WebAppContext shutdown +jetty-9.4.36.v20210114 - 14 January 2021 + + 5310 Jetty Http2 client discards the response fames when there is GOAWAY and + sends RST_STREAM + + 5499 Improve temporary buffer usage for WebSocket PerMessageDeflate. + + 5633 Allow to configure HttpClient request authority + + 5689 Jetty ssl keystorePath doesn't work with absolute path + + 5755 Cannot configure maxDynamicTableSize on HTTP2Client + + 5783 Fix ConnectionStatistics.*Rate() methods + + 5785 Reduce log level for WebSocket connections closed by clients + + 5794 ServerConnector leaks closed sockets which can lead to file descriptor + exhaustion + + 5824 Build up of ConstraintMappings when stopping and starting WebAppContext + + 5830 Jetty-util contains wrong Import-Package + + 5844 --download flag to jetty-start causes NullPointerException + + 5845 Use UTF-8 encoding for client basic auth if requested + + 5855 HttpClient may not send queued requests + + 5870 jetty-maven-plugin fails to run ServletContainerInitializer on Windows + due to URI case comparison bug + jetty-9.4.35.v20201120 - 20 November 2020 + 4711 Reset trailers on recycled response + 5486 PropertyFileLoginModule retains PropertyUserStores diff --git a/apache-jsp/src/main/java/module-info.java b/apache-jsp/src/main/java/module-info.java index 501f7755277..a2d356b2989 100644 --- a/apache-jsp/src/main/java/module-info.java +++ b/apache-jsp/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JettyJasperInitializer.java b/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JettyJasperInitializer.java index 5e84e638235..b209c80b011 100644 --- a/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JettyJasperInitializer.java +++ b/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JettyJasperInitializer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JettyTldPreScanned.java b/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JettyTldPreScanned.java index b87f72b205f..95acbf07875 100644 --- a/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JettyTldPreScanned.java +++ b/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JettyTldPreScanned.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JuliLog.java b/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JuliLog.java index 8a6ecd98e54..436ced26e74 100644 --- a/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JuliLog.java +++ b/apache-jsp/src/main/java/org/eclipse/jetty/apache/jsp/JuliLog.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jsp/src/main/java/org/eclipse/jetty/jsp/JettyJspServlet.java b/apache-jsp/src/main/java/org/eclipse/jetty/jsp/JettyJspServlet.java index 165a7579927..4410b480a75 100644 --- a/apache-jsp/src/main/java/org/eclipse/jetty/jsp/JettyJspServlet.java +++ b/apache-jsp/src/main/java/org/eclipse/jetty/jsp/JettyJspServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJettyJspServlet.java b/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJettyJspServlet.java index 1f56b500bc4..827afda8425 100644 --- a/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJettyJspServlet.java +++ b/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJettyJspServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJettyTldPreScanned.java b/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJettyTldPreScanned.java index 0d88699475d..9f982f0f10f 100644 --- a/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJettyTldPreScanned.java +++ b/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJettyTldPreScanned.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJspFileNameToClass.java b/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJspFileNameToClass.java index f22cbc42b86..d7e68407c37 100644 --- a/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJspFileNameToClass.java +++ b/apache-jsp/src/test/java/org/eclipse/jetty/jsp/TestJspFileNameToClass.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspConfig.java b/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspConfig.java index 0443a6e5e70..d9beef86d34 100644 --- a/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspConfig.java +++ b/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspConfig.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspIncludeTest.java b/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspIncludeTest.java index bf72efdc4e4..13f9bafef26 100644 --- a/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspIncludeTest.java +++ b/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JspIncludeTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java b/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java index 4a10a7488ac..9b80a4ea3fe 100644 --- a/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java +++ b/apache-jstl/src/test/java/org/eclipse/jetty/jstl/JstlTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/build-resources/pom.xml b/build-resources/pom.xml index a62a91bb36f..9f0185152bc 100644 --- a/build-resources/pom.xml +++ b/build-resources/pom.xml @@ -6,6 +6,10 @@ Jetty :: Build Resources jar + + UTF-8 + + diff --git a/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/AbstractRestServlet.java b/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/AbstractRestServlet.java index b5fefcf6be7..099b7d8a480 100644 --- a/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/AbstractRestServlet.java +++ b/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/AbstractRestServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/AsyncRestServlet.java b/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/AsyncRestServlet.java index 1abce98a16f..221074bc304 100644 --- a/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/AsyncRestServlet.java +++ b/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/AsyncRestServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/SerialRestServlet.java b/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/SerialRestServlet.java index 47ddb3490d7..9af9739aece 100644 --- a/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/SerialRestServlet.java +++ b/demos/demo-async-rest/demo-async-rest-jar/src/main/java/org/eclipse/jetty/demos/SerialRestServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-async-rest/demo-async-rest-server/src/main/java/org/eclipse/jetty/demos/AsyncRestServer.java b/demos/demo-async-rest/demo-async-rest-server/src/main/java/org/eclipse/jetty/demos/AsyncRestServer.java index d06454fe7e7..50dac43fd85 100644 --- a/demos/demo-async-rest/demo-async-rest-server/src/main/java/org/eclipse/jetty/demos/AsyncRestServer.java +++ b/demos/demo-async-rest/demo-async-rest-server/src/main/java/org/eclipse/jetty/demos/AsyncRestServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/AddListServletRequestListener.java b/demos/demo-jetty-webapp/src/main/java/com/acme/AddListServletRequestListener.java index 783e275b96f..eecbe999d60 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/AddListServletRequestListener.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/AddListServletRequestListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/ChatServlet.java b/demos/demo-jetty-webapp/src/main/java/com/acme/ChatServlet.java index a52c62ceb36..2856ff8f87d 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/ChatServlet.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/ChatServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/CookieDump.java b/demos/demo-jetty-webapp/src/main/java/com/acme/CookieDump.java index 4e48babfe2a..3cd1fe56e49 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/CookieDump.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/CookieDump.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/DispatchServlet.java b/demos/demo-jetty-webapp/src/main/java/com/acme/DispatchServlet.java index 54b299ef8a0..69d543073f5 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/DispatchServlet.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/DispatchServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/Dump.java b/demos/demo-jetty-webapp/src/main/java/com/acme/Dump.java index dddd36fb0b1..07cb94ba26e 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/Dump.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/Dump.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/HelloWorld.java b/demos/demo-jetty-webapp/src/main/java/com/acme/HelloWorld.java index 72c9b6cabd9..0364436deac 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/HelloWorld.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/HelloWorld.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/JavaxWebSocketChat.java b/demos/demo-jetty-webapp/src/main/java/com/acme/JavaxWebSocketChat.java index e79b2343ce4..4a9678199d2 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/JavaxWebSocketChat.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/JavaxWebSocketChat.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/LoginServlet.java b/demos/demo-jetty-webapp/src/main/java/com/acme/LoginServlet.java index 8b0b3a82313..ed4f8654f12 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/LoginServlet.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/LoginServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/RegTest.java b/demos/demo-jetty-webapp/src/main/java/com/acme/RegTest.java index 3dcd0c3e44b..2044cc5f724 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/RegTest.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/RegTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/RewriteServlet.java b/demos/demo-jetty-webapp/src/main/java/com/acme/RewriteServlet.java index bb5dbd5dbc3..de1b3467a9f 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/RewriteServlet.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/RewriteServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/SecureModeServlet.java b/demos/demo-jetty-webapp/src/main/java/com/acme/SecureModeServlet.java index 5faf5fb5dee..e5b99db1a60 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/SecureModeServlet.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/SecureModeServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/SessionDump.java b/demos/demo-jetty-webapp/src/main/java/com/acme/SessionDump.java index 3416a52baad..9b5f9b37b4d 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/SessionDump.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/SessionDump.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/TestFilter.java b/demos/demo-jetty-webapp/src/main/java/com/acme/TestFilter.java index 6d29daac935..7493f1ba4b2 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/TestFilter.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/TestFilter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/TestListener.java b/demos/demo-jetty-webapp/src/main/java/com/acme/TestListener.java index 9c3490fab9d..4692f39dc34 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/TestListener.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/TestListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/TestServlet.java b/demos/demo-jetty-webapp/src/main/java/com/acme/TestServlet.java index 49318871f3c..6a0b03c58e1 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/TestServlet.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/TestServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/WebSocketChatServlet.java b/demos/demo-jetty-webapp/src/main/java/com/acme/WebSocketChatServlet.java index c1859f209bd..edb2d3ce120 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/WebSocketChatServlet.java +++ b/demos/demo-jetty-webapp/src/main/java/com/acme/WebSocketChatServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/acme-taglib.tld b/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/acme-taglib.tld deleted file mode 100644 index 09b70aece57..00000000000 --- a/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/acme-taglib.tld +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - 1.0 - 1.2 - acme - http://www.acme.com/taglib - taglib example - - com.acme.TagListener - - - - date - com.acme.DateTag - TAGDEPENDENT - Display Date - - tz - false - - - - diff --git a/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/acme-taglib2.tld b/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/acme-taglib2.tld deleted file mode 100644 index 3edb7bb14f3..00000000000 --- a/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/acme-taglib2.tld +++ /dev/null @@ -1,35 +0,0 @@ - - - - Acme JSP2 tags - 1.0 - acme2 - http://www.acme.com/taglib2 - - Simple Date formatting - date2 - com.acme.Date2Tag - scriptless - - Day of the Month - day - - - Month of the Year - month - - - Year - year - - - format - true - true - - - - diff --git a/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/web.xml b/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/web.xml index 0ca1b452055..615a3775211 100644 --- a/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/web.xml +++ b/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/web.xml @@ -180,15 +180,6 @@ /secureMode/* - - foo.jsp - /jsp/foo/foo.jsp - - - foo.jsp - /jsp/foo/ - - TestServlet diff --git a/demos/demo-jetty-webapp/src/main/webapp/index.html b/demos/demo-jetty-webapp/src/main/webapp/index.html index 82061ecc65d..d8ce732b646 100644 --- a/demos/demo-jetty-webapp/src/main/webapp/index.html +++ b/demos/demo-jetty-webapp/src/main/webapp/index.html @@ -41,8 +41,6 @@
  • WebSocket (javax.websocket)
  • -
  • JSP: examples
  • -
    • Authentication
    • Dispatcher Servlet
    • diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/index.html b/demos/demo-jetty-webapp/src/main/webapp/jsp/index.html deleted file mode 100644 index 644ebc7ff40..00000000000 --- a/demos/demo-jetty-webapp/src/main/webapp/jsp/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - -

      JSP Examples

      - - -Main Menu - - - - diff --git a/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/ChatServletTest.java b/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/ChatServletTest.java index 5ae8e20596d..a9ca508bdf2 100644 --- a/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/ChatServletTest.java +++ b/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/ChatServletTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/DispatchServletTest.java b/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/DispatchServletTest.java index 1e057d4dd40..3651dc2a9d5 100644 --- a/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/DispatchServletTest.java +++ b/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/DispatchServletTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/TestServer.java b/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/TestServer.java index 2d45de86ad8..b4bea1ea779 100644 --- a/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/TestServer.java +++ b/demos/demo-jetty-webapp/src/test/java/org/eclipse/jetty/TestServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jndi-webapp/src/main/java/com/acme/JNDITest.java b/demos/demo-jndi-webapp/src/main/java/com/acme/JNDITest.java index a5548acf613..80648f8d50b 100644 --- a/demos/demo-jndi-webapp/src/main/java/com/acme/JNDITest.java +++ b/demos/demo-jndi-webapp/src/main/java/com/acme/JNDITest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jsp-webapp/pom.xml b/demos/demo-jsp-webapp/pom.xml new file mode 100644 index 00000000000..7df76406bae --- /dev/null +++ b/demos/demo-jsp-webapp/pom.xml @@ -0,0 +1,88 @@ + + + + org.eclipse.jetty.demos + demos-parent + 10.0.1-SNAPSHOT + + + 4.0.0 + demo-jsp-webapp + Demo :: JSP :: Webapp + war + + + ${project.groupId}.jsp + + + + + + org.apache.felix + maven-bundle-plugin + true + + + war + + + javax.servlet.jsp.*;version="[2.2.0,4.1)",org.eclipse.jetty.*;version="[$(version;===;${parsedVersion.osgiVersion}),$(version;==+;${parsedVersion.osgiVersion}))",* + !com.acme.* + /demo-jsp + .,WEB-INF/classes + + + + + + maven-war-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + maven-assembly-plugin + + + web-bundle-assembly + package + + single + + + + src/main/assembly/web-bundle.xml + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + + + + + + + org.eclipse.jetty.toolchain + jetty-servlet-api + provided + + + javax.servlet.jsp + javax.servlet.jsp-api + 2.3.3 + provided + + + jakarta.servlet.jsp.jstl + jakarta.servlet.jsp.jstl-api + 1.2.7 + provided + + + + diff --git a/demos/demo-jsp-webapp/src/main/assembly/web-bundle.xml b/demos/demo-jsp-webapp/src/main/assembly/web-bundle.xml new file mode 100644 index 00000000000..803a7455f19 --- /dev/null +++ b/demos/demo-jsp-webapp/src/main/assembly/web-bundle.xml @@ -0,0 +1,20 @@ + + + webbundle + + jar + + false + + + ${basedir}/${project.build.directory}/${project.build.finalName}/ + + + **/*.* + + + WEB-INF/lib/** + + + + diff --git a/demos/demo-jsp-webapp/src/main/config/modules/demo-jsp.mod b/demos/demo-jsp-webapp/src/main/config/modules/demo-jsp.mod new file mode 100644 index 00000000000..a81e59f423f --- /dev/null +++ b/demos/demo-jsp-webapp/src/main/config/modules/demo-jsp.mod @@ -0,0 +1,14 @@ +[description] +Demo Simple JSP Webapp + +[tags] +demo +webapp + +[depends] +jsp +jstl +deploy + +[files] +maven://org.eclipse.jetty.demos/demo-jsp-webapp/${jetty.version}/war|webapps/demo-jsp.war diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/Counter.java b/demos/demo-jsp-webapp/src/main/java/com/acme/Counter.java similarity index 93% rename from demos/demo-jetty-webapp/src/main/java/com/acme/Counter.java rename to demos/demo-jsp-webapp/src/main/java/com/acme/Counter.java index 00e9e7001e8..0910661f780 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/Counter.java +++ b/demos/demo-jsp-webapp/src/main/java/com/acme/Counter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/Date2Tag.java b/demos/demo-jsp-webapp/src/main/java/com/acme/Date2Tag.java similarity index 96% rename from demos/demo-jetty-webapp/src/main/java/com/acme/Date2Tag.java rename to demos/demo-jsp-webapp/src/main/java/com/acme/Date2Tag.java index 816d9e4b5b3..a53b69cfb86 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/Date2Tag.java +++ b/demos/demo-jsp-webapp/src/main/java/com/acme/Date2Tag.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/DateTag.java b/demos/demo-jsp-webapp/src/main/java/com/acme/DateTag.java similarity index 97% rename from demos/demo-jetty-webapp/src/main/java/com/acme/DateTag.java rename to demos/demo-jsp-webapp/src/main/java/com/acme/DateTag.java index 6c67a66f0ec..a0e8d840801 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/DateTag.java +++ b/demos/demo-jsp-webapp/src/main/java/com/acme/DateTag.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jetty-webapp/src/main/java/com/acme/TagListener.java b/demos/demo-jsp-webapp/src/main/java/com/acme/TagListener.java similarity index 98% rename from demos/demo-jetty-webapp/src/main/java/com/acme/TagListener.java rename to demos/demo-jsp-webapp/src/main/java/com/acme/TagListener.java index d18caa009fb..bfb042dcf2e 100644 --- a/demos/demo-jetty-webapp/src/main/java/com/acme/TagListener.java +++ b/demos/demo-jsp-webapp/src/main/java/com/acme/TagListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/acme-taglib.tld b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/acme-taglib.tld new file mode 100644 index 00000000000..2e2154e9001 --- /dev/null +++ b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/acme-taglib.tld @@ -0,0 +1,28 @@ + + + + taglib example + + 1.0 + acme + http://www.acme.com/taglib + + + com.acme.TagListener + + + + Display Date + date + com.acme.DateTag + tagdependent + + tz + false + + + + diff --git a/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/acme-taglib2.tld b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/acme-taglib2.tld new file mode 100644 index 00000000000..bb3c78b3483 --- /dev/null +++ b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/acme-taglib2.tld @@ -0,0 +1,37 @@ + + + + Acme JSP2 tags + + 1.0 + acme2 + http://www.acme.com/taglib2 + + + Simple Date formatting + date2 + com.acme.Date2Tag + scriptless + + Day of the Month + day + + + Month of the Year + month + + + Year + year + + + format + true + true + + + + diff --git a/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/jetty-web.xml b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/jetty-web.xml new file mode 100644 index 00000000000..bd90a5e1303 --- /dev/null +++ b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/jetty-web.xml @@ -0,0 +1,8 @@ + + + + + + The demo-jsp webapp is deployed. DO NOT USE IN PRODUCTION! + + diff --git a/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/tags/panel.tag b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/tags/panel.tag similarity index 72% rename from demos/demo-jetty-webapp/src/main/webapp/WEB-INF/tags/panel.tag rename to demos/demo-jsp-webapp/src/main/webapp/WEB-INF/tags/panel.tag index fa0540a61db..798b80e7630 100644 --- a/demos/demo-jetty-webapp/src/main/webapp/WEB-INF/tags/panel.tag +++ b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/tags/panel.tag @@ -1,6 +1,6 @@ <%-- - - Copyright (c) 2002 The Apache Software Foundation. All rights - - reserved. + Copyright (c) 2002 The Apache Software Foundation. + All rights reserved. --%> <%@ attribute name="color" %> <%@ attribute name="bgcolor" %> diff --git a/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/web.xml b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000000..f91c2df9489 --- /dev/null +++ b/demos/demo-jsp-webapp/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,18 @@ + + + + Demo JSP Web Application + + + foo.jsp + /foo/foo.jsp + + + foo.jsp + /foo/ + + + diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/bean1.jsp b/demos/demo-jsp-webapp/src/main/webapp/bean1.jsp similarity index 100% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/bean1.jsp rename to demos/demo-jsp-webapp/src/main/webapp/bean1.jsp diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/bean2.jsp b/demos/demo-jsp-webapp/src/main/webapp/bean2.jsp similarity index 100% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/bean2.jsp rename to demos/demo-jsp-webapp/src/main/webapp/bean2.jsp diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/dump.jsp b/demos/demo-jsp-webapp/src/main/webapp/dump.jsp similarity index 89% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/dump.jsp rename to demos/demo-jsp-webapp/src/main/webapp/dump.jsp index fb73b0b0002..b0cb8f131c9 100644 --- a/demos/demo-jetty-webapp/src/main/webapp/jsp/dump.jsp +++ b/demos/demo-jsp-webapp/src/main/webapp/dump.jsp @@ -4,6 +4,7 @@

      JSP Dump

      + diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/expr.jsp b/demos/demo-jsp-webapp/src/main/webapp/expr.jsp similarity index 100% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/expr.jsp rename to demos/demo-jsp-webapp/src/main/webapp/expr.jsp diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/foo/foo.jsp b/demos/demo-jsp-webapp/src/main/webapp/foo/foo.jsp similarity index 100% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/foo/foo.jsp rename to demos/demo-jsp-webapp/src/main/webapp/foo/foo.jsp diff --git a/demos/demo-jsp-webapp/src/main/webapp/index.jsp b/demos/demo-jsp-webapp/src/main/webapp/index.jsp new file mode 100644 index 00000000000..c74eac02ad7 --- /dev/null +++ b/demos/demo-jsp-webapp/src/main/webapp/index.jsp @@ -0,0 +1,20 @@ +<%@ page import="java.time.format.DateTimeFormatter" %> +<%@ page import="java.time.LocalDate" %> +<%@ page contentType="text/html; charset=UTF-8" %> + + + +

      JSP Examples on <%= DateTimeFormatter.ofPattern("d MMMM yyyy").format(LocalDate.now()) %>

      + + Main Menu + + diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/jstl.jsp b/demos/demo-jsp-webapp/src/main/webapp/jstl.jsp similarity index 100% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/jstl.jsp rename to demos/demo-jsp-webapp/src/main/webapp/jstl.jsp diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/tag.jsp b/demos/demo-jsp-webapp/src/main/webapp/tag.jsp similarity index 100% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/tag.jsp rename to demos/demo-jsp-webapp/src/main/webapp/tag.jsp diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/tag2.jsp b/demos/demo-jsp-webapp/src/main/webapp/tag2.jsp similarity index 100% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/tag2.jsp rename to demos/demo-jsp-webapp/src/main/webapp/tag2.jsp diff --git a/demos/demo-jetty-webapp/src/main/webapp/jsp/tagfile.jsp b/demos/demo-jsp-webapp/src/main/webapp/tagfile.jsp similarity index 100% rename from demos/demo-jetty-webapp/src/main/webapp/jsp/tagfile.jsp rename to demos/demo-jsp-webapp/src/main/webapp/tagfile.jsp diff --git a/demos/demo-mock-resources/src/main/java/com/acme/MockDataSource.java b/demos/demo-mock-resources/src/main/java/com/acme/MockDataSource.java index def17d1cf8b..7788019aa46 100644 --- a/demos/demo-mock-resources/src/main/java/com/acme/MockDataSource.java +++ b/demos/demo-mock-resources/src/main/java/com/acme/MockDataSource.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-mock-resources/src/main/java/com/acme/MockTransport.java b/demos/demo-mock-resources/src/main/java/com/acme/MockTransport.java index f4a8938fab8..fcf17b588c9 100644 --- a/demos/demo-mock-resources/src/main/java/com/acme/MockTransport.java +++ b/demos/demo-mock-resources/src/main/java/com/acme/MockTransport.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-mock-resources/src/main/java/com/acme/MockUserTransaction.java b/demos/demo-mock-resources/src/main/java/com/acme/MockUserTransaction.java index 5109089f565..baa6b189090 100644 --- a/demos/demo-mock-resources/src/main/java/com/acme/MockUserTransaction.java +++ b/demos/demo-mock-resources/src/main/java/com/acme/MockUserTransaction.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-proxy-webapp/src/test/java/org/eclipse/jetty/demos/ProxyWebAppTest.java b/demos/demo-proxy-webapp/src/test/java/org/eclipse/jetty/demos/ProxyWebAppTest.java index ed6ba10ac6d..e8f49abea0e 100644 --- a/demos/demo-proxy-webapp/src/test/java/org/eclipse/jetty/demos/ProxyWebAppTest.java +++ b/demos/demo-proxy-webapp/src/test/java/org/eclipse/jetty/demos/ProxyWebAppTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/tests/test-webapps/test-simple-webapp/pom.xml b/demos/demo-simple-webapp/pom.xml similarity index 57% rename from tests/test-webapps/test-simple-webapp/pom.xml rename to demos/demo-simple-webapp/pom.xml index f13b10a0732..848d8efef44 100644 --- a/tests/test-webapps/test-simple-webapp/pom.xml +++ b/demos/demo-simple-webapp/pom.xml @@ -1,15 +1,18 @@ - org.eclipse.jetty.tests - test-webapps-parent + org.eclipse.jetty.demos + demos-parent 10.0.1-SNAPSHOT 4.0.0 - test-simple-webapp + demo-simple-webapp + Demo :: Simple :: Webapp war - Test :: Jetty Test Simple Webapp + + ${project.groupId}.simple + diff --git a/demos/demo-simple-webapp/src/main/config/modules/demo-simple.mod b/demos/demo-simple-webapp/src/main/config/modules/demo-simple.mod new file mode 100644 index 00000000000..7b59bbc3c82 --- /dev/null +++ b/demos/demo-simple-webapp/src/main/config/modules/demo-simple.mod @@ -0,0 +1,12 @@ +[description] +Demo Simple Webapp + +[tags] +demo +webapp + +[depends] +deploy + +[files] +maven://org.eclipse.jetty.demos/demo-simple-webapp/${jetty.version}/war|webapps/demo-simple.war diff --git a/demos/demo-simple-webapp/src/main/webapp/WEB-INF/web.xml b/demos/demo-simple-webapp/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000000..da1263c1b8d --- /dev/null +++ b/demos/demo-simple-webapp/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,9 @@ + + + + Simple Web Application + + diff --git a/demos/demo-simple-webapp/src/main/webapp/index.html b/demos/demo-simple-webapp/src/main/webapp/index.html new file mode 100644 index 00000000000..40917f44acd --- /dev/null +++ b/demos/demo-simple-webapp/src/main/webapp/index.html @@ -0,0 +1,6 @@ + + + +

      Hello World!

      + + diff --git a/demos/demo-spec/demo-container-initializer/src/main/java/com/acme/initializer/Foo.java b/demos/demo-spec/demo-container-initializer/src/main/java/com/acme/initializer/Foo.java index 0b1665f89d4..a779751cd0a 100644 --- a/demos/demo-spec/demo-container-initializer/src/main/java/com/acme/initializer/Foo.java +++ b/demos/demo-spec/demo-container-initializer/src/main/java/com/acme/initializer/Foo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-container-initializer/src/main/java/com/acme/initializer/FooInitializer.java b/demos/demo-spec/demo-container-initializer/src/main/java/com/acme/initializer/FooInitializer.java index a4f304bca91..aa96b5007c6 100644 --- a/demos/demo-spec/demo-container-initializer/src/main/java/com/acme/initializer/FooInitializer.java +++ b/demos/demo-spec/demo-container-initializer/src/main/java/com/acme/initializer/FooInitializer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AnnotatedListener.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AnnotatedListener.java index d2859c2149d..a3dc5497690 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AnnotatedListener.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AnnotatedListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AnnotationTest.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AnnotationTest.java index a0219d9d067..e0416a58f09 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AnnotationTest.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AnnotationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AsyncListenerServlet.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AsyncListenerServlet.java index e78cf658f6f..3666cc8e630 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AsyncListenerServlet.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/AsyncListenerServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/Bar.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/Bar.java index 4b72002bb8e..41bb08420c6 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/Bar.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/Bar.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/ClassLoaderServlet.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/ClassLoaderServlet.java index 432e68b97f7..ce695b4be4e 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/ClassLoaderServlet.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/ClassLoaderServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/MultiPartTest.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/MultiPartTest.java index 1ea2ecb2528..b25e1f40362 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/MultiPartTest.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/MultiPartTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/RoleAnnotationTest.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/RoleAnnotationTest.java index 5de0a5dc29b..191fdc3d29c 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/RoleAnnotationTest.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/RoleAnnotationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/SecuredServlet.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/SecuredServlet.java index e8122d87432..f9cd64aea55 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/SecuredServlet.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/SecuredServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/TestListener.java b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/TestListener.java index 59503009526..4148e2a1cbe 100644 --- a/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/TestListener.java +++ b/demos/demo-spec/demo-spec-webapp/src/main/java/com/acme/test/TestListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/demo-spec/demo-web-fragment/src/main/java/com/acme/fragment/FragmentServlet.java b/demos/demo-spec/demo-web-fragment/src/main/java/com/acme/fragment/FragmentServlet.java index 8d6096f0870..0f3a4b96764 100644 --- a/demos/demo-spec/demo-web-fragment/src/main/java/com/acme/fragment/FragmentServlet.java +++ b/demos/demo-spec/demo-web-fragment/src/main/java/com/acme/fragment/FragmentServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/AsyncEchoServlet.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/AsyncEchoServlet.java index 7a393b28a43..bc6a2a1680d 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/AsyncEchoServlet.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/AsyncEchoServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/DumpServlet.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/DumpServlet.java index d57325d6723..fc7c8a2abed 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/DumpServlet.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/DumpServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleServer.java index dfc267046c5..1a1465c0752 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleServerXml.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleServerXml.java index c0b22814ec9..9b7a0c298d9 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleServerXml.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleServerXml.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleUtil.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleUtil.java index 59e644b8f18..7d20ca71bf3 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleUtil.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ExampleUtil.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/FastFileServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/FastFileServer.java index e011cffe3e3..2bd217d118a 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/FastFileServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/FastFileServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/FileServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/FileServer.java index 430ee152d68..7a5a0ca286c 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/FileServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/FileServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/FileServerXml.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/FileServerXml.java index 5c87769e6a9..06b4042c389 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/FileServerXml.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/FileServerXml.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloHandler.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloHandler.java index 1ee4c3bfeb9..508a326ee34 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloHandler.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloServlet.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloServlet.java index 81ba513a989..55e5e5b793a 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloServlet.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloSessionServlet.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloSessionServlet.java index 1e10bc586c5..6fa22975f19 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloSessionServlet.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloSessionServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloWorld.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloWorld.java index 3a734281c2c..a660c455e89 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloWorld.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/HelloWorld.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/Http2Server.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/Http2Server.java index 398f3003325..3e5b40b2018 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/Http2Server.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/Http2Server.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/JarServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/JarServer.java index f04226dc9a4..7003431f47d 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/JarServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/JarServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyDemoBase.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyDemoBase.java deleted file mode 100644 index 30561bb9ea3..00000000000 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyDemoBase.java +++ /dev/null @@ -1,170 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. -// -// This program and the accompanying materials are made available under the -// terms of the Eclipse Public License v. 2.0 which is available at -// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 -// which is available at https://www.apache.org/licenses/LICENSE-2.0. -// -// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -// ======================================================================== -// - -package org.eclipse.jetty.demos; - -import java.io.InputStream; -import java.lang.reflect.Method; -import java.net.URL; -import java.net.URLClassLoader; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.Properties; - -import org.eclipse.jetty.util.StringUtil; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * A utility test class to locate a Jetty Base for testing purposes by searching: - *
        - *
      • The jetty.base system property
      • - *
      • The JETTY_BASE environment variable
      • - *
      • Creating a {@code ${java.io.tmpDir}/jetty-demo-base/} to work with
      • - *
      - */ -public class JettyDemoBase -{ - private static final Logger LOG = LoggerFactory.getLogger(JettyDemoBase.class); - public static final Path JETTY_BASE; - - static - { - Path jettyBase = asDirectory(System.getProperty("jetty.base")); - LOG.debug("JettyDemobase(prop(jetty.home)) = {}", jettyBase); - if (jettyBase == null) - { - jettyBase = asDirectory(System.getenv().get("JETTY_BASE")); - LOG.debug("JettyHome(env(JETTY_BASE)) = {}", jettyBase); - } - - if (jettyBase == null || !Files.exists(jettyBase.resolve("start.d/demo.ini"))) - { - // Create the demo-base in java.io.tmpdir - ClassLoader origClassLoader = Thread.currentThread().getContextClassLoader(); - try - { - Path jettyHome = JettyHome.get(); - jettyBase = Files.createTempDirectory("jetty-base"); - - Path startJar = jettyHome.resolve("start.jar"); - - URLClassLoader urlClassLoader = new URLClassLoader(new URL[]{ - startJar.toUri().toURL() - }); - - Thread.currentThread().setContextClassLoader(urlClassLoader); - - String pomRef = "META-INF/maven/org.eclipse.jetty/jetty-start/pom.properties"; - URL urlPom = urlClassLoader.findResource(pomRef); - if (urlPom == null) - throw new IllegalStateException("Unable to find " + pomRef); - - String jettyVersion = null; - - try (InputStream input = urlPom.openStream()) - { - Properties pomProps = new Properties(); - pomProps.load(input); - jettyVersion = pomProps.getProperty("version"); - } - - Class mainClass = urlClassLoader.loadClass("org.eclipse.jetty.start.Main"); - Method mainMethod = mainClass.getMethod("main", String[].class); - - String[] args = new String[]{ - "jetty.version=" + jettyVersion, - "jetty.home=" + jettyHome.toString(), - "jetty.base=" + jettyBase.toString(), - "--add-modules=logging-jetty,demo" - }; - - LOG.info("Creating DemoBase in {}", jettyBase); - mainMethod.invoke(mainClass, new Object[]{args}); - - Path logsDir = jettyBase.resolve("logs"); - if (!Files.exists(logsDir)) - Files.createDirectory(logsDir); - - if (LOG.isDebugEnabled()) - LOG.debug("JettyHome(working.resolve(...)) = {}", jettyBase); - } - catch (Throwable th) - { - LOG.warn("Unable to resolve Jetty Distribution location", th); - } - finally - { - Thread.currentThread().setContextClassLoader(origClassLoader); - } - } - - JETTY_BASE = jettyBase; - } - - private static Path asDirectory(String path) - { - try - { - if (path == null) - { - return null; - } - - if (StringUtil.isBlank(path)) - { - LOG.debug("asDirectory {} is blank", path); - return null; - } - - Path dir = Paths.get(path); - if (!Files.exists(dir)) - { - LOG.debug("asDirectory {} does not exist", path); - return null; - } - - if (!Files.isDirectory(dir)) - { - LOG.debug("asDirectory {} is not a directory", path); - return null; - } - - LOG.debug("asDirectory {}", dir); - return dir.toAbsolutePath(); - } - catch (Exception e) - { - LOG.trace("IGNORED", e); - } - return null; - } - - public static Path get() - { - if (JETTY_BASE == null) - throw new RuntimeException("jetty-base not found"); - return JETTY_BASE; - } - - public static Path resolve(String path) - { - return get().resolve(path); - } - - public static void main(String... arg) - { - System.err.println("Jetty Base is " + JETTY_BASE); - } -} diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyHome.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyDemos.java similarity index 51% rename from demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyHome.java rename to demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyDemos.java index e51d610e39e..20726b96d57 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyHome.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/JettyDemos.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -13,6 +13,8 @@ package org.eclipse.jetty.demos; +import java.io.FileNotFoundException; +import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; @@ -22,71 +24,75 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * A utility test class to locate a Jetty Home for testing purposes by searching: - *
        - *
      • The jetty.home system property
      • - *
      • The JETTY_HOME environment variable
      • - *
      • The working directory hierarchy with subdirectory jetty-home/target/jetty-home
      • - *
      + * A utility test class to locate the Jetty Demo build contents. + *

      + * Looking for content in the /demos/ directory. + *

      */ -public class JettyHome +public class JettyDemos { - private static final Logger LOG = LoggerFactory.getLogger(JettyHome.class); - public static final Path JETTY_HOME; + private static final Logger LOG = LoggerFactory.getLogger(JettyDemos.class); + private static final Path JETTY_DEMOS_DIR; + private static final String VERSION; static { - Path jettyHome = asDirectory(System.getProperty("jetty.home")); - LOG.debug("JettyHome(prop(jetty.home)) = {}", jettyHome); - if (jettyHome == null) + Path demosDir = asDirectory(System.getProperty("jetty.demos")); + LOG.debug("JettyDemos(prop(jetty.demos)) = {}", demosDir); + if (demosDir == null) { - jettyHome = asDirectory(System.getenv().get("JETTY_HOME")); - LOG.debug("JettyHome(env(JETTY_HOME)) = {}", jettyHome); + demosDir = asDirectory(System.getenv().get("JETTY_DEMOS")); + LOG.debug("JettyDemos(env(JETTY_DEMOS)) = {}", demosDir); } - Path distro = null; - - if (jettyHome != null && Files.exists(jettyHome.resolve("start.jar"))) - { - distro = jettyHome; - } - - if (distro == null) + if (demosDir == null || !Files.exists(demosDir.resolve("pom.xml"))) { try { Path working = Paths.get(System.getProperty("user.dir")); Path dir = null; - LOG.debug("JettyHome(prop(user.dir)) = {}", working); + LOG.debug("JettyDemos(prop(user.dir)) = {}", working); while (dir == null && working != null) { - dir = asDirectory(working.resolve("jetty-home/target/jetty-home").toString()); - if (dir != null && Files.exists(dir.resolve("start.jar"))) + dir = asDirectory(working.resolve("demos").toString()); + if (dir != null && Files.exists(dir.resolve("pom.xml"))) { - distro = dir; + demosDir = dir; } // try one parent up working = working.getParent(); } if (LOG.isDebugEnabled()) - LOG.debug("JettyHome(working.resolve(...)) = {}", distro); + LOG.debug("JettyDemos(working.resolve(...)) = {}", demosDir); } catch (Throwable th) { - LOG.warn("Unable to resolve Jetty Distribution location", th); + LOG.warn("Unable to resolve Jetty Demos location", th); } } - if (distro == null) + JETTY_DEMOS_DIR = demosDir; + + String version = "unknown"; + Path pomFile = demosDir.resolve("pom.xml"); + try { - LOG.info("JettyHome() FAILURE: NOT FOUND"); + String versionLine = Files.lines(pomFile) + .filter((line) -> line.contains("")) + .findFirst() + .orElseThrow(() -> + { + throw new RuntimeException("Unable to find in " + pomFile); + }); + + version = versionLine.replaceAll("<[^>]*>", "").trim(); } - else + catch (IOException e) { - if (LOG.isDebugEnabled()) - LOG.debug("JettyHome() FOUND = {}", distro); + LOG.warn("Unable to find in " + pomFile, e); } - JETTY_HOME = distro; + + VERSION = version; } private static Path asDirectory(String path) @@ -127,20 +133,26 @@ public class JettyHome return null; } - public static Path get() + private static Path get() { - if (JETTY_HOME == null) - throw new RuntimeException("jetty-home not found"); - return JETTY_HOME; + if (JETTY_DEMOS_DIR == null) + throw new RuntimeException("jetty /demos/ dir not found"); + return JETTY_DEMOS_DIR; } - public static Path resolve(String path) + public static Path find(String path) throws FileNotFoundException { - return get().resolve(path); + String expandedPath = path.replaceAll("@VER@", VERSION); + Path result = get().resolve(expandedPath); + if (!Files.exists(result)) + { + throw new FileNotFoundException(result.toString()); + } + return result; } public static void main(String... arg) { - System.err.println("Jetty Home is " + JETTY_HOME); + System.err.println("Jetty Demos Dir is " + JETTY_DEMOS_DIR); } } diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/LikeJettyXml.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/LikeJettyXml.java index 983ddd05e87..4e152f7d0c8 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/LikeJettyXml.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/LikeJettyXml.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -14,6 +14,7 @@ package org.eclipse.jetty.demos; import java.io.FileNotFoundException; +import java.io.IOException; import java.lang.management.ManagementFactory; import java.nio.file.Files; import java.nio.file.Path; @@ -59,13 +60,9 @@ public class LikeJettyXml { public static Server createServer(int port, int securePort, boolean addDebugListener) throws Exception { - // Find jetty home and base directories - Path jettyHome = JettyHome.get(); - Path jettyBase = JettyDemoBase.get(); - - // Configure jetty.home and jetty.base system properties - System.setProperty("jetty.home", jettyHome.toString()); - System.setProperty("jetty.base", jettyBase.toString()); + Path configDir = Paths.get("src/main/resources/demo").toAbsolutePath(); + Path runtimeDir = Paths.get("target/embedded/" + LikeJettyXml.class.getSimpleName()).toAbsolutePath(); + mkdir(runtimeDir); // === jetty.xml === // Setup Threadpool @@ -140,9 +137,19 @@ public class LikeJettyXml "org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern", ".*/jetty-servlet-api-[^/]*\\.jar$|.*/javax.servlet.jsp.jstl-.*\\.jar$|.*/[^/]*taglibs.*\\.jar$"); + Path webappsDir = runtimeDir.resolve("webapps"); + mkdir(webappsDir); + + Path testWebapp = webappsDir.resolve("test.war"); + if (!Files.exists(testWebapp)) + { + Path testWebappSrc = JettyDemos.find("demo-simple-webapp/target/demo-simple-webapp-@VER@.war"); + Files.copy(testWebappSrc, testWebapp); + } + WebAppProvider webAppProvider = new WebAppProvider(); - webAppProvider.setMonitoredDirName(jettyBase + "/webapps"); - webAppProvider.setDefaultsDescriptor(jettyHome + "/etc/webdefault.xml"); + webAppProvider.setMonitoredDirName(webappsDir.toString()); + webAppProvider.setDefaultsDescriptor(configDir.resolve("webdefault.xml").toString()); webAppProvider.setScanInterval(1); webAppProvider.setExtractWars(true); webAppProvider.setConfigurationManager(new PropertiesConfigurationManager()); @@ -166,7 +173,9 @@ public class LikeJettyXml rewrite.addRule(new ValidUrlRule()); // === jetty-requestlog.xml === - AsyncRequestLogWriter logWriter = new AsyncRequestLogWriter(jettyBase + "/logs/yyyy_mm_dd.request.log"); + Path logsDir = runtimeDir.resolve("logs"); + mkdir(logsDir); + AsyncRequestLogWriter logWriter = new AsyncRequestLogWriter(logsDir.resolve("yyyy_mm_dd.request.log").toString()); logWriter.setFilenameDateFormat("yyyy_MM_dd"); logWriter.setRetainDays(90); logWriter.setTimeZone("GMT"); @@ -185,13 +194,20 @@ public class LikeJettyXml // === test-realm.xml === HashLoginService login = new HashLoginService(); login.setName("Test Realm"); - login.setConfig(jettyBase + "/etc/demo-realm.properties"); + login.setConfig(configDir.resolve("demo-realm.properties").toString()); login.setHotReload(false); server.addBean(login); return server; } + private static void mkdir(Path path) throws IOException + { + if (Files.exists(path)) + return; + Files.createDirectories(path); + } + public static void main(String[] args) throws Exception { int port = ExampleUtil.getPort(args, "jetty.http.port", 8080); diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyConnectors.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyConnectors.java index a6d1d50178d..ed7fcd4dcc4 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyConnectors.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyConnectors.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyContexts.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyContexts.java index 39bf1cc28e0..7ab243c08bd 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyContexts.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyContexts.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyHandlers.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyHandlers.java index a21d5a6a024..08cbf528de4 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyHandlers.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyHandlers.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyServletContexts.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyServletContexts.java index d3f0a975969..99c0f54ea0f 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyServletContexts.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ManyServletContexts.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/MinimalServlets.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/MinimalServlets.java index a019d3336bc..be496bb51a5 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/MinimalServlets.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/MinimalServlets.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneConnector.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneConnector.java index 8d5778b9458..4442cb8beca 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneConnector.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneConnector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneContext.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneContext.java index 4c02cde5f88..7bb59add792 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneContext.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneContext.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneHandler.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneHandler.java index efe7fae004b..babfb3261e2 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneHandler.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContext.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContext.java index ee8995cd3a0..1ae1295f237 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContext.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContext.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContextJmxStats.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContextJmxStats.java index 9dd88437a55..6cdb29cb731 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContextJmxStats.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContextJmxStats.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContextWithSession.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContextWithSession.java index 43e34b48981..ea29e55c2d7 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContextWithSession.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneServletContextWithSession.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneWebApp.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneWebApp.java index 7c3b4da4df5..11132eeef24 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneWebApp.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneWebApp.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -13,7 +13,8 @@ package org.eclipse.jetty.demos; -import java.io.File; +import java.io.IOException; +import java.nio.file.Path; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.webapp.Configurations; @@ -21,7 +22,7 @@ import org.eclipse.jetty.webapp.WebAppContext; public class OneWebApp { - public static Server createServer(int port) + public static Server createServer(int port) throws IOException { // Create a basic jetty server object that will listen on port 8080. // Note that if you set this to port 0 then a randomly available port @@ -38,8 +39,8 @@ public class OneWebApp // PlusConfiguration) to choosing where the webapp will unpack itself. WebAppContext webapp = new WebAppContext(); webapp.setContextPath("/"); - File warFile = JettyDemoBase.resolve("webapps/demo-async-rest.war").toFile(); - webapp.setWar(warFile.getAbsolutePath()); + Path warFile = JettyDemos.find("demo-async-rest/demo-async-rest-webapp/target/demo-async-rest-webapp-@VER@.war"); + webapp.setWar(warFile.toString()); // A WebAppContext is a ContextHandler as well so it needs to be set to // the server so it is aware of where to send the appropriate requests. diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneWebAppWithJsp.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneWebAppWithJsp.java index 98309e991b1..f0379081223 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneWebAppWithJsp.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/OneWebAppWithJsp.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -46,11 +46,7 @@ public class OneWebAppWithJsp // the webapp will unpack itself. WebAppContext webapp = new WebAppContext(); webapp.setContextPath("/"); - Path warFile = JettyDemoBase.resolve("webapps/demo-jetty.war"); - if (!Files.exists(warFile)) - { - throw new FileNotFoundException(warFile.toString()); - } + Path warFile = JettyDemos.find("demo-jsp-webapp/target/demo-jsp-webapp-@VER@.war"); webapp.setWarResource(new PathResource(warFile)); webapp.setExtractWAR(true); diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ProxyServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ProxyServer.java index 816997863c1..c6bf362f690 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ProxyServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ProxyServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/RewriteServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/RewriteServer.java index 9c18d9ac030..d98c38db41a 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/RewriteServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/RewriteServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/SecuredHelloHandler.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/SecuredHelloHandler.java index 0e42043d0e4..47f1a376d65 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/SecuredHelloHandler.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/SecuredHelloHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithAnnotations.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithAnnotations.java index aab07bfed94..aaebb0f76a1 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithAnnotations.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithAnnotations.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -13,9 +13,9 @@ package org.eclipse.jetty.demos; -import java.io.File; import java.io.FileNotFoundException; import java.net.URL; +import java.nio.file.Path; import javax.naming.NamingException; import org.eclipse.jetty.annotations.AnnotationConfiguration; @@ -46,8 +46,8 @@ public class ServerWithAnnotations webapp.addConfiguration(new EnvConfiguration(), new PlusConfiguration(), new AnnotationConfiguration()); webapp.setContextPath("/"); - File warFile = JettyDemoBase.resolve("webapps/demo-spec.war").toFile(); - webapp.setWar(warFile.getAbsolutePath()); + Path warFile = JettyDemos.find("demo-spec/demo-spec-webapp/target/demo-spec-webapp-@VER@.war"); + webapp.setWar(warFile.toString()); webapp.setAttribute( "org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern", ".*/jetty-servlet-api-[^/]*\\.jar$"); diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithJMX.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithJMX.java index f124b63d111..9b4c92cc509 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithJMX.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithJMX.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithJNDI.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithJNDI.java index f45ff7fcb4d..8f6c9f24874 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithJNDI.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/ServerWithJNDI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -13,6 +13,7 @@ package org.eclipse.jetty.demos; +import java.io.FileNotFoundException; import java.nio.file.Path; import java.util.Properties; import javax.naming.NamingException; @@ -28,7 +29,7 @@ import org.eclipse.jetty.webapp.WebAppContext; */ public class ServerWithJNDI { - public static Server createServer(int port) throws NamingException + public static Server createServer(int port) throws NamingException, FileNotFoundException { // Create the server Server server = new Server(port); @@ -36,7 +37,7 @@ public class ServerWithJNDI // Create a WebApp WebAppContext webapp = new WebAppContext(); webapp.setContextPath("/"); - Path testJndiWar = JettyDemoBase.resolve("webapps/demo-jndi.war"); + Path testJndiWar = JettyDemos.find("demo-jndi-webapp/target/demo-jndi-webapp-@VER@.war"); webapp.setWarResource(new PathResource(testJndiWar)); server.setHandler(webapp); diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/SimplestServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/SimplestServer.java index 2125fc6df98..890dc577d17 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/SimplestServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/SimplestServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/SplitFileServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/SplitFileServer.java index f5a7c746f7e..647837d7cc8 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/SplitFileServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/SplitFileServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/WebSocketJsrServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/WebSocketJsrServer.java index 454dfccb41a..4371e039a2f 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/WebSocketJsrServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/WebSocketJsrServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/java/org/eclipse/jetty/demos/WebSocketServer.java b/demos/embedded/src/main/java/org/eclipse/jetty/demos/WebSocketServer.java index 78b8fd398f4..8b79a52c885 100644 --- a/demos/embedded/src/main/java/org/eclipse/jetty/demos/WebSocketServer.java +++ b/demos/embedded/src/main/java/org/eclipse/jetty/demos/WebSocketServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/main/resources/demo/demo-realm.properties b/demos/embedded/src/main/resources/demo/demo-realm.properties new file mode 100644 index 00000000000..9d88b852b7f --- /dev/null +++ b/demos/embedded/src/main/resources/demo/demo-realm.properties @@ -0,0 +1,21 @@ +# +# This file defines users passwords and roles for a HashUserRealm +# +# The format is +# : [, ...] +# +# Passwords may be clear text, obfuscated or checksummed. The class +# org.eclipse.util.Password should be used to generate obfuscated +# passwords or password checksums +# +# If DIGEST Authentication is used, the password must be in a recoverable +# format, either plain text or OBF:. +# +jetty: MD5:164c88b302622e17050af52c89945d44,user +admin: CRYPT:adpexzg3FUZAk,server-administrator,content-administrator,admin,user +other: OBF:1xmk1w261u9r1w1c1xmq,user +plain: plain,user +user: password,user + +# This entry is for digest auth. The credential is a MD5 hash of username:realmname:password +digest: MD5:6e120743ad67abfbc385bc2bb754e297,user diff --git a/demos/embedded/src/main/resources/demo/webdefault.xml b/demos/embedded/src/main/resources/demo/webdefault.xml new file mode 100644 index 00000000000..a52ecc2152b --- /dev/null +++ b/demos/embedded/src/main/resources/demo/webdefault.xml @@ -0,0 +1,443 @@ + + + + + + + + + + + + + + + + + + + + + + + Default web.xml file. + This file is applied to a Web application before its own WEB_INF/web.xml file + + + + + + + + org.eclipse.jetty.servlet.listener.ELContextCleaner + + + + + + + + org.eclipse.jetty.servlet.listener.IntrospectorCleaner + + + + + + + + + + + + + + + + + default + org.eclipse.jetty.servlet.DefaultServlet + + acceptRanges + true + + + dirAllowed + true + + + welcomeServlets + false + + + redirectWelcome + false + + + maxCacheSize + 256000000 + + + maxCachedFileSize + 200000000 + + + maxCachedFiles + 2048 + + + etags + false + + + useFileMappedBuffer + true + + 0 + + + + default + / + + + + + + + + + + + + + + + jsp + org.eclipse.jetty.jsp.JettyJspServlet + + xpoweredBy + false + + + compilerTargetVM + 1.8 + + + compilerSourceVM + 1.8 + + 0 + + + + jsp + *.jsp + *.jspf + *.jspx + *.xsp + *.JSP + *.JSPF + *.JSPX + *.XSP + + + + + + + + 30 + + + + + + + + + + + + + + + index.html + index.htm + index.jsp + + + + + + + + ar + ISO-8859-6 + + + be + ISO-8859-5 + + + bg + ISO-8859-5 + + + ca + ISO-8859-1 + + + cs + ISO-8859-2 + + + da + ISO-8859-1 + + + de + ISO-8859-1 + + + el + ISO-8859-7 + + + en + ISO-8859-1 + + + es + ISO-8859-1 + + + et + ISO-8859-1 + + + fi + ISO-8859-1 + + + fr + ISO-8859-1 + + + hr + ISO-8859-2 + + + hu + ISO-8859-2 + + + is + ISO-8859-1 + + + it + ISO-8859-1 + + + iw + ISO-8859-8 + + + ja + Shift_JIS + + + ko + EUC-KR + + + lt + ISO-8859-2 + + + lv + ISO-8859-2 + + + mk + ISO-8859-5 + + + nl + ISO-8859-1 + + + no + ISO-8859-1 + + + pl + ISO-8859-2 + + + pt + ISO-8859-1 + + + ro + ISO-8859-2 + + + ru + ISO-8859-5 + + + sh + ISO-8859-5 + + + sk + ISO-8859-2 + + + sl + ISO-8859-2 + + + sq + ISO-8859-2 + + + sr + ISO-8859-5 + + + sv + ISO-8859-1 + + + tr + ISO-8859-9 + + + uk + ISO-8859-5 + + + zh + GB2312 + + + zh_TW + Big5 + + + + + + + + + Disable TRACE + / + TRACE + + + + + + Enable everything but TRACE + / + TRACE + + + + + diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/AbstractEmbeddedTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/AbstractEmbeddedTest.java index 4442e16d5bd..8578a5f8706 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/AbstractEmbeddedTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/AbstractEmbeddedTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ExampleServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ExampleServerTest.java index a363ebbc9b1..ab9f3f6b793 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ExampleServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ExampleServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ExampleServerXmlTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ExampleServerXmlTest.java index dbb36a02db7..6c9d118ebbe 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ExampleServerXmlTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ExampleServerXmlTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/FastFileServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/FastFileServerTest.java index 68c476c6051..d3f9f6a6e1e 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/FastFileServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/FastFileServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/FileServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/FileServerTest.java index 070b50567b3..96713e00757 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/FileServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/FileServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/FileServerXmlTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/FileServerXmlTest.java index b1b52ebbcb2..2b9dd176a48 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/FileServerXmlTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/FileServerXmlTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/JarServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/JarServerTest.java index d3dfe5ef3fd..fe735b5114f 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/JarServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/JarServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/LikeJettyXmlTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/LikeJettyXmlTest.java index dc0d896d5d8..ddba3f74e23 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/LikeJettyXmlTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/LikeJettyXmlTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -39,8 +39,6 @@ public class LikeJettyXmlTest extends AbstractEmbeddedTest @BeforeEach public void startServer() throws Exception { - assumeTrue(JettyHome.JETTY_HOME != null, "jetty-home not found"); - server = LikeJettyXml.createServer(0, 0, false); server.start(); diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyConnectorsTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyConnectorsTest.java index 08f555e4546..87ff8044c9a 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyConnectorsTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyConnectorsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyContextsTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyContextsTest.java index 5d719d3c080..f5400626815 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyContextsTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyContextsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyHandlersTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyHandlersTest.java index c628bcbab40..dfbc0e7cef1 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyHandlersTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyHandlersTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyServletContextsTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyServletContextsTest.java index 5e76bdcf10c..d273e6a9048 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyServletContextsTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ManyServletContextsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/MinimalServletsTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/MinimalServletsTest.java index 9e902d3f027..2a02bad0551 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/MinimalServletsTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/MinimalServletsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneConnectorTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneConnectorTest.java index 426135fb85a..c0daa39c544 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneConnectorTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneConnectorTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneContextTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneContextTest.java index 23a70894f6f..e4279dc370e 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneContextTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneContextTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneHandlerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneHandlerTest.java index 4989815bb74..7ccbbce8fbc 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneHandlerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneHandlerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextJmxStatsTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextJmxStatsTest.java index db346a2f1b1..21e1331d18e 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextJmxStatsTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextJmxStatsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextTest.java index e7c96cd1847..7ce401e99e4 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextWithSessionTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextWithSessionTest.java index b409e562d74..7d60281c29f 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextWithSessionTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneServletContextWithSessionTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneWebAppTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneWebAppTest.java index b82841303ba..17f26d599e0 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneWebAppTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneWebAppTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -37,8 +37,6 @@ public class OneWebAppTest extends AbstractEmbeddedTest @BeforeEach public void startServer() throws Exception { - assumeTrue(JettyHome.JETTY_HOME != null, "jetty-home not found"); - server = OneWebApp.createServer(0); server.start(); } diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneWebAppWithJspTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneWebAppWithJspTest.java index b67bfd34348..cb7d21e8589 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneWebAppWithJspTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/OneWebAppWithJspTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -37,8 +37,6 @@ public class OneWebAppWithJspTest extends AbstractEmbeddedTest @BeforeEach public void startServer() throws Exception { - assumeTrue(JettyHome.JETTY_HOME != null, "jetty-home not found"); - server = OneWebAppWithJsp.createServer(0); server.start(); @@ -55,7 +53,7 @@ public class OneWebAppWithJspTest extends AbstractEmbeddedTest @Test public void testGetDumpInfo() throws Exception { - URI uri = serverLocalUri.resolve("/dump/info"); + URI uri = serverLocalUri.resolve("/dump.jsp"); ContentResponse response = client.newRequest(uri) .method(HttpMethod.GET) .send(); @@ -65,13 +63,13 @@ public class OneWebAppWithJspTest extends AbstractEmbeddedTest // test response content String responseBody = response.getContentAsString(); - assertThat("Response Content", responseBody, containsString("getProtocol: 
      Protocol:<%= request.getProtocol() %>
      Request URI:<%= request.getRequestURI() %>
      ServletPath:<%= request.getServletPath() %>
      PathInfo:<%= request.getPathInfo() %>
      HTTP/1.1")); + assertThat("Response Content", responseBody, containsString("Protocol:HTTP/1.1")); } @Test public void testGetJspExpr() throws Exception { - URI uri = serverLocalUri.resolve("/jsp/expr.jsp?A=1"); + URI uri = serverLocalUri.resolve("/expr.jsp?A=1"); ContentResponse response = client.newRequest(uri) .method(HttpMethod.GET) .send(); @@ -88,7 +86,7 @@ public class OneWebAppWithJspTest extends AbstractEmbeddedTest @Test public void testGetJstlExpr() throws Exception { - URI uri = serverLocalUri.resolve("/jsp/jstl.jsp"); + URI uri = serverLocalUri.resolve("/jstl.jsp"); ContentResponse response = client.newRequest(uri) .method(HttpMethod.GET) .send(); @@ -101,7 +99,7 @@ public class OneWebAppWithJspTest extends AbstractEmbeddedTest assertThat("Response Content", responseBody, containsString("

      JSTL Example

      ")); for (int i = 1; i <= 10; i++) { - assertThat("Reponse content (counting)", responseBody, containsString("" + i)); + assertThat("Response content (counting)", responseBody, containsString("" + i)); } } } diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ProxyServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ProxyServerTest.java index 8acad59fc2f..fe1d1c8f681 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ProxyServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ProxyServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/RewriteServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/RewriteServerTest.java index af0f742b336..e02216d5574 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/RewriteServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/RewriteServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/SecuredHelloHandlerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/SecuredHelloHandlerTest.java index 6f8053f841c..bb674334345 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/SecuredHelloHandlerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/SecuredHelloHandlerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerUtil.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerUtil.java index 88d76b78a3f..7808d581329 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerUtil.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerUtil.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithAnnotationsTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithAnnotationsTest.java index 37df074281f..3a2ce059d20 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithAnnotationsTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithAnnotationsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -36,8 +36,6 @@ public class ServerWithAnnotationsTest extends AbstractEmbeddedTest @BeforeEach public void startServer() throws Exception { - assumeTrue(JettyHome.JETTY_HOME != null, "jetty-home not found"); - server = ServerWithAnnotations.createServer(0); server.start(); } diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithJMXTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithJMXTest.java index 1cda7644807..07afd05fff3 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithJMXTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithJMXTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithJNDITest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithJNDITest.java index 53b2bc9136e..50a55ac0cfc 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithJNDITest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/ServerWithJNDITest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -37,8 +37,6 @@ public class ServerWithJNDITest extends AbstractEmbeddedTest @BeforeEach public void startServer() throws Exception { - assumeTrue(JettyHome.JETTY_HOME != null, "jetty-home not found"); - server = ServerWithJNDI.createServer(0); server.start(); } diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/SimplestServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/SimplestServerTest.java index 1d7b5d06561..c08b5ff2bd0 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/SimplestServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/SimplestServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/SplitFileServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/SplitFileServerTest.java index 97e48d3c50a..ef868998a99 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/SplitFileServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/SplitFileServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/WebSocketJsrServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/WebSocketJsrServerTest.java index f4827debfef..83f88bf9195 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/WebSocketJsrServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/WebSocketJsrServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/embedded/src/test/java/org/eclipse/jetty/demos/WebSocketServerTest.java b/demos/embedded/src/test/java/org/eclipse/jetty/demos/WebSocketServerTest.java index bddb8fb605b..b57692a9459 100644 --- a/demos/embedded/src/test/java/org/eclipse/jetty/demos/WebSocketServerTest.java +++ b/demos/embedded/src/test/java/org/eclipse/jetty/demos/WebSocketServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/demos/pom.xml b/demos/pom.xml index ff304a19fd4..9133a25a797 100644 --- a/demos/pom.xml +++ b/demos/pom.xml @@ -35,6 +35,8 @@ demo-jndi-webapp demo-jetty-webapp demo-proxy-webapp + demo-simple-webapp + demo-jsp-webapp demo-mock-resources demo-spec embedded diff --git a/documentation/jetty-asciidoctor-extensions/pom.xml b/documentation/jetty-asciidoctor-extensions/pom.xml new file mode 100644 index 00000000000..3e1e684761c --- /dev/null +++ b/documentation/jetty-asciidoctor-extensions/pom.xml @@ -0,0 +1,25 @@ + + + + org.eclipse.jetty.documentation + documentation-parent + 10.0.1-SNAPSHOT + + + 4.0.0 + jetty-asciidoctor-extensions + Jetty :: Documentation :: AsciiDoctor Extensions + jar + + + + org.asciidoctor + asciidoctorj + + + org.eclipse.jetty.tests + test-distribution + ${project.version} + + + diff --git a/documentation/jetty-asciidoctor-extensions/src/main/java/org/eclipse/jetty/docs/JettyIncludeExtension.java b/documentation/jetty-asciidoctor-extensions/src/main/java/org/eclipse/jetty/docs/JettyIncludeExtension.java new file mode 100644 index 00000000000..8604d47895a --- /dev/null +++ b/documentation/jetty-asciidoctor-extensions/src/main/java/org/eclipse/jetty/docs/JettyIncludeExtension.java @@ -0,0 +1,169 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +package org.eclipse.jetty.docs; + +import java.nio.file.Path; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import java.util.stream.Collectors; + +import org.asciidoctor.Asciidoctor; +import org.asciidoctor.ast.Document; +import org.asciidoctor.extension.IncludeProcessor; +import org.asciidoctor.extension.PreprocessorReader; +import org.asciidoctor.jruby.extension.spi.ExtensionRegistry; +import org.eclipse.jetty.tests.distribution.JettyHomeTester; + +/** + *

      Asciidoctor include extension that includes into + * the document the output produced by starting a Jetty server.

      + *

      Example usage in an Asciidoc page:

      + *
      + * include::jetty[setupArgs="--add-modules=http,deploy,demo-simple",highlight="WebAppContext"]
      + * 
      + *

      Available configuration parameters are:

      + *
      + *
      setupArgs
      + *
      Optional, specifies the arguments to use in a Jetty server setup run. + * If missing, no Jetty server setup run will be executed. + * The output produced by this run is ignored.
      + *
      args
      + *
      Optional, specifies the arguments to use in a Jetty server run. + * If missing, a Jetty server run will be executed with no arguments. + * The output produced by this run is included in the Asciidoc document.
      + *
      highlight
      + *
      Optional, specifies a regular expression that matches lines that should be highlighted. + * If missing, no line will be highlighted. + * If the regular expression contains capturing groups, only the text matching + * the groups is highlighted, not the whole line. + *
      + *
      + * + * @see JettyHomeTester + */ +public class JettyIncludeExtension implements ExtensionRegistry +{ + public void register(Asciidoctor asciidoctor) + { + asciidoctor.javaExtensionRegistry().includeProcessor(JettyIncludeProcessor.class); + } + + public static class JettyIncludeProcessor extends IncludeProcessor + { + @Override + public boolean handles(String target) + { + return "jetty".equals(target); + } + + @Override + public void process(Document document, PreprocessorReader reader, String target, Map attributes) + { + try + { + Path projectPath = Path.of((String)document.getAttribute("projectdir")); + Path jettyHome = projectPath.resolve("jetty-home/target/jetty-home").normalize(); + + JettyHomeTester jetty = JettyHomeTester.Builder.newInstance() + .jettyHome(jettyHome) + .mavenLocalRepository((String)document.getAttribute("mavenrepository")) + .build(); + + String setupArgs = (String)attributes.get("setupArgs"); + if (setupArgs != null) + { + try (JettyHomeTester.Run setupRun = jetty.start(setupArgs.split(" "))) + { + setupRun.awaitFor(15, TimeUnit.SECONDS); + } + } + + String args = (String)attributes.get("args"); + args = args == null ? "" : args + " "; + args += jettyHome.resolve("etc/jetty-halt.xml"); + try (JettyHomeTester.Run run = jetty.start(args.split(" "))) + { + run.awaitFor(15, TimeUnit.SECONDS); + String output = captureOutput(attributes, jetty, run); + reader.push_include(output, "jettyHome_run", target, 1, attributes); + } + } + catch (Throwable x) + { + reader.push_include(x.toString(), "jettyHome_run", target, 1, attributes); + x.printStackTrace(); + } + } + + private String captureOutput(Map attributes, JettyHomeTester jetty, JettyHomeTester.Run run) + { + String highlight = (String)attributes.get("highlight"); + return run.getLogs().stream() + .map(line -> redactPath(line, jetty.getJettyHome(), "/path/to/jetty.home")) + .map(line -> redactPath(line, jetty.getJettyBase(), "/path/to/jetty.base")) + .map(this::denoteLineStart) + .map(line -> highlight(line, highlight)) + .collect(Collectors.joining(System.lineSeparator())); + } + + private String redactPath(String line, Path path, String replacement) + { + return line.replaceAll(path.toString(), replacement); + } + + private String denoteLineStart(String line) + { + // Matches lines that start with a date such as "2020-01-01 00:00:00.000:". + Pattern lineStart = Pattern.compile("(^[^:]+:[^:]+:[^:]+:)"); + Matcher matcher = lineStart.matcher(line); + if (!matcher.find()) + return line; + return "**" + matcher.group(1) + "**" + line.substring(matcher.end(1)); + } + + private String highlight(String line, String regExp) + { + if (regExp == null) + return line; + + Matcher matcher = Pattern.compile(regExp).matcher(line); + if (!matcher.find()) + return line; + + int groupCount = matcher.groupCount(); + + // No capturing groups, highlight the whole line. + if (groupCount == 0) + return "##" + line + "##"; + + // Highlight the capturing groups. + StringBuilder result = new StringBuilder(line.length() + 4 * groupCount); + int start = 0; + for (int groupIndex = 1; groupIndex <= groupCount; ++groupIndex) + { + int matchBegin = matcher.start(groupIndex); + result.append(line, start, matchBegin); + result.append("##"); + int matchEnd = matcher.end(groupIndex); + result.append(line, matchBegin, matchEnd); + result.append("##"); + start = matchEnd; + } + result.append(line, start, line.length()); + return result.toString(); + } + } +} diff --git a/documentation/jetty-asciidoctor-extensions/src/main/resources/META-INF/services/org.asciidoctor.jruby.extension.spi.ExtensionRegistry b/documentation/jetty-asciidoctor-extensions/src/main/resources/META-INF/services/org.asciidoctor.jruby.extension.spi.ExtensionRegistry new file mode 100644 index 00000000000..f6fe373890b --- /dev/null +++ b/documentation/jetty-asciidoctor-extensions/src/main/resources/META-INF/services/org.asciidoctor.jruby.extension.spi.ExtensionRegistry @@ -0,0 +1 @@ +org.eclipse.jetty.docs.JettyIncludeExtension diff --git a/jetty-documentation/pom.xml b/documentation/jetty-documentation/pom.xml similarity index 85% rename from jetty-documentation/pom.xml rename to documentation/jetty-documentation/pom.xml index 1d13f1665bc..8615282a68d 100644 --- a/jetty-documentation/pom.xml +++ b/documentation/jetty-documentation/pom.xml @@ -1,8 +1,8 @@ - org.eclipse.jetty - jetty-project + org.eclipse.jetty.documentation + documentation-parent 10.0.1-SNAPSHOT @@ -11,6 +11,138 @@ Jetty :: Documentation jar + + + + org.asciidoctor + asciidoctor-maven-plugin + + + org.asciidoctor + asciidoctorj-diagram + 2.0.5 + + + org.eclipse.jetty.documentation + jetty-asciidoctor-extensions + ${project.version} + + + org.apache.httpcomponents + httpcore + 4.4.13 + + + org.apache.httpcomponents + httpclient + 4.5.13 + + + + html5 + + asciidoctor-diagram + + + ${settings.localRepository} + ${project.basedir}/../.. + http://www.eclipse.org/jetty/javadoc/${project.version} + http://download.eclipse.org/jetty/stable-9/xref + ${basedir}/.. + https://github.com/eclipse/jetty.project/tree/master + https://github.com/eclipse/jetty.project/tree/jetty-10.0.x-doc-refactor/jetty-documentation/src/main/asciidoc + ../operations-guide/index.html + ../programming-guide/index.html + ../gettingstarted-guide/index.html + ../contribution-guide/index.html + https://repo1.maven.org/maven2 + ${project.version} + ${maven.build.timestamp} + + + + + index + prepare-package + + process-asciidoc + + + src/main/asciidoc + index.adoc + ${project.build.directory}/html + + + + operations-guide + prepare-package + + process-asciidoc + + + src/main/asciidoc/operations-guide + index.adoc + ${project.build.directory}/html/operations-guide + + + + contribution-guide + prepare-package + + process-asciidoc + + + ${basedir}/src/main/asciidoc/contribution-guide + index.adoc + ${project.build.directory}/html/contribution-guide + + + + programming-guide + prepare-package + + process-asciidoc + + + ${basedir}/src/main/asciidoc/programming-guide + index.adoc + ${project.build.directory}/html/programming-guide + + + + old_docs + prepare-package + + process-asciidoc + + + ${basedir}/src/main/asciidoc/old_docs + index.adoc + ${project.build.directory}/html/old_docs + + + + + + maven-assembly-plugin + + + src/main/assembly/html.xml + + + + + make-assembly + package + + single + + + + + + + org.eclipse.jetty.toolchain @@ -80,132 +212,16 @@ org.eclipse.jetty jetty-slf4j-impl ${project.version} - compile - - org.eclipse.jetty.memcached + + org.eclipse.jetty.memcached jetty-memcached-sessions ${project.version} - - - org.eclipse.jetty - jetty-nosql - ${project.version} - + + + org.eclipse.jetty + jetty-nosql + ${project.version} + - - - - - org.asciidoctor - asciidoctor-maven-plugin - - - org.asciidoctor - asciidoctorj-diagram - 2.0.5 - - - - html5 - - asciidoctor-diagram - - - http://www.eclipse.org/jetty/javadoc/${project.version} - http://download.eclipse.org/jetty/stable-9/xref - ${basedir}/.. - https://github.com/eclipse/jetty.project/tree/master - https://github.com/eclipse/jetty.project/tree/jetty-10.0.x-doc-refactor/jetty-documentation/src/main/asciidoc - ../operations-guide/index.html - ../programming-guide/index.html - ../gettingstarted-guide/index.html - ../contribution-guide/index.html - http://central.maven.org/maven2 - ${project.version} - ${maven.build.timestamp} - - - - - index - generate-resources - - process-asciidoc - - - src/main/asciidoc - index.adoc - ${project.build.directory}/html - - - - operations-guide - generate-resources - - process-asciidoc - - - src/main/asciidoc/operations-guide - index.adoc - ${project.build.directory}/html/operations-guide - - - - contribution-guide - generate-resources - - process-asciidoc - - - ${basedir}/src/main/asciidoc/contribution-guide - index.adoc - ${project.build.directory}/html/contribution-guide - - - - programming-guide - prepare-package - - process-asciidoc - - - ${basedir}/src/main/asciidoc/programming-guide - index.adoc - ${project.build.directory}/html/programming-guide - - - - old_docs - prepare-package - - process-asciidoc - - - ${basedir}/src/main/asciidoc/old_docs - index.adoc - ${project.build.directory}/html/old_docs - - - - - - maven-assembly-plugin - - - src/main/assembly/html.xml - - - - - make-assembly - package - - single - - - - - - diff --git a/jetty-documentation/src/main/asciidoc/config.adoc b/documentation/jetty-documentation/src/main/asciidoc/config.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/config.adoc rename to documentation/jetty-documentation/src/main/asciidoc/config.adoc index d0f9bbb27e2..5528584fd01 100644 --- a/jetty-documentation/src/main/asciidoc/config.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/config.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -17,7 +17,7 @@ :revdate: {localdate} :toc: left -:toclevels: 4 +:toclevels: 5 :idseparator: - :sectlinks: diff --git a/jetty-documentation/src/main/asciidoc/contribution-guide/1-introduction.adoc b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/1-introduction.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/contribution-guide/1-introduction.adoc rename to documentation/jetty-documentation/src/main/asciidoc/contribution-guide/1-introduction.adoc index 43e550ad764..a2049d6da94 100644 --- a/jetty-documentation/src/main/asciidoc/contribution-guide/1-introduction.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/1-introduction.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/contribution-guide/2-community.adoc b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/2-community.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/contribution-guide/2-community.adoc rename to documentation/jetty-documentation/src/main/asciidoc/contribution-guide/2-community.adoc index aa07330d304..18df1acc32f 100644 --- a/jetty-documentation/src/main/asciidoc/contribution-guide/2-community.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/2-community.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/contribution-guide/3-source.adoc b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/3-source.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/contribution-guide/3-source.adoc rename to documentation/jetty-documentation/src/main/asciidoc/contribution-guide/3-source.adoc index 0c810b30493..5dbaebecd80 100644 --- a/jetty-documentation/src/main/asciidoc/contribution-guide/3-source.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/3-source.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/contribution-guide/4-documentation.adoc b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/4-documentation.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/contribution-guide/4-documentation.adoc rename to documentation/jetty-documentation/src/main/asciidoc/contribution-guide/4-documentation.adoc index 39c9380ed03..0f794f95133 100644 --- a/jetty-documentation/src/main/asciidoc/contribution-guide/4-documentation.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/4-documentation.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -155,7 +155,7 @@ license blocks:: .... // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/contribution-guide/5-security.adoc b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/5-security.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/contribution-guide/5-security.adoc rename to documentation/jetty-documentation/src/main/asciidoc/contribution-guide/5-security.adoc index 09d84eeb3ba..e2608a8a1be 100644 --- a/jetty-documentation/src/main/asciidoc/contribution-guide/5-security.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/5-security.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/contribution-guide/6-conclusion.adoc b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/6-conclusion.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/contribution-guide/6-conclusion.adoc rename to documentation/jetty-documentation/src/main/asciidoc/contribution-guide/6-conclusion.adoc index 65b5249d48e..4a999e3cab5 100644 --- a/jetty-documentation/src/main/asciidoc/contribution-guide/6-conclusion.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/6-conclusion.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/contribution-guide/images/small_powered_by.gif b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/images/small_powered_by.gif similarity index 100% rename from jetty-documentation/src/main/asciidoc/contribution-guide/images/small_powered_by.gif rename to documentation/jetty-documentation/src/main/asciidoc/contribution-guide/images/small_powered_by.gif diff --git a/jetty-documentation/src/main/asciidoc/contribution-guide/index.adoc b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/index.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/contribution-guide/index.adoc rename to documentation/jetty-documentation/src/main/asciidoc/contribution-guide/index.adoc index 2bc8eb53645..577f14f3fda 100644 --- a/jetty-documentation/src/main/asciidoc/contribution-guide/index.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/contribution-guide/index.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/index.adoc b/documentation/jetty-documentation/src/main/asciidoc/index.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/index.adoc rename to documentation/jetty-documentation/src/main/asciidoc/index.adoc index 2250171d9e0..d0d674127b2 100644 --- a/jetty-documentation/src/main/asciidoc/index.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/index.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/alpn/alpn.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/alpn/alpn.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/alpn/alpn.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/alpn/alpn.adoc index f74baaed3be..9dfdb844380 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/alpn/alpn.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/alpn/alpn.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/alpn/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/alpn/chapter.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/alpn/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/alpn/chapter.adoc index f6b77699fee..85797ce4fa6 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/alpn/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/alpn/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/annotations/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/chapter.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/old_docs/annotations/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/chapter.adoc index 0ed456b24f8..cff41c2ef15 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/annotations/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/annotations/quick-annotations-setup.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/quick-annotations-setup.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/annotations/quick-annotations-setup.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/quick-annotations-setup.adoc index 95f440c5880..a2f2bb80bb0 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/annotations/quick-annotations-setup.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/quick-annotations-setup.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/annotations/using-annotations-embedded.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/using-annotations-embedded.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/annotations/using-annotations-embedded.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/using-annotations-embedded.adoc index d1ba976549c..c981554eed8 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/annotations/using-annotations-embedded.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/annotations/using-annotations-embedded.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/ant/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/ant/chapter.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/ant/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/ant/chapter.adoc index 46a6c0c772c..3a286b42754 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/ant/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/ant/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/ant/jetty-ant.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/ant/jetty-ant.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/ant/jetty-ant.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/ant/jetty-ant.adoc index e77672cb269..a9de0906793 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/ant/jetty-ant.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/ant/jetty-ant.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/architecture/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/architecture/chapter.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/old_docs/architecture/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/architecture/chapter.adoc index 43a6283d11f..c6c2da6ec43 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/architecture/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/architecture/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/architecture/jetty-classloading.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/architecture/jetty-classloading.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/architecture/jetty-classloading.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/architecture/jetty-classloading.adoc index b42679f350c..de752202e83 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/architecture/jetty-classloading.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/architecture/jetty-classloading.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/connectors/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/connectors/chapter.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/old_docs/connectors/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/connectors/chapter.adoc index a7ef98b8b23..b10d7bd407e 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/connectors/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/connectors/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/connectors/configuring-connectors.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/connectors/configuring-connectors.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/connectors/configuring-connectors.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/connectors/configuring-connectors.adoc index 507fbc568ed..134f810fa34 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/connectors/configuring-connectors.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/connectors/configuring-connectors.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contexts/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/chapter.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/old_docs/contexts/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/chapter.adoc index 0a7830f70d9..e08d76223d6 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contexts/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contexts/custom-error-pages.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/custom-error-pages.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/contexts/custom-error-pages.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/custom-error-pages.adoc index eae2ff326a3..770396e5258 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contexts/custom-error-pages.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/custom-error-pages.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-context-path.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-context-path.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-context-path.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-context-path.adoc index 3fe6c69b2e8..f6f9f0234a4 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-context-path.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-context-path.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-form-size.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-form-size.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-form-size.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-form-size.adoc index afec1b66f28..2ab9e70e7d7 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-form-size.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/setting-form-size.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contexts/temporary-directories.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/temporary-directories.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/contexts/temporary-directories.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/temporary-directories.adoc index 9c3dfe34bef..f1e9201c2ca 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contexts/temporary-directories.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contexts/temporary-directories.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/bugs.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/bugs.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/bugs.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/bugs.adoc index 688713833c0..40c2ec916a4 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/bugs.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/bugs.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/chapter.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/chapter.adoc index 69f8ca45071..cd6eda62347 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/coding-standards.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/coding-standards.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/coding-standards.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/coding-standards.adoc index e67373d1892..66556893ee2 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/coding-standards.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/coding-standards.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/community.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/community.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/community.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/community.adoc index 0efa1aa665f..5b47d7310ce 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/community.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/community.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/documentation.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/documentation.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/documentation.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/documentation.adoc index 05a1528384d..2babb7eb3d8 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/documentation.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/documentation.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -188,7 +188,7 @@ license blocks:: .... // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/patches.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/patches.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/patches.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/patches.adoc index 70c747de29a..6d6ccabb060 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/patches.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/patches.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/release-testing.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/release-testing.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/release-testing.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/release-testing.adoc index 38cea560ba1..f63eed30096 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/release-testing.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/release-testing.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/releasing-jetty.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/releasing-jetty.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/releasing-jetty.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/releasing-jetty.adoc index ebe1e17092c..76871efcf64 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/releasing-jetty.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/releasing-jetty.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/contributing/source-build.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/source-build.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/contributing/source-build.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/source-build.adoc index ad43739e9db..4066c335488 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/contributing/source-build.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/contributing/source-build.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/debugging/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/chapter.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/debugging/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/chapter.adoc index fc2030b07eb..fc6a34a39a0 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/debugging/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-eclipse.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-eclipse.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-eclipse.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-eclipse.adoc index b182cb79824..68049562c06 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-eclipse.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-eclipse.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-intellij.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-intellij.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-intellij.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-intellij.adoc index d047d0b44ad..dc7c66cd44f 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-intellij.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/debugging-with-intellij.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/debugging/enable-remote-debugging.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/enable-remote-debugging.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/debugging/enable-remote-debugging.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/enable-remote-debugging.adoc index d6df2c96799..435cd38bf27 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/debugging/enable-remote-debugging.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/debugging/enable-remote-debugging.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/deploying/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/chapter.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/deploying/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/chapter.adoc index 3105cd05559..112e3493cc2 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/deploying/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/deploying/configuring-specific-webapp-deployment.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/configuring-specific-webapp-deployment.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/deploying/configuring-specific-webapp-deployment.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/configuring-specific-webapp-deployment.adoc index 839155e4d04..d8777cfc37e 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/deploying/configuring-specific-webapp-deployment.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/configuring-specific-webapp-deployment.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-architecture.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-architecture.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-architecture.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-architecture.adoc index f58a15d03e4..3aba1448cb0 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-architecture.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-architecture.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-processing-webapps.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-processing-webapps.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-processing-webapps.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-processing-webapps.adoc index addad534f80..23eca32eeda 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-processing-webapps.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/deployment-processing-webapps.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/deploying/quickstart-webapp.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/quickstart-webapp.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/deploying/quickstart-webapp.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/quickstart-webapp.adoc index 8dd7e9433b7..364cecfe79f 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/deploying/quickstart-webapp.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/quickstart-webapp.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/deploying/static-content-deployment.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/static-content-deployment.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/old_docs/deploying/static-content-deployment.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/static-content-deployment.adoc index fc9693c89a3..33d561cae8f 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/deploying/static-content-deployment.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/deploying/static-content-deployment.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/chapter.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/chapter.adoc index c26cecc9b5f..469685763d7 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedded-examples.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedded-examples.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/embedded-examples.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedded-examples.adoc index 93b83763e05..4cf57b26a86 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedded-examples.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedded-examples.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedding-jetty.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedding-jetty.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/embedding-jetty.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedding-jetty.adoc index 0320c291853..faa44fb4b4c 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedding-jetty.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/embedding-jetty.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-file-server.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-file-server.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-file-server.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-file-server.adoc index 8f263f489c5..7c4deeae0f1 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-file-server.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-file-server.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-many-connectors.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-many-connectors.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-many-connectors.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-many-connectors.adoc index eb818c27859..9ead94ad4d3 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-many-connectors.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-many-connectors.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-minimal-servlet.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-minimal-servlet.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-minimal-servlet.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-minimal-servlet.adoc index 4c2957c3681..e2a37516647 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-minimal-servlet.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-minimal-servlet.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-one-webapp.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-one-webapp.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-one-webapp.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-one-webapp.adoc index c4efb2b162f..07ad8009938 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-one-webapp.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-one-webapp.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-secured-hello-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-secured-hello-handler.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-secured-hello-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-secured-hello-handler.adoc index 6b3bb1c98b0..6dcf78da8aa 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-secured-hello-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-secured-hello-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-split-file-server.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-split-file-server.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-split-file-server.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-split-file-server.adoc index 158781f7529..285f4e7f497 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-split-file-server.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/examples/embedded-split-file-server.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/embedding/jetty-helloworld.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/jetty-helloworld.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/embedding/jetty-helloworld.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/jetty-helloworld.adoc index 04d00b5af2d..555638c05ad 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/embedding/jetty-helloworld.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/embedding/jetty-helloworld.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/balancer-servlet.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/balancer-servlet.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/balancer-servlet.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/balancer-servlet.adoc index c5b49b99c49..ef73c9a06f8 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/balancer-servlet.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/balancer-servlet.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/cgi-servlet.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/cgi-servlet.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/cgi-servlet.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/cgi-servlet.adoc index 7308be02b8e..ff2f6200627 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/cgi-servlet.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/cgi-servlet.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/chapter.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/chapter.adoc index a7317aa6825..33a4d9f2f4d 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/cross-origin-filter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/cross-origin-filter.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/cross-origin-filter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/cross-origin-filter.adoc index eb283abe062..302335b9bbd 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/cross-origin-filter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/cross-origin-filter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/debug-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/debug-handler.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/debug-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/debug-handler.adoc index baf672cdb72..937d0c0e614 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/debug-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/debug-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/default-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/default-handler.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/default-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/default-handler.adoc index 4e543f0bb6b..ded253c3e30 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/default-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/default-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/default-servlet.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/default-servlet.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/default-servlet.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/default-servlet.adoc index 7ca0e64bdb8..d2caac722b5 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/default-servlet.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/default-servlet.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/dos-filter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/dos-filter.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/dos-filter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/dos-filter.adoc index d0766fb5a79..c1e00d3aa9a 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/dos-filter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/dos-filter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/error-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/error-handler.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/error-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/error-handler.adoc index 44f21b316d2..9356e696a68 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/error-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/error-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/gzip-filter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/gzip-filter.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/gzip-filter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/gzip-filter.adoc index 2d299a556da..bcb3a35cd36 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/gzip-filter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/gzip-filter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/header-filter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/header-filter.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/header-filter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/header-filter.adoc index 52ba1381760..ed5ab16f868 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/header-filter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/header-filter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/inetaccess-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/inetaccess-handler.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/inetaccess-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/inetaccess-handler.adoc index 0908f09daff..f4419c2807b 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/inetaccess-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/inetaccess-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/ipaccess-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/ipaccess-handler.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/ipaccess-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/ipaccess-handler.adoc index 54abfd3d772..d851ee315df 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/ipaccess-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/ipaccess-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/moved-context-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/moved-context-handler.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/moved-context-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/moved-context-handler.adoc index 2ca83c75746..a2ebf0a1253 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/moved-context-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/moved-context-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/proxy-servlet.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/proxy-servlet.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/proxy-servlet.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/proxy-servlet.adoc index 53680540ea3..347ca379e3e 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/proxy-servlet.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/proxy-servlet.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/qos-filter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/qos-filter.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/qos-filter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/qos-filter.adoc index e9da653ab9d..e9468871f60 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/qos-filter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/qos-filter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/resource-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/resource-handler.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/resource-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/resource-handler.adoc index 3cf18670369..81210c60a81 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/resource-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/resource-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/rewrite-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/rewrite-handler.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/rewrite-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/rewrite-handler.adoc index a4d24c05816..56b0289868a 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/rewrite-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/rewrite-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/shutdown-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/shutdown-handler.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/shutdown-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/shutdown-handler.adoc index 83510dee3a8..47a815343e5 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/shutdown-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/shutdown-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/extras/statistics-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/statistics-handler.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/extras/statistics-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/statistics-handler.adoc index a869d7a55e0..244fa38dd9c 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/extras/statistics-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/extras/statistics-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/chapter.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/fastcgi/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/chapter.adoc index 45474b847e6..249284bb82b 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/configuring-fastcgi.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/configuring-fastcgi.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/fastcgi/configuring-fastcgi.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/configuring-fastcgi.adoc index 5a7df6c31a0..6bf244624d0 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/configuring-fastcgi.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/configuring-fastcgi.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/fastcgi-intro.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/fastcgi-intro.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/fastcgi/fastcgi-intro.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/fastcgi-intro.adoc index 0feb62ed8cc..230414b13bc 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/fastcgi-intro.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/fastcgi/fastcgi-intro.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/frameworks/cdi.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/cdi.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/frameworks/cdi.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/cdi.adoc index b0b02e8ddf3..e10fc8044a8 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/frameworks/cdi.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/cdi.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/frameworks/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/chapter.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/frameworks/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/chapter.adoc index ec3919505ef..25d1a079523 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/frameworks/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/frameworks/metro.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/metro.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/frameworks/metro.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/metro.adoc index 8796896367c..24a42161380 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/frameworks/metro.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/metro.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/frameworks/osgi.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/osgi.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/frameworks/osgi.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/osgi.adoc index 96f007bc824..1db35f7d307 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/frameworks/osgi.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/frameworks/osgi.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/chapter.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/chapter.adoc index ba16e7c1f2d..928088247a6 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/how-to-configure.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/how-to-configure.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/how-to-configure.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/how-to-configure.adoc index ad9f7704111..1ca51bd2d27 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/how-to-configure.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/how-to-configure.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/what-to-configure.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/what-to-configure.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/what-to-configure.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/what-to-configure.adoc index 8dee93edf58..636cfb017b7 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/what-to-configure.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/configuring/what-to-configure.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/chapter.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/chapter.adoc index 4c47965e224..f680830270d 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-common-configuration.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-common-configuration.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-common-configuration.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-common-configuration.adoc index 828bb7da41d..02e95002930 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-common-configuration.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-common-configuration.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-installing.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-installing.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-installing.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-installing.adoc index 9ccd2e36692..f64b8f60378 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-installing.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-installing.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-running.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-running.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-running.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-running.adoc index 5d540aa2506..fcab733837f 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-running.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/getting-started/jetty-running.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/images/Jetty_Configuration_File_Relationships.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/images/Jetty_Configuration_File_Relationships.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/images/Jetty_Configuration_File_Relationships.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/images/Jetty_Configuration_File_Relationships.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/chapter.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/chapter.adoc index b42f5570684..e3aea1f3aab 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-coordinates.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-coordinates.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-coordinates.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-coordinates.adoc index ebd48449002..c9b70062b0b 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-coordinates.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-coordinates.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-javaee.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-javaee.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-javaee.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-javaee.adoc index 1ddf444ead7..ee28e546381 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-javaee.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/jetty-javaee.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-is-jetty.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-is-jetty.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-is-jetty.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-is-jetty.adoc index 806abcb9d1d..03fe5412651 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-is-jetty.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-is-jetty.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-version.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-version.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-version.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-version.adoc index d4e0bea24af..846e3222e6f 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-version.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/introduction/what-version.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/chapter.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/chapter.adoc index c9cd920b57b..fb5ef41650a 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/sample.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/sample.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/sample.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/sample.adoc index e052e83ac70..91e242767d0 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/sample.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/sample.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.3-to-9.4.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.3-to-9.4.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.3-to-9.4.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.3-to-9.4.adoc index 3c8bd408832..291f5b5fce2 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.3-to-9.4.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.3-to-9.4.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.4-to.10.0.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.4-to.10.0.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.4-to.10.0.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.4-to.10.0.adoc index c7a6fe1003f..4ecaec8ace3 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.4-to.10.0.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/gettingstarted/upgrading/upgrading-9.4-to.10.0.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/http2/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/http2/chapter.adoc similarity index 89% rename from jetty-documentation/src/main/asciidoc/old_docs/http2/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/http2/chapter.adoc index 38162620efa..d41860fccd9 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/http2/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/http2/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/http2/configuring-push.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/http2/configuring-push.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/http2/configuring-push.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/http2/configuring-push.adoc index 46d44f70d6d..5cdf20f0a43 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/http2/configuring-push.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/http2/configuring-push.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_AppLifeCycle-1.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_AppLifeCycle-1.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_AppLifeCycle-1.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_AppLifeCycle-1.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_DefaultAppLifeCycleBindings.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_DefaultAppLifeCycleBindings.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_DefaultAppLifeCycleBindings.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_DefaultAppLifeCycleBindings.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_DeploymentManager_Roles.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_DeploymentManager_Roles.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_DeploymentManager_Roles.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/Jetty_DeployManager_DeploymentManager_Roles.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/SessionsHierarchy.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/SessionsHierarchy.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/SessionsHierarchy.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/SessionsHierarchy.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-handlers.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-handlers.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-handlers.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-handlers.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-nested-handlers.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-nested-handlers.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-nested-handlers.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-nested-handlers.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-patterns.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-patterns.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-patterns.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-patterns.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-servlet-handler.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-servlet-handler.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-servlet-handler.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-servlet-handler.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-web-application.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-web-application.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-web-application.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/basic-architecture-web-application.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/certificate-chain.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/certificate-chain.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/certificate-chain.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/certificate-chain.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-1.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-1.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-1.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-1.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-2.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-2.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-2.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-2.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-3.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-3.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-3.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/debug-eclipse-3.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_debug_view.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_debug_view.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/intellij_debug_view.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_debug_view.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_new_remote_config.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_new_remote_config.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/intellij_new_remote_config.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_new_remote_config.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_select_debug.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_select_debug.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/intellij_select_debug.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_select_debug.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_set_breakpoint.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_set_breakpoint.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/intellij_set_breakpoint.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/intellij_set_breakpoint.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/jetty-high-level-architecture.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/jetty-high-level-architecture.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/jetty-high-level-architecture.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/jetty-high-level-architecture.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/modules-9.3-simplified.dot b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/modules-9.3-simplified.dot similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/modules-9.3-simplified.dot rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/modules-9.3-simplified.dot diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/modules-9.3-simplified.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/modules-9.3-simplified.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/modules-9.3-simplified.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/modules-9.3-simplified.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/windows-service-jetty.png b/documentation/jetty-documentation/src/main/asciidoc/old_docs/images/windows-service-jetty.png similarity index 100% rename from jetty-documentation/src/main/asciidoc/old_docs/images/windows-service-jetty.png rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/images/windows-service-jetty.png diff --git a/jetty-documentation/src/main/asciidoc/old_docs/index.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/index.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/old_docs/index.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/index.adoc index 0b7f5a7498f..31a4af72524 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/index.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/index.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -56,6 +56,5 @@ include::security/chapter.adoc[] include::startup/chapter.adoc[] include::troubleshooting/chapter.adoc[] include::tuning/chapter.adoc[] -include::websockets/intro/chapter.adoc[] include::websockets/jetty/chapter.adoc[] include::websockets/java/chapter.adoc[] diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/chapter.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/chapter.adoc index f7584bc090e..a86df8327d7 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-env-xml.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-env-xml.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-env-xml.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-env-xml.adoc index b497c4c7500..2d0942c7045 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-env-xml.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-env-xml.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-web-xml-config.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-web-xml-config.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-web-xml-config.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-web-xml-config.adoc index 682951350c7..dc332697d97 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-web-xml-config.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-web-xml-config.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-config.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-config.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-config.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-config.adoc index 4a22d016987..cead5e0e0f1 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-config.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-config.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-usage.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-usage.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-usage.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-usage.adoc index 03f34318dcb..4c87f3f7e71 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-usage.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/jetty-xml-usage.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/override-web-xml.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/override-web-xml.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/override-web-xml.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/override-web-xml.adoc index da735e151da..192b59b0bc6 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/override-web-xml.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/override-web-xml.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/webdefault-xml.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/webdefault-xml.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/webdefault-xml.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/webdefault-xml.adoc index 248a9fd431c..50fb2e37ce3 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/webdefault-xml.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jetty-xml/webdefault-xml.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jmx/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/chapter.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/jmx/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/chapter.adoc index b50d12f21f3..c0820b4bf5f 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jmx/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jconsole.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jconsole.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jconsole.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jconsole.adoc index cb8db147f64..627ec5df8a6 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jconsole.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jconsole.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jmx-annotations.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jmx-annotations.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jmx-annotations.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jmx-annotations.adoc index 95f9c99ac52..3260ed42449 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jmx-annotations.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jmx/jetty-jmx-annotations.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jndi/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/chapter.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/old_docs/jndi/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/chapter.adoc index 3911b9bb971..b1f0761c881 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jndi/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-configuration.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-configuration.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-configuration.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-configuration.adoc index bc4bb322519..687d691c946 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-configuration.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-configuration.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-datasources.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-datasources.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-datasources.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-datasources.adoc index 8daefde46db..b23ead4381b 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-datasources.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-datasources.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-embedded.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-embedded.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-embedded.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-embedded.adoc index 9fabbb7472e..5105ddcc9cd 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-embedded.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/jndi-embedded.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jndi/using-jndi.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/using-jndi.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/jndi/using-jndi.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/using-jndi.adoc index cd872c31433..d96e5af1e97 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jndi/using-jndi.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jndi/using-jndi.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jsp/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jsp/chapter.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/jsp/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jsp/chapter.adoc index 35368a01036..e614d4d9938 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jsp/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jsp/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/jsp/configuring-jsp.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jsp/configuring-jsp.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/jsp/configuring-jsp.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/jsp/configuring-jsp.adoc index 9b2a8070527..6bee8316e9d 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/jsp/configuring-jsp.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/jsp/configuring-jsp.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/chapter.adoc similarity index 89% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/chapter.adoc index 2a29660262c..7e0e2f58c5c 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -21,4 +21,3 @@ include::default-logging-with-stderrlog.adoc[] include::configuring-jetty-request-logs.adoc[] include::configuring-logging-modules.adoc[] include::example-logback-centralized-logging.adoc[] -include::jetty-server-dump.adoc[] diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-logging.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-logging.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-logging.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-logging.adoc index 2b202824196..c60468f16f1 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-logging.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-logging.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-request-logs.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-request-logs.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-request-logs.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-request-logs.adoc index 8f2c8f65765..7227f4970c9 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-request-logs.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-jetty-request-logs.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-logging-modules.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-logging-modules.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-logging-modules.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-logging-modules.adoc index e9d403bee55..d0e5b488e6e 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-logging-modules.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/configuring-logging-modules.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/default-logging-with-stderrlog.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/default-logging-with-stderrlog.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/default-logging-with-stderrlog.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/default-logging-with-stderrlog.adoc index d7eb02c4d17..e8d4b94cf0f 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/default-logging-with-stderrlog.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/default-logging-with-stderrlog.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-apache-log4j.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-apache-log4j.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/example-apache-log4j.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-apache-log4j.adoc index 1674ae31422..e05d6882a3d 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-apache-log4j.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-apache-log4j.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging-native.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging-native.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging-native.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging-native.adoc index da2abc300fe..2478bbd30e6 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging-native.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging-native.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging.adoc index 2852dc8eacf..3de603a6c1d 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-java-util-logging.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-centralized-logging.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-centralized-logging.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-centralized-logging.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-centralized-logging.adoc index f6a9561c452..1f9b134b4c5 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-centralized-logging.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-centralized-logging.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-sifting.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-sifting.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-sifting.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-sifting.adoc index 7624ef27e52..6247e58293e 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-sifting.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback-sifting.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback.adoc index e64b20333bb..f6de72847f4 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-logback.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-slf4j-multiple-loggers.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-slf4j-multiple-loggers.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/logging/example-slf4j-multiple-loggers.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-slf4j-multiple-loggers.adoc index 3346d328192..9d89a37ff11 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/example-slf4j-multiple-loggers.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/logging/example-slf4j-multiple-loggers.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/maven/jetty-maven-scanning.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/maven/jetty-maven-scanning.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/maven/jetty-maven-scanning.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/maven/jetty-maven-scanning.adoc index e6d74e3b110..2056cc41622 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/maven/jetty-maven-scanning.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/maven/jetty-maven-scanning.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/platforms/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/chapter.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/old_docs/platforms/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/chapter.adoc index 25ed0d2afa6..1a1ab0c6978 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/platforms/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/platforms/cloudfoundry.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/cloudfoundry.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/platforms/cloudfoundry.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/cloudfoundry.adoc index 1dad6099fef..8fde917e852 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/platforms/cloudfoundry.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/cloudfoundry.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/platforms/elastic-beanstalk.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/elastic-beanstalk.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/platforms/elastic-beanstalk.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/elastic-beanstalk.adoc index 4c9b5ba3f3b..d858a3ed4c8 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/platforms/elastic-beanstalk.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/elastic-beanstalk.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/platforms/fedora.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/fedora.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/platforms/fedora.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/fedora.adoc index 381e1cfde5e..d0cf7239e35 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/platforms/fedora.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/fedora.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/platforms/jelastic.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/jelastic.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/old_docs/platforms/jelastic.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/jelastic.adoc index 3027eef93f8..32c688444f0 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/platforms/jelastic.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/jelastic.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/platforms/ubuntu.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/ubuntu.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/old_docs/platforms/ubuntu.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/ubuntu.adoc index b00ee18782a..637e6a842cb 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/platforms/ubuntu.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/platforms/ubuntu.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/runner/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/runner/chapter.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/old_docs/runner/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/runner/chapter.adoc index 56617bab7ab..4b6da731230 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/runner/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/runner/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/runner/jetty-runner.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/runner/jetty-runner.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/runner/jetty-runner.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/runner/jetty-runner.adoc index b0b4fd78982..58a08e0e132 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/runner/jetty-runner.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/runner/jetty-runner.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/authentication.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/authentication.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/security/authentication.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/authentication.adoc index 071f1b195ca..ad1b1e6c49b 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/authentication.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/authentication.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/chapter.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/old_docs/security/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/chapter.adoc index a6e729e4ada..c85a645a37e 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/configuring-form-size.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/configuring-form-size.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/security/configuring-form-size.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/configuring-form-size.adoc index 29f717ace7c..d1694beece9 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/configuring-form-size.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/configuring-form-size.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/jaas-support.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/jaas-support.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/security/jaas-support.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/jaas-support.adoc index a978fa08a4e..63dc3f1600b 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/jaas-support.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/jaas-support.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/jetty-home-and-jetty-base.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/jetty-home-and-jetty-base.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/security/jetty-home-and-jetty-base.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/jetty-home-and-jetty-base.adoc index 21b0cc72863..506f1019c2e 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/jetty-home-and-jetty-base.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/jetty-home-and-jetty-base.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/openid-support.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/openid-support.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/security/openid-support.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/openid-support.adoc index 46ca6d9d75f..57498faff7a 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/openid-support.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/openid-support.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/secure-passwords.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/secure-passwords.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/security/secure-passwords.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/secure-passwords.adoc index 514f5751232..9cd47a4cbf1 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/secure-passwords.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/secure-passwords.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/serving-aliased-files.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/serving-aliased-files.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/security/serving-aliased-files.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/serving-aliased-files.adoc index 0237ed4aa62..288bf01fb3d 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/serving-aliased-files.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/serving-aliased-files.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/setting-port80-access-for-non-root-user.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/setting-port80-access-for-non-root-user.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/security/setting-port80-access-for-non-root-user.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/setting-port80-access-for-non-root-user.adoc index 1934a47b8ca..d6534fd3d66 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/setting-port80-access-for-non-root-user.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/setting-port80-access-for-non-root-user.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/security/spnego-support.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/spnego-support.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/security/spnego-support.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/security/spnego-support.adoc index 1bc5a9b20f8..77a77712de9 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/security/spnego-support.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/security/spnego-support.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/chapter.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/chapter.adoc index cf52c4ed885..22f7f05a23c 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/custom-modules.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/custom-modules.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/custom-modules.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/custom-modules.adoc index 76be7c9ea56..4403e82d75c 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/custom-modules.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/custom-modules.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base-listconfig.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base-listconfig.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base-listconfig.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base-listconfig.adoc index f28e8bf8fb6..16fe888c4fd 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base-listconfig.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base-listconfig.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base.adoc index dbef159b991..a124e2f2ed1 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-empty-base.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy-listconfig.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy-listconfig.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy-listconfig.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy-listconfig.adoc index 82340498c7a..09891791570 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy-listconfig.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy-listconfig.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy.adoc index 734a99b6e18..81ab03d3230 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-http-webapp-deploy.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-logging-modules.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-logging-modules.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-logging-modules.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-logging-modules.adoc index 1058f88a9d2..37d177146d9 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-logging-modules.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-logging-modules.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-modules.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-modules.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-modules.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-modules.adoc index 8b67dca2fab..abe5d844390 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-modules.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/screen-list-modules.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-base-vs-home.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-base-vs-home.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-base-vs-home.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-base-vs-home.adoc index b8735dd92ce..300a1220e61 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-base-vs-home.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-base-vs-home.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-classpath.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-classpath.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-classpath.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-classpath.adoc index 5ac505e18da..9f693f03b68 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-classpath.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-classpath.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-jpms.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-jpms.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-jpms.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-jpms.adoc index d10273641b4..f2efdaf5abd 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-jpms.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-jpms.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-modules.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-modules.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-modules.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-modules.adoc index 862cc20e139..f4e1331ce9c 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-modules.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-modules.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-overview.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-overview.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-overview.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-overview.adoc index 6fb714afc2a..1600a4e2e98 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-overview.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-overview.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-troubleshooting.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-troubleshooting.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-troubleshooting.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-troubleshooting.adoc index 47b559e12a2..a40e16c4f54 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-troubleshooting.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-troubleshooting.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-unix-service.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-unix-service.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-unix-service.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-unix-service.adoc index 849fc588d8d..2dac34e14f3 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-unix-service.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-unix-service.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-windows-service.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-windows-service.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-windows-service.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-windows-service.adoc index 7d4221c3a96..31bc35f6bd4 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-windows-service.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-windows-service.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-xml-config.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-xml-config.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/startup/startup-xml-config.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-xml-config.adoc index 5f0fbd5f36c..aebbd624e26 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-xml-config.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/startup/startup-xml-config.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/chapter.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/chapter.adoc index 66a766da68f..02eca18af22 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/preventing-memory-leaks.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/preventing-memory-leaks.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/preventing-memory-leaks.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/preventing-memory-leaks.adoc index 78639c665f4..ea96c3b4e40 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/preventing-memory-leaks.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/preventing-memory-leaks.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/security-reports.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/security-reports.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/security-reports.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/security-reports.adoc index 0b15858d16c..e8aed4a2f6d 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/security-reports.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/security-reports.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/slow-deployment.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/slow-deployment.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/slow-deployment.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/slow-deployment.adoc index ef0aaf670cc..7badfd83a43 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/slow-deployment.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/slow-deployment.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-locked-files.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-locked-files.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-locked-files.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-locked-files.adoc index fbd5bd770d1..fb9289cbdad 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-locked-files.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-locked-files.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-zip-exceptions.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-zip-exceptions.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-zip-exceptions.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-zip-exceptions.adoc index 710219e9bc2..8f584fe3800 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-zip-exceptions.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/troubleshooting-zip-exceptions.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/watchservice.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/watchservice.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/watchservice.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/watchservice.adoc index 47d33e9652a..ce99dfc9406 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/watchservice.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/troubleshooting/watchservice.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/tuning/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/chapter.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/tuning/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/chapter.adoc index 54e81ee092d..c43316e6363 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/tuning/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/tuning/garbage-collection.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/garbage-collection.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/tuning/garbage-collection.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/garbage-collection.adoc index 3a331b819ed..e03679d48af 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/tuning/garbage-collection.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/garbage-collection.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/tuning/high-load.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/high-load.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/tuning/high-load.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/high-load.adoc index 346c4d55f0e..58bf2a86e05 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/tuning/high-load.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/high-load.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/tuning/limit-load.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/limit-load.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/tuning/limit-load.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/limit-load.adoc index f72554d8860..c21d2514c65 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/tuning/limit-load.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/tuning/limit-load.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/chapter.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/java/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/chapter.adoc index 958f8e66da1..a28f8541bd4 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-client-api.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-client-api.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-client-api.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-client-api.adoc index e6aa42f4dd9..192a706bfab 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-client-api.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-client-api.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-server-api.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-server-api.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-server-api.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-server-api.adoc index 7fe8cc8675f..cd5bf128181 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-server-api.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/java/java-websocket-server-api.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/chapter.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/chapter.adoc index 3d909b1c386..98f4f2a77cb 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-adapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-adapter.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-adapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-adapter.adoc index 85c1f3732d5..a8b9e1e6cd0 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-adapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-adapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-annotations.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-annotations.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-annotations.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-annotations.adoc index 9c731b39c6b..77fae44f66a 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-annotations.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-annotations.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-events.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-events.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-events.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-events.adoc index e20b2700126..1cbb91039d5 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-events.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-events.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-listener.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-listener.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-listener.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-listener.adoc index 83c15e2aa82..57a45e5c2bb 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-listener.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-listener.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-send-message.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-send-message.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-send-message.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-send-message.adoc index 1b986fb6b46..1b3e2159b38 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-send-message.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-send-message.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-session.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-session.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-session.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-session.adoc index 549282bcad3..3d04f29a25a 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-session.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api-session.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api.adoc index e33d8279f2b..ac92be5a22f 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-api.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-client-api.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-client-api.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-client-api.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-client-api.adoc index 67f2f1aadbb..87121b177fa 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-client-api.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-client-api.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-server-api.adoc b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-server-api.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-server-api.adoc rename to documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-server-api.adoc index e11c5addece..3a4c7dc4c8d 100644 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-server-api.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/old_docs/websockets/jetty/jetty-websocket-server-api.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/.asciidoctorconfig b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/.asciidoctorconfig similarity index 70% rename from jetty-documentation/src/main/asciidoc/operations-guide/.asciidoctorconfig rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/.asciidoctorconfig index 41b4a711098..c461a71d3cc 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/.asciidoctorconfig +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/.asciidoctorconfig @@ -1,3 +1,3 @@ // Asciidoctor IDE configuration file. // See https://github.com/asciidoctor/asciidoctor-intellij-plugin/wiki/Support-project-specific-configurations -:JETTY_HOME: ../../../../../../jetty-home/target/jetty-home +:JETTY_HOME: ../../../../../../../jetty-home/target/jetty-home diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/annotations/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/annotations/chapter.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/annotations/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/annotations/chapter.adoc index 1fa17c9c292..2465663d5d3 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/annotations/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/annotations/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/begin/architecture.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/architecture.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/begin/architecture.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/architecture.adoc index 0f9dd1ec6a3..c5a2c43fb90 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/begin/architecture.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/architecture.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/begin/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/chapter.adoc similarity index 85% rename from jetty-documentation/src/main/asciidoc/operations-guide/begin/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/chapter.adoc index b6f689842f5..16bc784256e 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/begin/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -16,7 +16,7 @@ This section will get you started with Eclipse Jetty. -include::../../../../../../jetty-home/src/main/resources/README.adoc[tags=quick] +include::../../../../../../../jetty-home/src/main/resources/README.adoc[tags=quick] The following sections will guide you in details about downloading, installing and starting Jetty, as well as deploying your web applications to Jetty. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/begin/deploy.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/deploy.adoc similarity index 59% rename from jetty-documentation/src/main/asciidoc/operations-guide/begin/deploy.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/deploy.adoc index ac76799b389..241b7927827 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/begin/deploy.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/deploy.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -51,16 +51,13 @@ To deploy a standard web application, you need to enable the `deploy` module (se ---- $ java -jar $JETTY_HOME/start.jar --add-module=deploy ---- + +[source,options=nowrap] ---- -INFO : webapp transitively enabled, ini template available with --add-module=webapp -INFO : security transitively enabled -INFO : servlet transitively enabled -INFO : deploy initialized in ${jetty.base}/start.d/deploy.ini -INFO : mkdir ${jetty.base}/webapps -INFO : Base directory was modified +include::jetty[setupArgs="--add-module=http",args="--add-module=deploy"] ---- -The `deploy` module creates the `$JETTY_BASE/webapps` directory, the directory where `+*.war+` files or `+*.war+` directories should be copied so that Jetty can deploy them. +The `deploy` module creates the `$JETTY_BASE/webapps` directory, the directory where `+*.war+` files or web application directories should be copied so that Jetty can deploy them. [NOTE] ==== @@ -70,13 +67,11 @@ Whether these web applications are served via clear-text HTTP/1.1, or secure HTT Refer to the xref:og-protocols[section about protocols] for further information. ==== -Now you need to copy a web application to the `$JETTY_BASE/webapps` directory: +Now you need to copy a web application to the `$JETTY_BASE/webapps` directory, and you can use one of the demos shipped with Jetty: ---- -curl https://repo1.maven.org/maven2/org/eclipse/jetty/test-jetty-webapp/10.0.0/test-jetty-webapp-10.0.0.war --output $JETTY_BASE/webapps/test.war +$ java -jar $JETTY_HOME/start.jar --add-module=demo-simple ---- -// TODO: this webapp requires the login module, need something simpler. -// TODO: replace this with a module, so the download is done by the module. The `$JETTY_BASE` directory is now: @@ -88,7 +83,7 @@ $JETTY_BASE │ ├── deploy.ini │ └── http.ini └── webapps - └── test.war + └── demo-simple.war ---- Now start Jetty: @@ -96,20 +91,14 @@ Now start Jetty: ---- $ java -jar $JETTY_HOME/start.jar ---- ----- -2020-09-16 09:53:38.182:INFO :oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-09-16T07:47:47.334Z; git: d45455b32d96f516d39e03b53e91502a34b04f37; jvm 15+36-1562 -2020-09-16 09:53:38.205:INFO :oejdp.ScanningAppProvider:main: Deployment monitor [file:///tmp/jetty.base/webapps/] at interval 1 -2020-09-16 09:53:38.293:WARN :oejshC.test:main: The async-rest webapp is deployed. DO NOT USE IN PRODUCTION! -2020-09-16 09:53:38.298:INFO :oejw.StandardDescriptorProcessor:main: NO JSP Support for /test, did not find org.eclipse.jetty.jsp.JettyJspServlet -2020-09-16 09:53:38.306:INFO :oejss.DefaultSessionIdManager:main: DefaultSessionIdManager workerName=node0 -2020-09-16 09:53:38.306:INFO :oejss.DefaultSessionIdManager:main: No SessionScavenger set, using defaults -2020-09-16 09:53:38.307:INFO :oejss.HouseKeeper:main: node0 Scavenging every 660000ms -2020-09-16 09:53:38.331:INFO :oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@45b4c3a9{Async REST Webservice Example,/test,[file:///tmp/jetty-0_0_0_0-8080-test_war-_test-any-15202033063643714058.dir/webapp/, jar:file:///tmp/jetty-0_0_0_0-8080-test_war-_test-any-15202033063643714058.dir/webapp/WEB-INF/lib/example-async-rest-jar-10.0.0-SNAPSHOT.jar!/META-INF/resources],AVAILABLE}{/tmp/jetty.base/webapps/test.war} -2020-09-16 09:53:38.338:INFO :oejs.AbstractConnector:main: Started ServerConnector@543295b0{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} -2020-09-16 09:53:38.347:INFO :oejs.Server:main: Started Server@5ffead27{STARTING}[10.0.0-SNAPSHOT,sto=5000] @593ms ----- -// TODO: highlight the line that says that it deployed a context -Now you can access the web application by pointing your browser to `+http://localhost:8080/test+`. +[source,subs=quotes,options=nowrap] +---- +include::jetty[setupArgs="--add-modules=http,deploy,demo-simple",highlight="WebAppContext"] +---- + +Note the highlighted line that logs the deployment of `demo-simple.war`. + +Now you can access the web application by pointing your browser to `+http://localhost:8080/demo-simple+`. If you want to customize the deployment of your web application, for example by specifying a `contextPath` different from the file/directory name, or by specifying JNDI entries, or by specifying virtual hosts, etc. read xref:og-deploy[this section]. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/begin/download.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/download.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/operations-guide/begin/download.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/download.adoc index 4db15ac300b..34cba9be82e 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/begin/download.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/download.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/begin/install.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/install.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/operations-guide/begin/install.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/install.adoc index 36ccd58e1ce..2f1a345c1ff 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/begin/install.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/install.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/begin/start.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/start.adoc similarity index 70% rename from jetty-documentation/src/main/asciidoc/operations-guide/begin/start.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/start.adoc index 1577cb216ac..4f570f6bc4b 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/begin/start.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/start.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -29,11 +29,10 @@ $ JETTY_BASE=/path/to/jetty.base $ cd $JETTY_BASE $ java -jar $JETTY_HOME/start.jar ---- ----- -ERROR : Nothing to start, exiting ... -Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs] - java -jar $JETTY_HOME/start.jar --help # for more information +[source,options=nowrap] +---- +include::jetty[] ---- The error is normal, since the `$JETTY_BASE` you just created is empty and therefore there is no configuration to use to assemble the Jetty server. @@ -52,18 +51,10 @@ Try to enable the `http` module (see also xref:og-protocols-http[this section] f ---- $ java -jar $JETTY_HOME/start.jar --add-module=http ---- + +[source,options=nowrap] ---- -INFO : mkdir ${jetty.base}/start.d -INFO : server transitively enabled, ini template available with --add-module=server -INFO : logging-jetty transitively enabled -INFO : http initialized in ${jetty.base}/start.d/http.ini -INFO : resources transitively enabled -INFO : threadpool transitively enabled, ini template available with --add-module=threadpool -INFO : logging/slf4j dynamic dependency of logging-jetty -INFO : bytebufferpool transitively enabled, ini template available with --add-module=bytebufferpool -INFO : mkdir ${jetty.base}/resources -INFO : copy ${jetty.home}/modules/logging/jetty/resources/jetty-logging.properties to ${jetty.base}/resources/jetty-logging.properties -INFO : Base directory was modified +include::jetty[args="--add-module=http"] ---- Now you can start Jetty: @@ -71,11 +62,10 @@ Now you can start Jetty: ---- $ java -jar $JETTY_HOME/start.jar ---- -[source,subs=quotes] + +[source,subs=quotes,options=nowrap] ---- -2020-09-11 15:35:17.451:INFO :oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-09-10T11:01:33.608Z; git: b10a14ebf9b200da388f4f9a2036bd8117ee0b11; jvm 11.0.8+10 -2020-09-11 15:35:17.485:INFO :oejs.AbstractConnector:main: Started ServerConnector@2d52216b{HTTP/1.1, #(http/1.1)}{0.0.0.0:8080}# -2020-09-11 15:35:17.496:INFO :oejs.Server:main: Started Server@44821a96{STARTING}[10.0.0-SNAPSHOT,sto=5000] @553ms +include::jetty[args="--module=http",highlight="(\{.*:8080})"] ---- Note how Jetty is listening on port `8080` for clear-text HTTP/1.1 connections. @@ -128,11 +118,10 @@ If you restart Jetty, the new value will be used: ---- $ java -jar $JETTY_HOME/start.jar ---- -[source,subs=quotes] + +[source,subs=quotes,options=nowrap] ---- -2020-09-11 15:35:17.451:INFO :oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-09-10T11:01:33.608Z; git: b10a14ebf9b200da388f4f9a2036bd8117ee0b11; jvm 11.0.8+10 -2020-09-11 15:35:17.485:INFO :oejs.AbstractConnector:main: Started ServerConnector@2d52216b{HTTP/1.1, #(http/1.1)}{0.0.0.0:9999}# -2020-09-11 15:35:17.496:INFO :oejs.Server:main: Started Server@44821a96{STARTING}[10.0.0-SNAPSHOT,sto=5000] @553ms +include::jetty[args="--module=http jetty.http.port=9999",highlight="(\{.*:9999})"] ---- Note how Jetty is now listening on port `9999` for clear-text HTTP/1.1 connections. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/contexts/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/contexts/chapter.adoc similarity index 90% rename from jetty-documentation/src/main/asciidoc/operations-guide/contexts/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/contexts/chapter.adoc index 7334ad5da8c..d4fae5bd29f 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/contexts/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/contexts/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/chapter.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/operations-guide/deploy/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/chapter.adoc index 6652a92e274..65a0ae11699 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-extract-war.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-extract-war.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-extract-war.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-extract-war.adoc index debb6dd3692..7fc750ad680 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-extract-war.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-extract-war.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-hot-static.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-hot-static.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-hot-static.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-hot-static.adoc index b632d506e72..f67b8a491d2 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-hot-static.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-hot-static.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jetty.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jetty.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jetty.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jetty.adoc index 6fa70025fa2..dc041112e96 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jetty.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jetty.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jndi.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jndi.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jndi.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jndi.adoc index ca6a2de0114..1e4b33e6f9f 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jndi.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-jndi.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-override-webxml.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-override-webxml.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-override-webxml.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-override-webxml.adoc index b8bf7823f0a..8783b406192 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-override-webxml.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-override-webxml.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-rules.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-rules.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-rules.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-rules.adoc index df1999749b7..0ecabe888c3 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-rules.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-rules.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-virtual-hosts.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-virtual-hosts.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-virtual-hosts.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-virtual-hosts.adoc index 1d9c6d26281..c773ad36e11 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-virtual-hosts.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/deploy/deploy-virtual-hosts.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/index-docinfo.html b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/index-docinfo.html new file mode 100644 index 00000000000..a64c8691904 --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/index-docinfo.html @@ -0,0 +1,2 @@ + + diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/index.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/index.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/operations-guide/index.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/index.adoc index b87a24cce2e..a937b4df7d2 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/index.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/index.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -15,6 +15,7 @@ :toc-title: Operations Guide :breadcrumb: Home:../index.html | Operations Guide:./index.html :idprefix: og- +:docinfo: private-head include::../config.adoc[] include::.asciidoctorconfig[] @@ -34,4 +35,5 @@ include::jsp/chapter.adoc[] include::jndi/chapter.adoc[] include::jaas/chapter.adoc[] include::jmx/chapter.adoc[] +include::logging/chapter.adoc[] include::troubleshooting/chapter.adoc[] diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/introduction.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/introduction.adoc similarity index 81% rename from jetty-documentation/src/main/asciidoc/operations-guide/introduction.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/introduction.adoc index ce472e39436..77d5f79aefb 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/introduction.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/introduction.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -16,7 +16,7 @@ The Eclipse Jetty Operations Guide targets sysops, devops, and developers who want to install Eclipse Jetty as a standalone server to deploy web applications. -=== Introduction +=== Getting Started If you are new to Eclipse Jetty, read xref:og-begin[here] to download, install, start and deploy web applications to Jetty. @@ -24,14 +24,23 @@ If you are new to Eclipse Jetty, read xref:og-begin[here] to download, install, If you know Eclipse Jetty already, jump to a feature: -* xref:og-sessions[HTTP Session Caching and Clustering] +Protocols:: +* xref:og-protocols-http[HTTP/1.1 Support] * xref:og-protocols-http2[HTTP/2 Support] -* xref:og-annotations[Annotations] -* xref:og-quickstart[Faster Web Application Deployment] +* xref:og-protocols-websocket[WebSocket Support] + +Technologies:: +* xref:og-annotations[Servlet Annotations] * xref:og-jaas[JAAS] * xref:og-jndi[JNDI] * xref:og-jsp[JSP] -* xref:og-jmx[Monitoring & Management] +* xref:og-jmx[JMX Monitoring & Management] + +Clustering:: +* xref:og-sessions[HTTP Session Caching and Clustering] + +Performance:: +* xref:og-quickstart[Faster Web Application Deployment] TODO @@ -46,4 +55,5 @@ TODO * xref:og-protocols-http2c[Configure Clear-Text HTTP/2] * xref:og-protocols-http2s[Configure Secure HTTP/2] * xref:og-protocols-proxy[Configure Jetty Behind a Load Balancer or Reverse Proxy] +* xref:og-logging[Configure Jetty Logging] * xref:og-troubleshooting[Troubleshooting] diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/jaas/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jaas/chapter.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/jaas/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/jaas/chapter.adoc index 0501dd0d6b0..9359a6e02e1 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/jaas/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jaas/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/jmx/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/chapter.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/operations-guide/jmx/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/chapter.adoc index cecbf5b303a..ce904ccdba1 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/jmx/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-local.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-local.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-local.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-local.adoc index caa7bab69ed..7058f44071c 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-local.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-local.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-remote.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-remote.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-remote.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-remote.adoc index 7ae26039c38..6695047e362 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-remote.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jmx/jmx-remote.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -130,7 +130,7 @@ service:jmx:rmi://localhost:1099/jndi/rmi://localhost:1099/jmxrmi You must set the system property `-Djava.rmi.server.hostname=localhost` so that the RMI stub contains `localhost` as the host name to connect to. This is, incidentally, the default configuration of the `jmx-remote` module. -Then you setup the local port forwarding with the SSH tunnel: +Then you set up the local port forwarding with the SSH tunnel: ---- $ ssh -L 1099:localhost:1099 @ @@ -152,7 +152,7 @@ For a complete guide to controlling authentication and authorization in JMX, see The simplest way to control JMX authentication and authorization is to specify two files: one contains username and password pairs, and the other contains username and permission pairs. -This is achieved by enbling the `jmx-remote-auth` Jetty module: +This is achieved by enabling the `jmx-remote-auth` Jetty module: ---- $ java -jar $JETTY_HOME/start.jar --add-module=jmx-remote-auth diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/jndi/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jndi/chapter.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/jndi/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/jndi/chapter.adoc index 76746e7411d..a927dc407ec 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/jndi/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jndi/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/jsp/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jsp/chapter.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/jsp/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/jsp/chapter.adoc index 81d1f3a8d6e..0e3a2efa6e0 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/jsp/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/jsp/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/keystore/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/chapter.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/operations-guide/keystore/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/chapter.adoc index 5c2b8c284cf..4d1b1a3657b 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/keystore/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-client-authn.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-client-authn.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-client-authn.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-client-authn.adoc index 42b9e6f2430..d423ed6f385 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-client-authn.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-client-authn.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-create.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-create.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-create.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-create.adoc index 8a1aed4da09..80b341c38bf 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-create.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-create.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-csr.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-csr.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-csr.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-csr.adoc index 2dd6598cce8..960e5c35206 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-csr.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/keystore/keystore-csr.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/logging/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/logging/chapter.adoc new file mode 100644 index 00000000000..190877d06b4 --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/logging/chapter.adoc @@ -0,0 +1,17 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +[[og-logging]] +=== Eclipse Jetty Logging + +TODO diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/chapter.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/chapter.adoc index eb280390476..4236fb900f0 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-alpn.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-alpn.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-alpn.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-alpn.adoc index 7558ce7be3a..9d4b83bd81a 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-alpn.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-alpn.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-bytebufferpool.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-bytebufferpool.adoc new file mode 100644 index 00000000000..744b2131944 --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-bytebufferpool.adoc @@ -0,0 +1,40 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +[[og-module-bytebufferpool]] +==== Module `bytebufferpool` + +The `bytebufferpool` module allows you to configure the server-wide `ByteBuffer` pool. +Pooling ``ByteBuffer``s results in less memory usage and less pressure on the Garbage Collector. + +``ByteBuffer``s are pooled in _buckets_; each bucket as a capacity that is a multiple of a capacity factor that you can configure. +For example, if a request for a `ByteBuffer` of capacity 2000 is requested, and the capacity factor is 1024, then the pool will allocate a buffer from the second bucket, of capacity 2048 (1024 * 2). + +Applications that need to sustain many concurrent requests -- or load spikes -- may require many buffers during peak load. These buffers will remain pooled once the system transitions to a lighter load (or becomes idle), and it may be undesirable to retain a lot of memory for an idle system. + +It is possible to configure the max heap memory and the max direct memory that the pool retains. +Excess buffers will not be pooled and will be eventually garbage collected. + +The module file is `$JETTY_HOME/modules/bytebufferpool.mod`: + +---- +include::{JETTY_HOME}/modules/bytebufferpool.mod[] +---- + +Among the configurable properties, the most relevant are: + +`jetty.byteBufferPool.maxHeapMemory`:: +This property allows you to cap the max heap memory retained by the pool. + +`jetty.byteBufferPool.maxDirectMemory`:: +This property allows you to cap the max direct memory retained by the pool. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-deploy.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-deploy.adoc similarity index 83% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-deploy.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-deploy.adoc index 97e91426866..ff064e77587 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-deploy.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-deploy.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -26,6 +26,8 @@ include::{JETTY_HOME}/modules/deploy.mod[] Among the configurable properties, the most relevant are: -* `jetty.deploy.monitoredDir`, to change the name of the monitored directory. -* `jetty.deploy.scanInterval`, to change the scan period, that is how frequently the `DeploymentManager` wakes up to scan the monitored directory for changes. +`jetty.deploy.monitoredDir`:: +The name of the monitored directory. +`jetty.deploy.scanInterval`:: +The scan period in seconds, that is how frequently the `DeploymentManager` wakes up to scan the monitored directory for changes. Setting `jetty.deploy.scanInterval=0` disabled _hot_ deployment so that only static deployment will be possible (see also xref:og-deploy-hot-static[here] for more information). diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http-forwarded.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http-forwarded.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http-forwarded.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http-forwarded.adoc index 747028719e6..43e4e924518 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http-forwarded.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http-forwarded.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http.adoc similarity index 80% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http.adoc index fcf6a74c4d1..3500b1c03cb 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -24,10 +24,14 @@ include::{JETTY_HOME}/modules/http.mod[tags=documentation] Among the configurable properties, the most relevant are: -* `jetty.http.port`, default `8080`, is the network port that Jetty listens to for clear-text HTTP/1.1 connections. -* `jetty.http.idleTimeout`, default `30` seconds, is the amount of time a connection can be idle (i.e. no bytes received and no bytes sent) until the server decides to close it to save resources. -* `jetty.http.acceptors`, default -1 (i.e. an accept heuristic decides the value based on the number of cores), is the number of threads that compete to accept connections. -* `jetty.http.selectors`, default -1 (i.e. a select heuristic decides the value based on the number of cores), is the number of NIO selectors (with an associated thread) that manage connections. +`jetty.http.port`:: +The network port that Jetty listens to for clear-text HTTP/1.1 connections -- default `8080`. +`jetty.http.idleTimeout`:: +The amount of time a connection can be idle (i.e. no bytes received and no bytes sent) until the server decides to close it to save resources -- default `30` seconds. +`jetty.http.acceptors`:: +The number of threads that compete to accept connections -- default -1 (i.e. an accept heuristic decides the value based on the number of cores). +`jetty.http.selectors`:: +The number of NIO selectors (with an associated thread) that manage connections -- default -1 (i.e. a select heuristic decides the value based on the number of cores). [[og-module-http-acceptors]] ===== Configuration of Acceptors diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2.adoc index 847cc74a812..0e3a00a3081 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2c.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2c.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2c.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2c.adoc index 4843072d72d..50c47eaf25a 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2c.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-http2c.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-https.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-https.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-https.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-https.adoc index 1de290e6835..faff6d9bcd4 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-https.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-https.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-jmx-remote.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-jmx-remote.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-jmx-remote.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-jmx-remote.adoc index ce4473af7af..4836af8a2ab 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-jmx-remote.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-jmx-remote.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-server.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-server.adoc similarity index 67% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-server.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-server.adoc index 524ae611bd8..002d3d64ada 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-server.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-server.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -26,6 +26,14 @@ include::{JETTY_HOME}/modules/server.mod[] Among the configurable properties, the most relevant are: -TODO - // TODO: consider extracting the httpConfig and scheduler properties into separate files. + +`jetty.server.dumpAfterStart`:: +Whether to perform a `Server.dump()` operation after the `Server` has started. +The output of the dump operation is sent to `System.err`. +See also the xref:og-troubleshooting-dump[Jetty Server Dump] section for more information. + +`jetty.server.dumpBeforeStop`:: +Whether to perform a `Server.dump()` operation before the `Server` stops. +The output of the dump operation is sent to `System.err`. +See also the xref:og-troubleshooting-dump[Jetty Server Dump] section for more information. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl-reload.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl-reload.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl-reload.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl-reload.adoc index 25aeb43432f..a3fd264387b 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl-reload.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl-reload.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl.adoc similarity index 77% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl.adoc index d17a867a07a..4fb6295b2f4 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-ssl.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -28,14 +28,14 @@ include::{JETTY_HOME}/modules/ssl.mod[tags=documentation-connector] Among the configurable properties, the most relevant are: `jetty.ssl.port`:: -the network port that Jetty listens to for secure connections -- default `8443`. +The network port that Jetty listens to for secure connections -- default `8443`. `jetty.http.idleTimeout`:: -the amount of time a connection can be idle (i.e. no bytes received and no bytes sent) until the server decides to close it to save resources -- default `30000` milliseconds. +The amount of time a connection can be idle (i.e. no bytes received and no bytes sent) until the server decides to close it to save resources -- default `30000` milliseconds. `jetty.http.acceptors`:: -the number of threads that compete to accept connections -- default -1 (i.e. an accept heuristic decides the value based on the number of cores). +The number of threads that compete to accept connections -- default -1 (i.e. an accept heuristic decides the value based on the number of cores). Refer to xref:og-module-http-acceptors[this section] for more information about acceptor threads. `jetty.http.selectors`:: -the number of NIO selectors (with an associated thread) that manage connections -- default -1 (i.e. a select heuristic decides the value based on the number of cores). +The number of NIO selectors (with an associated thread) that manage connections -- default -1 (i.e. a select heuristic decides the value based on the number of cores). Refer to xref:og-module-http-selectors[this section] for more information about selector threads. The module properties to configure the KeyStore and TLS parameters are: @@ -49,19 +49,17 @@ include::{JETTY_HOME}/modules/ssl.mod[tags=documentation-ssl-context] Among the configurable properties, the most relevant are: -jetty.sslContext.keyStorePath:: -the KeyStore path on the file system. -If it is a relative path, it is relative to `$JETTY_BASE`. -Defaults to `$JETTY_BASE/etc/keystore.p12`. +`jetty.sslContext.keyStorePath`:: +The KeyStore path on the file system relative to `$JETTY_BASE` -- defaults to `$JETTY_BASE/etc/keystore.p12`. `jetty.sslContext.keyStorePassword`:: -the KeyStore password, which you want to explicitly configure. +The KeyStore password, which you want to explicitly configure. The password may be obfuscated with the xref:og-password[Jetty Password Tool]. If you need to configure client certificate authentication, you want to configure one of these properties (they are mutually exclusive): `jetty.sslContext.needClientAuth`:: -whether client certificate authentication should be required. +Whether client certificate authentication should be required. `jetty.sslContext.wantClientAuth`:: -whether client certificate authentication should be requested. +Whether client certificate authentication should be requested. If you configure client certificate authentication, you need to configure and distribute a client KeyStore as explained in xref:og-keystore-client-authn[this section]. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-test-keystore.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-test-keystore.adoc similarity index 72% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/module-test-keystore.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-test-keystore.adoc index fb3a1d3655b..1ffe02b7a3e 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-test-keystore.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-test-keystore.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -14,7 +14,8 @@ [[og-module-test-keystore]] ==== Module `test-keystore` -The `test-keystore` module provides a KeyStore containing a self-signed certificate for domain `localhost`. +The `test-keystore` module creates on-the-fly a KeyStore containing a self-signed certificate for domain `localhost`. +The KeyStore file is automatically deleted when the JVM exits, and re-created when you restart Jetty, to enforce the fact that it is a _test_ KeyStore that should not be reused if not for testing. The module file is `$JETTY_HOME/modules/test-keystore.mod`: diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-threadpool.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-threadpool.adoc new file mode 100644 index 00000000000..7c2eceb2eb8 --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-threadpool.adoc @@ -0,0 +1,39 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +[[og-module-threadpool]] +==== Module `threadpool` + +The `threadpool` module allows you to configure the server-wide thread pool. + +The thread pool creates threads on demand up to `maxThreads`, and idle them out if they are not used. + +Since Jetty uses the thread pool internally to execute critical tasks, it is not recommended to constrain the thread pool to small values of `maxThreads` with the purpose of limiting HTTP request concurrency, as this could very likely cause a server lockup when Jetty needs to run a critical task but there are no threads available. +Start with the default value of `maxThreads`, and tune for larger values if needed. + +The module file is `$JETTY_HOME/modules/threadpool.mod`: + +---- +include::{JETTY_HOME}/modules/threadpool.mod[] +---- + +Among the configurable properties, the most relevant are: + +`jetty.threadPool.detailedDump`:: +Whether the thread pool should dump the whole stack trace of each thread, or just the topmost stack frame -- defaults to `false`. + +`jetty.threadPool.idleTimeout`:: +The time, in milliseconds, after which an idle thread is released from the pool -- defaults to 60000, i.e. 60 seconds. + +`jetty.threadPool.maxThreads`:: +The max number of threads pooled by the thread pool -- defaults to 200. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/modules.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/modules.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/operations-guide/modules/modules.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/modules.adoc index 842d702eac9..162dddd6e57 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/modules.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/modules/modules.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/chapter.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/operations-guide/protocols/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/chapter.adoc index 3f55153bc3b..887808fb647 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http.adoc index e8c15c6e2e9..1c713e9d770 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2.adoc index d9b78c0f9e1..ea4db2adad0 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2c.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2c.adoc similarity index 81% rename from jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2c.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2c.adoc index bed91d1aada..9f30ee051c3 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2c.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2c.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -30,11 +30,10 @@ Starting Jetty yields: ---- $ java -jar $JETTY_HOME/start.jar ---- -[source,subs=quotes] + +[source,subs=quotes,options=nowrap] ---- -2020-09-30 09:18:36.322:INFO :oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-09-29T22:40:09.015Z; git: ba5f91fe00a68804a586b7dd4e2520c8c948dcc8; jvm 15+36-1562 -2020-09-30 09:18:36.349:INFO :oejs.AbstractConnector:main: Started ServerConnector@636be97c##{HTTP/1.1, (http/1.1, h2c)}{0.0.0.0:8080}## -2020-09-30 09:18:36.361:INFO :oejs.Server:main: Started Server@3c72f59f{STARTING}[10.0.0-SNAPSHOT,sto=5000] @526ms +include::jetty[setupArgs="--add-modules=http,http2c",highlight="(\{.+:8080})"] ---- Note how Jetty is listening on port `8080` and the protocols supported are HTTP/1.1 and `h2c` (i.e. clear-text HTTP/2). diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2s.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2s.adoc similarity index 73% rename from jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2s.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2s.adoc index c5235520038..e3e728f838a 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2s.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-http2s.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -30,7 +30,7 @@ $ java -jar $JETTY_HOME/start.jar --add-modules=ssl,http2,https As when enabling the `https` Jetty module, you need a valid KeyStore (read xref:og-keystore[this section] to create your own KeyStore). -As a quick example, you can enable the xref:og-module-test-keystore[`test-keystore` module], that provides a KeyStore containing a self-signed certificate: +As a quick example, you can enable the xref:og-module-test-keystore[`test-keystore` module], that creates on-the-fly a KeyStore containing a self-signed certificate: ---- $ java -jar $JETTY_HOME/start.jar --add-modules=test-keystore @@ -41,12 +41,10 @@ Starting Jetty yields: ---- $ java -jar $JETTY_HOME/start.jar ---- -[source,subs=quotes] + +[source,subs=quotes,options=nowrap] ---- -2020-09-29 19:00:47.316:INFO :oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-09-29T13:28:40.441Z; git: 9c0082610528a846b366ae26f4c74894579a8e48; jvm 15+36-1562 -2020-09-29 19:00:47.528:INFO :oejus.SslContextFactory:main: x509=X509@7770f470(mykey,h=[localhost],w=[]) for Server@24313fcc[provider=null,keyStore=file:///tmp/jetty.base/etc/test-keystore.p12,trustStore=file:///tmp/jetty.base/etc/test-keystore.p12] -2020-09-29 19:00:47.621:INFO :oejs.AbstractConnector:main: Started ServerConnector@73700b80##{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443}## -2020-09-29 19:00:47.630:INFO :oejs.Server:main: Started Server@30ee2816{STARTING}[10.0.0-SNAPSHOT,sto=5000] @746ms +include::jetty[setupArgs="--add-modules=ssl,http2,https,test-keystore",highlight="(\{.*:8443})"] ---- Note how Jetty is listening on port `8443` and the protocols supported are the sequence `(ssl, alpn, h2, http/1.1)`. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-https.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-https.adoc similarity index 56% rename from jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-https.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-https.adoc index d1e60213a0a..e4a08992be2 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-https.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-https.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -19,20 +19,10 @@ Secure HTTP/1.1 is enabled with both the `ssl` and `https` Jetty modules with th ---- $ java -jar $JETTY_HOME/start.jar --add-modules=ssl,https ---- + +[source,options=nowrap] ---- -INFO : mkdir ${jetty.base}/start.d -INFO : server transitively enabled, ini template available with --add-module=server -INFO : logging-jetty transitively enabled -INFO : resources transitively enabled -INFO : https initialized in ${jetty.base}/start.d/https.ini -INFO : ssl initialized in ${jetty.base}/start.d/ssl.ini -INFO : threadpool transitively enabled, ini template available with --add-module=threadpool -INFO : logging/slf4j transitive provider of logging/slf4j for logging-jetty -INFO : logging/slf4j dynamic dependency of logging-jetty -INFO : bytebufferpool transitively enabled, ini template available with --add-module=bytebufferpool -INFO : mkdir ${jetty.base}/resources -INFO : copy ${jetty.home}/modules/logging/jetty/resources/jetty-logging.properties to ${jetty.base}/resources/jetty-logging.properties -INFO : Base directory was modified +include::jetty[args="--add-modules=ssl,https"] ---- The command above enables the `ssl` module, that provides the secure network connector, the KeyStore configuration and TLS configuration -- for more details see xref:og-protocols-ssl[this section]. @@ -56,16 +46,15 @@ You need to configure these two properties by editing `ssl.ini`: * `jetty.sslContext.keyStorePath` * `jetty.sslContext.keyStorePassword` -As a quick example, you can enable the xref:og-module-test-keystore[`test-keystore` module], that provides a KeyStore containing a self-signed certificate: +As a quick example, you can enable the xref:og-module-test-keystore[`test-keystore` module], that creates on-the-fly a KeyStore containing a self-signed certificate: ---- $ java -jar $JETTY_HOME/start.jar --add-modules=test-keystore ---- + +[source,options=nowrap] ---- -INFO : test-keystore initialized in ${jetty.base}/start.d/test-keystore.ini -INFO : mkdir ${jetty.base}/etc -INFO : copy ${jetty.home}/modules/test-keystore/test-keystore.p12 to ${jetty.base}/etc/test-keystore.p12 -INFO : Base directory was modified +include::jetty[setupArgs="--add-modules=ssl,https",args="--add-modules=test-keystore"] ---- The `$JETTY_BASE` directory is now: @@ -87,12 +76,10 @@ Starting Jetty yields: ---- $ java -jar $JETTY_HOME/start.jar ---- -[source,subs=quotes] + +[source,subs=quotes,options=nowrap] ---- -2020-09-22 08:40:49.482:INFO :oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-09-21T14:44:05.094Z; git: 5c33f526e5b7426dd9644ece61b10184841bb8fa; jvm 15+36-1562 -2020-09-22 08:40:49.709:INFO :oejus.SslContextFactory:main: x509=X509@14cd1699(mykey,h=[localhost],w=[]) for Server@73a1e9a9[provider=null,keyStore=file:///tmp/jetty.base/etc/test-keystore.p12,trustStore=file:///tmp/jetty.base/etc/test-keystore.p12] -2020-09-22 08:40:49.816:INFO :oejs.AbstractConnector:main: Started ServerConnector@2e1d27ba##{SSL, (ssl, http/1.1)}{0.0.0.0:8443}## -2020-09-22 08:40:49.828:INFO :oejs.Server:main: Started Server@2f177a4b{STARTING}[10.0.0-SNAPSHOT,sto=5000] @814ms +include::jetty[setupArgs="--add-modules=ssl,https,test-keystore",highlight="(\{.*:8443})"] ---- Note how Jetty is listening on port `8443` for the secure HTTP/1.1 protocol. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-proxy.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-proxy.adoc similarity index 83% rename from jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-proxy.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-proxy.adoc index 88423573b83..b8a34166fc9 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-proxy.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-proxy.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -70,14 +70,21 @@ Forwarded: for=2.36.72.144:21216;proto=https In the example above, the intermediary added the `Forwarded` header specifying that the client remote address is `2.36.72.144:21216` and that the request was made with the `https` scheme. -Support for the `Forwarded` HTTP header (and its predecessor `X-Forwarded-*` headers) is enabled with the `http-forwarded` Jetty module with the following command (issued from within the `$JETTY_BASE` directory): +Let's assume you have already configured Jetty with the HTTP/1.1 protocol with the following command (issued from within the `$JETTY_BASE` directory): + +---- +$ java -jar $JETTY_HOME/start.jar --add-module=http +---- + +Support for the `Forwarded` HTTP header (and its predecessor `X-Forwarded-*` headers) is enabled with the `http-forwarded` Jetty module: ---- $ java -jar $JETTY_HOME/start.jar --add-module=http-forwarded ---- + +[source,options=nowrap] ---- -INFO : http-forwarded initialized in ${jetty.base}/start.d/http-forwarded.ini -INFO : Base directory was modified +include::jetty[setupArgs="--add-module=http",args="--add-module=http-forwarded"] ---- With the `http-forwarded` Jetty module enabled, Jetty interprets the `Forwarded` header and makes its information available to web applications via the standard Servlet APIs. @@ -103,14 +110,21 @@ Proxy protocol v2 has a binary format, carries the information about the client Support for the proxy protocol can be enabled for the clear-text connector or for the secure connector (or both). -To enable proxy protocol support for the clear-text connector, enable the `proxy-protocol` Jetty module with the following command (issued from within the `$JETTY_BASE` directory): +Let's assume you have already configured Jetty with the HTTP/1.1 clear-text protocol with the following command (issued from within the `$JETTY_BASE` directory): + +---- +$ java -jar $JETTY_HOME/start.jar --add-module=http +---- + +To enable proxy protocol support for the clear-text connector, enable the `proxy-protocol` Jetty module: ---- $ java -jar $JETTY_HOME/start.jar --add-module=proxy-protocol ---- + +[source,options=nowrap] ---- -INFO : proxy-protocol initialized in ${jetty.base}/start.d/proxy-protocol.ini -INFO : Base directory was modified +include::jetty[setupArgs="--add-module=http",args="--add-module=proxy-protocol"] ---- Starting Jetty yields: @@ -118,25 +132,32 @@ Starting Jetty yields: ---- $ java -jar $JETTY_HOME/start.jar ---- -[source,subs=quotes] + +[source,subs=quotes,options=nowrap] ---- -2020-10-12 18:44:25.246:INFO :oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-10-12T13:49:35.796Z; git: 1cd15e8d85feb308527c3df560734fc2ca1bc13c; jvm 15+36-1562 -2020-10-12 18:44:25.267:INFO :oejdp.ScanningAppProvider:main: Deployment monitor [file:///tmp/jetty.base/webapps/] -2020-10-12 18:44:25.276:INFO :oejs.AbstractConnector:main: Started ServerConnector@7a8c8dcf{[proxy], ##([proxy], http/1.1)##}{0.0.0.0:8080} -2020-10-12 18:44:25.285:INFO :oejs.Server:main: Started Server@5c5eefef{STARTING}[10.0.0-SNAPSHOT,sto=5000] @486ms +include::jetty[args="--module=proxy-protocol",highlight="(\{.*:8080})"] ---- Note how in the example above the list of protocols for the clear-text connector is first `proxy` and then `http/1.1`. For every new TCP connection, Jetty first interprets the proxy protocol bytes with the client information; after this initial proxy protocol processing, Jetty interprets the incoming bytes as HTTP/1.1 bytes. -Similarly, to enable proxy protocol support for the secure connector, enable the `proxy-protocol-ssl` Jetty module with the following command (issued from within the `$JETTY_BASE` directory): +Enabling proxy protocol support for the secure connector is similar. + +Let's assume you have already configured Jetty with the HTTP/1.1 secure protocol and the test KeyStore with the following command (issued from within the `$JETTY_BASE` directory): + +---- +$ java -jar $JETTY_HOME/start.jar --add-module=https,test-keystore +---- + +Enable the `proxy-protocol-ssl` Jetty module with the following command (issued from within the `$JETTY_BASE` directory): ---- $ java -jar $JETTY_HOME/start.jar --add-module=proxy-protocol-ssl ---- + +[source,options=nowrap] ---- -INFO : proxy-protocol-ssl initialized in ${jetty.base}/start.d/proxy-protocol-ssl.ini -INFO : Base directory was modified +include::jetty[setupArgs="--add-module=https",args="--add-module=proxy-protocol-ssl"] ---- Starting Jetty yields: @@ -144,13 +165,10 @@ Starting Jetty yields: ---- $ java -jar $JETTY_HOME/start.jar ---- -[source,subs=quotes] + +[source,subs=quotes,options=nowrap] ---- -2020-10-12 19:09:38.397:INFO :oejs.Server:main: jetty-10.0.0-SNAPSHOT; built: 2020-10-12T13:49:35.796Z; git: 1cd15e8d85feb308527c3df560734fc2ca1bc13c; jvm 15+36-1562 -2020-10-12 19:09:38.417:INFO :oejdp.ScanningAppProvider:main: Deployment monitor [file:///tmp/jetty.base/webapps/] -2020-10-12 19:09:38.605:INFO :oejus.SslContextFactory:main: x509=X509@4a7f959b(mykey,h=[localhost],w=[]) for Server@5403f35f[provider=null,keyStore=file:///tmp/jetty.base/etc/test-keystore.p12,trustStore=file:///tmp/jetty.base/etc/test-keystore.p12] -2020-10-12 19:09:38.697:INFO :oejs.AbstractConnector:main: Started ServerConnector@5afa3c9{[proxy], ##([proxy], ssl, http/1.1)##}{0.0.0.0:8443} -2020-10-12 19:09:38.705:INFO :oejs.Server:main: Started Server@54d9d12d{STARTING}[10.0.0-SNAPSHOT,sto=5000] @785ms +include::jetty[setupArgs="--add-modules=https,test-keystore,proxy-protocol-ssl",highlight="(\{.*:8443})"] ---- Note how in the example above the list of protocols for the secure connector is first `proxy`, then `ssl` and then `http/1.1`. @@ -175,7 +193,7 @@ HAProxy will need a single file containing the X509 certificates and the private Refer to the xref:og-keystore[section about KeyStores] for more information about generating the required certificates and private key. -Now you can create the HAProxy configuration file (in Linux it's typically `/etc/haproxy/haproxy.cfg). +Now you can create the HAProxy configuration file (in Linux it's typically `/etc/haproxy/haproxy.cfg`). This is a minimal configuration: .haproxy.cfg diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-ssl.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-ssl.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-ssl.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-ssl.adoc index d791a2ea819..62a02bc1ea1 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-ssl.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-ssl.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-websocket.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-websocket.adoc new file mode 100644 index 00000000000..f9063b4bc19 --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/protocols/protocols-websocket.adoc @@ -0,0 +1,117 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +[[og-protocols-websocket]] +==== WebSocket + +WebSocket is a network protocol for bidirectional data communication initiated via the link:https://tools.ietf.org/html/rfc7230#section-6.7[HTTP/1.1 upgrade mechanism]. +WebSocket provides a simple, low-level, framing protocol layered over TCP. +One or more WebSocket frames compose a WebSocket _message_ that is either a UTF-8 _text_ message or _binary_ message. + +Jetty provides an implementation of the following standards and specifications. + +http://tools.ietf.org/html/rfc6455[RFC-6455] - The WebSocket Protocol:: +Jetty supports version 13 of the released and final specification. + +http://www.jcp.org/en/jsr/detail?id=356[JSR-356] - The Java WebSocket API (`javax.websocket`):: +This is the official Java API for working with WebSockets. + +https://tools.ietf.org/html/rfc7692[RFC-7692] - WebSocket Per-Message Deflate Extension:: +This is the replacement for perframe-compression, switching the compression to being based on the entire message, not the individual frames. + +https://tools.ietf.org/html/rfc8441[RFC-8441] - Bootstrapping WebSockets with HTTP/2:: +Allows a single stream of an HTTP/2 connection to be upgraded to WebSocket. +This allows one TCP connection to be shared by both protocols and extends HTTP/2's more efficient use of the network to WebSockets. + +[[og-protocols-websocket-configure]] +==== Configuring WebSocket + +Jetty provides two WebSocket implementations: one based on the Java WebSocket APIs defined by JSR 356, provided by module `websocket-javax`, and one based on Jetty specific WebSocket APIs, provided by module `websocket-jetty`. +The Jetty `websocket` module enables both implementations, but each implementation can be enabled independently. + +NOTE: Remember that a WebSocket connection is always initiated from the HTTP protocol (either an HTTP/1.1 upgrade or an HTTP/2 connect), therefore to enable WebSocket you need to enable HTTP. + +To enable WebSocket support, you also need to decide what version of the HTTP protocol you want WebSocket to be initiated from, and whether you want secure HTTP. + +For example, to enable clear-text WebSocket from HTTP/1.1, use the following command (issued from within the `$JETTY_BASE` directory): + +---- +$ java -jar $JETTY_HOME/start.jar --add-modules=http,websocket +---- + +To enable secure WebSocket from HTTP/2, use the following command (issued from within the `$JETTY_BASE` directory): + +---- +$ java -jar $JETTY_HOME/start.jar --add-modules=http2,websocket +---- + +When enabling secure protocols you need a valid KeyStore (read xref:og-keystore[this section] to create your own KeyStore). +As a quick example, you can enable the xref:og-module-test-keystore[`test-keystore` module], that creates on-the-fly a KeyStore containing a self-signed certificate: + +---- +$ java -jar $JETTY_HOME/start.jar --add-modules=test-keystore +---- + +To enable WebSocket on both HTTP/1.1 and HTTP/2, both clear-text and secure, use the following command (issued from within the `$JETTY_BASE` directory): + +---- +$ java -jar $JETTY_HOME/start.jar --add-modules=http,https,http2c,http2,websocket +---- + +[[og-protocols-websocket-disable]] +==== Selectively Disabling WebSocket + +Enabling the WebSocket Jetty modules comes with a startup cost because Jetty must perform two steps: + +. Scan web applications `+*.war+` files (and all the jars and classes inside it) looking for WebSocket EndPoints classes (either annotated with WebSocket API annotations or extending/implementing WebSocket API classes/interfaces). +This can be a significant cost if your web application contains a lot of classes and/or jar files. + +. Configure and wire WebSocket EndPoints so that WebSocket messages are delivered to the correspondent WebSocket EndPoint. + +WebSocket support is by default enabled for all web applications. + +For a specific web application, you can disable step 2 for Java WebSocket support (i.e. when the `websocket-javax` module is enabled) by setting the context attribute `org.eclipse.jetty.websocket.javax` to `false`: + +[source,xml] +---- + + + + + + org.eclipse.jetty.websocket.javax + false + + + ... + + +---- + +Furthermore, for a specific web application, you can disable step 1 (and therefore also step 2) as described in the xref:og-annotations[annotations processing section]. + +[[og-protocols-websocket-webapp-client]] +==== Using WebSocket Client in WebApps + +Web applications may need to use a WebSocket client to communicate with third party WebSocket services. + +If the web application uses the Java WebSocket APIs, the WebSocket client APIs are provided by the Servlet Container and are available to the web application by enabling the WebSocket server APIs, and therefore you must enable the `websocket-javax` Jetty module. + +However, the Java WebSocket Client APIs are quite limited (for example, they do not support secure WebSocket). +For this reason, web applications may want to use the Jetty WebSocket Client APIs. + +When using the Jetty WebSocket Client APIs, web applications should include the required jars and their dependencies in the `WEB-INF/lib` directory of the `+*.war+` file. +Alternatively, when deploying your web applications in Jetty, you can enable the `websocket-jetty-client` Jetty module to allow web applications to use the Jetty WebSocket Client APIs provided by Jetty, without the need to include jars and their dependencies in the `+*.war+` file. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/quickstart/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/quickstart/chapter.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/quickstart/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/quickstart/chapter.adoc index fc1bee47c0b..75929fa2ebd 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/quickstart/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/quickstart/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/chapter.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/chapter.adoc index fd7d1b66677..43f3406f105 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-base.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-base.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-base.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-base.adoc index 72dd04d5bb0..793c4bbf288 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-base.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-base.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-cache.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-cache.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-cache.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-cache.adoc index d76244acb06..47b5a61b995 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-cache.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-cache.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-filesystem.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-filesystem.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-filesystem.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-filesystem.adoc index c94d0314290..d725717369c 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-filesystem.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-filesystem.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-gcloud.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-gcloud.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-gcloud.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-gcloud.adoc index c23fa83e302..be814abb658 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-gcloud.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-gcloud.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-hazelcast.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-hazelcast.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-hazelcast.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-hazelcast.adoc index ba1b81b7277..5a99c8a7da9 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-hazelcast.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-hazelcast.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-infinispan.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-infinispan.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-infinispan.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-infinispan.adoc index eff17e059f4..672c942706c 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-infinispan.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-infinispan.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-jdbc.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-jdbc.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-jdbc.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-jdbc.adoc index 32514210bfd..06f01f453b0 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-jdbc.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-jdbc.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-memcached.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-memcached.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-memcached.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-memcached.adoc index dd8749fec43..37957c3603e 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-memcached.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-memcached.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-mongodb.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-mongodb.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-mongodb.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-mongodb.adoc index 2e76c202f55..d2a7bacf869 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-mongodb.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-mongodb.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-overview.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-overview.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-overview.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-overview.adoc index af0201765bd..83790e6f595 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-overview.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-overview.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-usecases.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-usecases.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-usecases.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-usecases.adoc index 9ebfa015c79..5f530438c7b 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-usecases.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-usecases.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-xml.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-xml.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-xml.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-xml.adoc index adbe6520f74..9c2eed9f853 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-xml.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/sessions/session-xml.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/start/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/chapter.adoc similarity index 89% rename from jetty-documentation/src/main/asciidoc/operations-guide/start/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/chapter.adoc index dfbefdfbb9d..5c10d328493 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/start/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/start/start-details.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/start-details.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/operations-guide/start/start-details.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/start-details.adoc index 0911d277794..a84567cbe86 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/start/start-details.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/start-details.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/start/start-jar.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/start-jar.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/start/start-jar.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/start-jar.adoc index 57532118c93..1cde5083282 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/start/start-jar.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/start/start-jar.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -289,7 +289,7 @@ This allows for some complex hierarchies of configuration details. --download=|:: If the file does not exist at the given location, download it from the given http URI. Note: location is always relative to `${jetty.base}`. -You might need to escape the slash "\|" to use this on some environments. +You might need to escape the pipe "\|" to use this on some environments. maven.repo.uri=[url]:: The url to use to download Maven dependencies. diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/chapter.adoc new file mode 100644 index 00000000000..ff2b2ae2a2d --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/chapter.adoc @@ -0,0 +1,37 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +[[og-troubleshooting]] +=== Eclipse Jetty Troubleshooting + +To troubleshoot Jetty when used as a production server, there are two main tools: the Jetty Server Dump and enabling DEBUG level logging. + +Jetty is based on components organized as a tree, with the `Server` instance at the root of the tree. + +As explained in the xref:og-jmx[JMX section], these components can be exported as JMX MBeans and therefore be accessible from JMX Consoles such as Java Missions Control (JMC). + +Being able to take a snapshot of the state of Jetty while it is running is the most useful information that can be attached when reporting an issue. +Such state includes: + +* The thread pool configuration and its current state, including how many threads are in use, and their stack trace. +* The TLS configuration. +* The I/O configuration and its current state, including the ports Jetty listens to, how many connections are currently open, and he state of each connection, and the state of the request/response handling for each connection. +* The `Handler` structure and its configuration. +* The web applications deployed and their configurations, including the class loader information. + +The prerequisite for troubleshooting is to enable JMX, so that Jetty -- possibly a production server -- can be accessed from a remote location to obtain the information exported via JMX, and possibly be able to reconfigure Jetty to solve the issue. + +IMPORTANT: Make sure you read about how to secure the access to Jetty when using xref:og-jmx-remote[remote JMX]. + +include::troubleshooting-dump.adoc[] +include::troubleshooting-logging.adoc[] diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/jmc-server-dump.png b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/jmc-server-dump.png new file mode 100644 index 00000000000..33cd92938cb Binary files /dev/null and b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/jmc-server-dump.png differ diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/troubleshooting-dump.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/troubleshooting-dump.adoc new file mode 100644 index 00000000000..cdfc5de4c3c --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/troubleshooting-dump.adoc @@ -0,0 +1,139 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +[[og-troubleshooting-dump]] +==== Troubleshooting: Jetty Server Dump + +The Jetty Server Dump is obtained by invoking, via JMX, the `Server.dump()` operation, as shown below. + +image::jmc-server-dump.png[] + +Find the `Server` MBean in the MBean Tree, under `org.eclipse.jetty.server:type=server,id=0`. +Then click on the "Operations" tab, select the `dump()` operation, and then click the `Execute` button. +In the bottom panel you will see the result of the invocation, that you can copy into a text editor and save to your file system. + +[CAUTION] +==== +Taking a Jetty Server Dump is a relatively expensive operation, as it dumps the state of all connections (which can be thousands), and the state of all threads. + +The result of the invocation may produce a large string, possibly few MiB, that may impact the server memory usage. + +Furthermore, dumping the state of the I/O Jetty components takes a little CPU time off the handling of the actual I/O, possibly slowing it down temporarily. + +While the slow-down caused by taking the Jetty Server Dump may be noticeable on highly loaded systems, it is typically a very small price to pay to obtain the information about the Jetty state that may be critical to the resolution of an issue. +==== + +[NOTE] +==== +The format of the Jetty Server Dump output is subject to change at any time, as Jetty developers modify the Jetty code and decide to include more state, or remove state that is no longer relevant. + +The Jetty Server Dump is organized in a tree whose structure is similar to the runtime Jetty component tree. + +At the end of the dump output there is a legend that explains the type of tree node: whether it is a node that represent a _managed_ component, or an _array_ node (or a _map_ node) that represent some component state, etc. +==== + +[[og-troubleshooting-dump-start-stop]] +===== Jetty Server Dump at Server Start/Stop + +The `Server.dump()` operation may also be invoked just after the `Server` starts (to log the state of the freshly started server), and just before the `Server` stops (which may be useful to log the state of server that is not working properly). + +You can temporarily enable the Jetty Server Dump at start time by overriding the `jetty.server.dumpAfterStart` property on the command line: + +[source,subs=quotes] +---- +$ java -jar $JETTY_HOME/start.jar *jetty.server.dumpAfterStart=true* +---- + +To make this change persistent across server restarts, see the xref:og-module-server[`server` module] configuration for more information about how to configure the server to dump at start/stop time. + +[[og-troubleshooting-dump-detailed]] +===== Detailed ThreadPool Information + +By default, the dump of the thread pool will only dump the topmost stack frame of each thread. +It is possible to configure the thread pool to dump the whole stack trace for each thread; while this may be a little more expensive, it provides complete information about the state of each thread, which may be important to diagnose the issue. + +See the xref:og-module-threadpool[`threadpool` module] configuration for more information about how to configure the thread pool to dump detailed thread information. + +Detailed thread pool information can also be turned on/off on-the-fly via JMX, by finding the `ThreadPool` MBean under `org.eclipse.jetty.util.thread:type=queuedthreadpool,id=0`, then selecting the `detailedDump` attribute and setting it to `true`. You can now perform the `Server.dump()` operation as explained above, and then set `detailedDump` back to `false`. + +[[og-troubleshooting-dump-example]] +===== Jetty Server Dump Example + +Below you can find a simple example of a Jetty Server Dump, with annotations for the principal components: + +[source,subs=verbatim,role=small,options=nowrap] +---- +Server@3ee0fea4{STARTING}[10.0.0,sto=5000] - STARTED <1> ++= QueuedThreadPool[qtp1924582348]@72b6cbcc{STARTED,4<=4<=200,i=2,r=12,q=0}[ReservedThreadExecutor@64cd705f{s=0/12,p=0}] - STARTED <2> +| += ReservedThreadExecutor@64cd705f{s=0/12,p=0} - STARTED +| +> threads size=10 +| +> qtp1924582348-14-acceptor-0@65a7a043-ServerConnector@5c909414{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} RUNNABLE tid=14 prio=3 ACCEPTING <3> +| +> qtp1924582348-13 RUNNABLE tid=13 prio=5 SELECTING <4> +| +> qtp1924582348-15 TIMED_WAITING tid=15 prio=5 IDLE +| +> qtp1924582348-16 TIMED_WAITING tid=16 prio=5 IDLE ++- org.eclipse.jetty.io.ArrayByteBufferPool@6a28ffa4 ++= ScheduledExecutorScheduler@31f924f5{STARTED} - STARTED ++= HandlerList@48ae9b55{STARTED} - STARTED <5> +| += ContextHandlerCollection@1700915{STARTED} - STARTED +| += DefaultHandler@21de60b4{STARTED} - STARTED ++= ServerConnector@5c909414{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} - STARTED <6> +| +~ QueuedThreadPool[qtp1924582348]@72b6cbcc{STARTED,10<=10<=200,i=8,r=12,q=0}[ReservedThreadExecutor@64cd705f{s=0/12,p=0}] - STARTED +| +~ ScheduledExecutorScheduler@31f924f5{STARTED} - STARTED +| +- org.eclipse.jetty.io.ArrayByteBufferPool@6a28ffa4 +| +- org.eclipse.jetty.server.AbstractConnector$1@c267ef4 +| += HttpConnectionFactory@29ba4338[HTTP/1.1] - STARTED +| | +- HttpConfiguration@1139b2f3{32768/8192,8192/8192,https://:0,[]} +| += SelectorManager@ServerConnector@5c909414{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} - STARTED +| | += ManagedSelector@636be97c{STARTED} id=0 keys=0 selected=0 updates=0 - STARTED <7> +| | += EatWhatYouKill@50a638b5/SelectorProducer@1817d444/PRODUCING/p=false/QueuedThreadPool[qtp1924582348]@72b6cbcc{STARTED,10<=10<=200,i=8,r=12,q=0}[ReservedThreadExecutor@64cd705f{s=0/12,p=0}][pc=0,pic=0,pec=0,epc=0]@2021-01-11T13:08:00.333168316+01:00 - STARTED +| | | +- SelectorProducer@1817d444 +| | | +~ QueuedThreadPool[qtp1924582348]@72b6cbcc{STARTED,10<=10<=200,i=8,r=12,q=0}[ReservedThreadExecutor@64cd705f{s=0/12,p=0}] - STARTED +| | +> updates @ 2021-01-11T13:08:00.331898257+01:00 size=0 +| | +> keys @ 2021-01-11T13:08:00.332436637+01:00 size=1 <8> +| | +> SelectionKey@306e0284{i=1}->SocketChannelEndPoint@330eef1{l=/[0:0:0:0:0:0:0:1]:8080,r=/[0:0:0:0:0:0:0:1]:36402,OPEN,fill=FI,flush=-,to=17713/30000}{io=1/1,kio=1,kro=1}->HttpConnection@198220f9[p=HttpParser{s=START,0 of -1},g=HttpGenerator@7f14183e{s=START}]=>HttpChannelOverHttp@61ec57fb{s=HttpChannelState@2ebfced8{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=2,c=false/false,a=IDLE,uri=null,age=0} +| +- sun.nio.ch.ServerSocketChannelImpl[/[0:0:0:0:0:0:0:0]:8080] +| +- qtp1924582348-14-acceptor-0@65a7a043-ServerConnector@5c909414{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} ++= ErrorHandler@6ca8564a{STARTED} - STARTED ++> startJarLoader@41975e01 <9> + +> URLs size=9 + | +> file:/tmp/jetty.base/resources/ + | +> file:/home/simon/opensource/jetty/jetty10.0/jetty-home/target/jetty-home/lib/logging/slf4j-api-2.0.0-alpha1.jar + | +> file:/home/simon/opensource/jetty/jetty10.0/jetty-home/target/jetty-home/lib/logging/jetty-slf4j-impl-10.0.1-SNAPSHOT.jar + | +> file:/home/simon/opensource/jetty/jetty10.0/jetty-home/target/jetty-home/lib/jetty-servlet-api-4.0.5.jar + | +> file:/home/simon/opensource/jetty/jetty10.0/jetty-home/target/jetty-home/lib/jetty-http-10.0.1-SNAPSHOT.jar + | +> file:/home/simon/opensource/jetty/jetty10.0/jetty-home/target/jetty-home/lib/jetty-server-10.0.1-SNAPSHOT.jar + | +> file:/home/simon/opensource/jetty/jetty10.0/jetty-home/target/jetty-home/lib/jetty-xml-10.0.1-SNAPSHOT.jar + | +> file:/home/simon/opensource/jetty/jetty10.0/jetty-home/target/jetty-home/lib/jetty-util-10.0.1-SNAPSHOT.jar + | +> file:/home/simon/opensource/jetty/jetty10.0/jetty-home/target/jetty-home/lib/jetty-io-10.0.1-SNAPSHOT.jar + +> jdk.internal.loader.ClassLoaders$AppClassLoader@5bc2b487 + +> packages size=4 + | +> package org.eclipse.jetty.start.config + | +> package org.eclipse.jetty.start.builders + | +> package org.eclipse.jetty.start.shaded.util + | +> package org.eclipse.jetty.start + +> jdk.internal.loader.ClassLoaders$PlatformClassLoader@3d51f06e + +> packages size=2 + +> package sun.util.resources.provider + +> package sun.util.resources.cldr.provider +key: +- bean, += managed, +~ unmanaged, +? auto, +: iterable, +] array, +@ map, +> undefined <10> +---- +<1> The `Server` instance at the root of the tree +<2> The thread pool component +<3> The thread accepting connections +<4> The thread selecting connections +<5> The root of the `Handler` structure +<6> The connector listening on port `8080` for the HTTP/1.1 protocol +<7> A selector component that manages connections +<8> The connections currently managed by the selector component +<9> The server `ClassLoader` and its classpath +<10> The legend for the dump nodes diff --git a/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/troubleshooting-logging.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/troubleshooting-logging.adoc new file mode 100644 index 00000000000..8cd94db4481 --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/troubleshooting-logging.adoc @@ -0,0 +1,67 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +[[og-troubleshooting-logging]] +==== Troubleshooting: DEBUG Logging + +Enabling DEBUG level logging for the `org.eclipse.jetty` logger name provides the maximum amount of information to troubleshoot Jetty issues. + +Refer to the xref:og-logging[logging section] for more information about how to configure logging in Jetty. + +[CAUTION] +==== +Enabling DEBUG level logging for `org.eclipse.jetty` is very, *very* expensive. + +Your server could be slowed down to almost a halt, especially if it is under heavy load. +Furthermore, the log file could quickly fill up the entire filesystem (unless configured to roll over), so you want to be really careful using DEBUG logging. + +For production servers, consider using the xref:og-troubleshooting-dump[Jetty Server Dump] first, and enable DEBUG logging only as a last resort. +==== + +However, sometimes issues are such that only DEBUG logging can really tell what's going on in the system, and enabling DEBUG logging is your best chance to figure the issue out. +Below you can find few suggestions that can help you reduce the impact when you have to enable DEBUG logging. + +[[og-troubleshooting-logging-backend]] +===== Jetty Behind a Load Balancer + +If Jetty instances are behind a load balancer, you may configure the load balancer to send less load to a particular Jetty instance, and enable DEBUG logging in that instance only. + +[[og-troubleshooting-logging-jmx]] +===== Enabling DEBUG Logging for a Short Time + +In certain cases the issue can be reproduced reliably, but only in the production environment. + +You can use JMX to temporarily enable DEBUG logging, reproduce the issue, and then disable DEBUG logging. + +Alternatively, if you cannot reliably reproduce the issue, but you _know_ it is happening, you can temporarily enable DEBUG logging for a small period of time, let's say 10-60 seconds, and then disable DEBUG logging. + +Changing the log level at runtime is a feature of the logging implementation that you are using. + +The Jetty SLF4J implementation, used by default, exposes via JMX method `boolean JettyLoggerFactoryMBean.setLoggerLevel(String loggerName, String levelName)` that you can invoke via a JMX console to change the level for the specified logger name. +The method returns `true` if the logger level was successfully changed. + +For example, you can pass the string `org.eclipse.jetty` as the first parameter, and the string `DEBUG` (upper case) as the second parameter. +You can then use the string `INFO` or `WARN` (upper case) to restore the logging level to its previous value. + +[[og-troubleshooting-logging-subpackages]] +===== Enabling DEBUG Logging for SubPackages + +Enabling DEBUG logging for the `org.eclipse.jetty` logger name implies that all children logger names, recursively, inherit the DEBUG level. + +Processing a single HTTP request involves many Jetty components: the I/O subsystem (under `org.eclipse.jetty.io`), the thread pool (under `org.eclipse.jetty.util`), the HTTP/1.1 parsing (under `org.eclipse.jetty.http`), etc. + +If you can cut the amount of DEBUG logging to just what you need to troubleshoot the issue, the impact of enabling DEBUG logging will be much less than enabling it for all Jetty components. + +For example, if you need to troubleshoot a client that sends bad HTTP/1.1 requests, it may be enough to enable only the `org.eclipse.jetty.http` logger name, therefore saving the large amount of DEBUG logging produced by the I/O subsystem and by the thread pool. + +In another case, you may need to troubleshoot only HTTP/2 requests, and therefore enabling only the `org.eclipse.jetty.http2` logger name could be enough. diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/xml/chapter.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/xml/chapter.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/operations-guide/xml/chapter.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/xml/chapter.adoc index 9b067aa01d7..9ce77fe0916 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/xml/chapter.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/xml/chapter.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/xml/xml-syntax.adoc b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/xml/xml-syntax.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/operations-guide/xml/xml-syntax.adoc rename to documentation/jetty-documentation/src/main/asciidoc/operations-guide/xml/xml-syntax.adoc index d96ca50c8d7..93147c1bfb2 100644 --- a/jetty-documentation/src/main/asciidoc/operations-guide/xml/xml-syntax.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/operations-guide/xml/xml-syntax.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -286,7 +286,7 @@ You can only specify the key value via the `name` attribute, so the key can only [[og-xml-syntax-array]] ===== `` and `` -Element `` creates a new array, whose component type may be specified by the `type` attribute. +Element `` creates a new array, whose component type may be specified by the `type` attribute, or by a `Type` child element. [source,xml] ---- diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/.asciidoctorconfig b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/.asciidoctorconfig similarity index 100% rename from jetty-documentation/src/main/asciidoc/programming-guide/.asciidoctorconfig rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/.asciidoctorconfig diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/arch-bean.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-bean.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/arch-bean.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-bean.adoc index b3703a27642..4a4cc14a495 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/arch-bean.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-bean.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/arch-io.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-io.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/arch-io.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-io.adoc index acdddc4ab52..e6c0ec8e3db 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/arch-io.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-io.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/arch-jmx.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-jmx.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/arch-jmx.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-jmx.adoc index b2b0fdedf91..5cbd22e59e4 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/arch-jmx.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-jmx.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/arch-listener.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-listener.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/programming-guide/arch-listener.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-listener.adoc index 34edde044b9..98927b44f43 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/arch-listener.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch-listener.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/arch.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/programming-guide/arch.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch.adoc index f69b705fe98..cade8ca903a 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/arch.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/arch.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/client-io-arch.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/client-io-arch.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/client-io-arch.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/client-io-arch.adoc index 381e0fab9c9..d9c3c3e02db 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/client-io-arch.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/client-io-arch.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/client.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/client.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/client.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/client.adoc index 542e5359216..8c224547078 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/client.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/client.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-api.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-api.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-api.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-api.adoc index af1fdba44e5..8c367e84518 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-api.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-api.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-authentication.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-authentication.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-authentication.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-authentication.adoc index af652f5deaa..548ab0889fd 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-authentication.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-authentication.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-configuration.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-configuration.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-configuration.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-configuration.adoc index 76f7069b8c2..4314f5a8a6f 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-configuration.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-configuration.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-cookie.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-cookie.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-cookie.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-cookie.adoc index 68c781f06a1..266fb8ee2ea 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-cookie.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-cookie.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-intro.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-intro.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-intro.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-intro.adoc index 1a1b3940fcc..ea3d1ecfe40 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-intro.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-intro.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-proxy.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-proxy.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-proxy.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-proxy.adoc index 1c4504dddd8..77feb7907d6 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-proxy.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-proxy.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-transport.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-transport.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-transport.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-transport.adoc index 11a4b47f362..de6c430fbb8 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-transport.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http-transport.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http.adoc similarity index 92% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http.adoc index e04e449ee5e..21550106c12 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http/client-http.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/http2/client-http2.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http2/client-http2.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/http2/client-http2.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http2/client-http2.adoc index 5ebbe3046f2..0484aaa75ef 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/http2/client-http2.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/http2/client-http2.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/client/websocket/client-websocket.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/websocket/client-websocket.adoc similarity index 89% rename from jetty-documentation/src/main/asciidoc/programming-guide/client/websocket/client-websocket.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/websocket/client-websocket.adoc index dbe208a0576..c4257bbbc7a 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/client/websocket/client-websocket.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/client/websocket/client-websocket.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/http2.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/http2.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/http2.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/http2.adoc index 354d5ec1a40..9854d6c6f84 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/http2.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/http2.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/index.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/index.adoc similarity index 93% rename from jetty-documentation/src/main/asciidoc/programming-guide/index.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/index.adoc index 21efc3a84a8..27524e0262f 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/index.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/index.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/introduction.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/introduction.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/programming-guide/introduction.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/introduction.adoc index bf05400dbcf..c7a094dc618 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/introduction.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/introduction.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-jspc-maven-plugin.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-jspc-maven-plugin.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-jspc-maven-plugin.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-jspc-maven-plugin.adoc index 05c6adb8301..987c4216555 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-jspc-maven-plugin.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-jspc-maven-plugin.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-helloworld.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-helloworld.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-helloworld.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-helloworld.adoc index ab66907e3c3..2ac4c6d6e07 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-helloworld.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-helloworld.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-plugin.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-plugin.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-plugin.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-plugin.adoc index 1bfbcc04410..42815a9849a 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-plugin.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/jetty-maven-plugin.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/maven/maven.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/maven.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/programming-guide/maven/maven.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/maven.adoc index bf5d74b563f..0198c12542c 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/maven/maven.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/maven/maven.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-application.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-application.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-application.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-application.adoc index 02cbdeb56c8..a9620bc6422 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-application.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-application.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-connector.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-connector.adoc similarity index 94% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-connector.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-connector.adoc index a832299a9a5..c6c62600147 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-connector.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-connector.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -136,7 +136,11 @@ Jetty supports ALPN and encrypted HTTP/2 with this configuration: include::../../{doc_code}/org/eclipse/jetty/docs/programming/server/http/HTTPServerDocs.java[tags=tlsALPNHTTP] ---- -Note how the ``ConnectionFactory``s passed to `ServerConnector` are in order: TLS, ALPN, HTTP/1.1, HTTP/2. +Note how the ``ConnectionFactory``s passed to `ServerConnector` are in order: TLS, ALPN, HTTP/2, HTTP/1.1. Jetty starts parsing TLS bytes so that it can obtain the ALPN extension. With the ALPN extension information, Jetty can negotiate a protocol and pick, among the ``ConnectionFactory``s supported by the `ServerConnector`, the `ConnectionFactory` correspondent to the negotiated protocol. + +The fact that the HTTP/2 protocol comes before the HTTP/1.1 protocol indicates that HTTP/2 is the preferred protocol for the server. + +Note also that the default protocol set in the ALPN ``ConnectionFactory``, which is used in case ALPN is not supported by the client, is HTTP/1.1 -- if the client does not support ALPN is probably an old client so HTTP/1.1 is the safest choice. diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-implement.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-implement.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-implement.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-implement.adoc index 2f628d959d0..1f8c091ab2b 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-implement.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-implement.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-use.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-use.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-use.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-use.adoc index ea748080e2c..67abdf77123 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-use.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler-use.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler.adoc index 9a5a5825e78..54eff38ccef 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-handler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-security.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-security.adoc similarity index 91% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-security.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-security.adoc index a2e6168f5cb..301cc30dd7d 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-security.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http-security.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http.adoc index e7873aa1031..47f2110dc78 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http/server-http.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/http2/server-http2.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http2/server-http2.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/http2/server-http2.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http2/server-http2.adoc index 225a7a51352..50faf07ca24 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/http2/server-http2.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/http2/server-http2.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/server-io-arch.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/server-io-arch.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/server-io-arch.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/server-io-arch.adoc index 863adb50dec..3e98026afcc 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/server-io-arch.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/server-io-arch.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/server.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/server.adoc similarity index 97% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/server.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/server.adoc index 23316c75cac..d4a3f592ba2 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/server.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/server.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-architecture.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-architecture.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-architecture.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-architecture.adoc index d03c3154c7d..394fbc2a5f5 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-architecture.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-architecture.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-cachingsessiondatastore.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-cachingsessiondatastore.adoc similarity index 96% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-cachingsessiondatastore.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-cachingsessiondatastore.adoc index d436a06254b..a3d6c20aba1 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-cachingsessiondatastore.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-cachingsessiondatastore.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessioncache.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessioncache.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessioncache.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessioncache.adoc index 00d9bfe8a16..6f047cf9488 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessioncache.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessioncache.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-file.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-file.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-file.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-file.adoc index 51e34a0ac7e..116681e7e0a 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-file.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-file.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-jdbc.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-jdbc.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-jdbc.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-jdbc.adoc index 815bbf91932..c0a6fcbd072 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-jdbc.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-jdbc.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-mongo.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-mongo.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-mongo.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-mongo.adoc index dc616ee86c9..51a07c055b8 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-mongo.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore-mongo.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore.adoc index bcbdd77f3cc..c0b8c258aa3 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessiondatastore.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionhandler.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionhandler.adoc similarity index 99% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionhandler.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionhandler.adoc index 01553fda9cb..5bffcb3b924 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionhandler.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionhandler.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionidmgr.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionidmgr.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionidmgr.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionidmgr.adoc index 0b67912d1e4..61cb2d377f3 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionidmgr.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/session-sessionidmgr.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/sessions.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/sessions.adoc similarity index 95% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/sessions.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/sessions.adoc index 81f13f44612..e7028264b8b 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/sessions.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/sessions/sessions.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/server/websocket/server-websocket.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/websocket/server-websocket.adoc similarity index 89% rename from jetty-documentation/src/main/asciidoc/programming-guide/server/websocket/server-websocket.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/websocket/server-websocket.adoc index cf3a823b62e..2bc35d4b868 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/server/websocket/server-websocket.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/server/websocket/server-websocket.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/programming-guide/troubleshooting.adoc b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/troubleshooting.adoc similarity index 98% rename from jetty-documentation/src/main/asciidoc/programming-guide/troubleshooting.adoc rename to documentation/jetty-documentation/src/main/asciidoc/programming-guide/troubleshooting.adoc index 80568d799d8..56d761c67ea 100644 --- a/jetty-documentation/src/main/asciidoc/programming-guide/troubleshooting.adoc +++ b/documentation/jetty-documentation/src/main/asciidoc/programming-guide/troubleshooting.adoc @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/documentation/jetty-documentation/src/main/asciidoc/toc.css b/documentation/jetty-documentation/src/main/asciidoc/toc.css new file mode 100644 index 00000000000..9867509a578 --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/toc.css @@ -0,0 +1,26 @@ +/* + * ======================================================================== + * Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0 which is available at + * https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 + * which is available at https://www.apache.org/licenses/LICENSE-2.0. + * + * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 + * ======================================================================== + */ + +.hidden { + display: none; +} +.toc-current { + font-weight: bold; +} +.toc-item { + padding-right: 0.4em; +} +.toc-toggle { + padding-right: 0.4em; + cursor: pointer; +} diff --git a/documentation/jetty-documentation/src/main/asciidoc/toc.js b/documentation/jetty-documentation/src/main/asciidoc/toc.js new file mode 100644 index 00000000000..bce29f37bbf --- /dev/null +++ b/documentation/jetty-documentation/src/main/asciidoc/toc.js @@ -0,0 +1,121 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +document.addEventListener('DOMContentLoaded', () => dynamicTOC()); + +function dynamicTOC() { + // Bind a click listener to all section titles. + const content = document.getElementById('content'); + const sectionTitles = content.querySelectorAll('a.link'); + for (const sectionTitle of sectionTitles) { + sectionTitle.addEventListener('click', event => collapseThenExpand(event.target.hash)); + } + + // Bind a click listener to all TOC titles. + const toc = document.getElementById('toc'); + const tocTitles = toc.querySelectorAll('a'); + for (const tocTitle of tocTitles) { + tocTitle.addEventListener('click', event => collapseThenExpand(event.target.hash)); + } + + // Add the icons to TOC nodes. + const nodes = toc.querySelectorAll('li'); + for (const node of nodes) { + const span = document.createElement('span'); + const css = span.classList; + if (node.querySelector(':scope > ul')) { + css.add('toc-toggle'); + // Font-Awesome classes. + css.add('fa'); + css.add('fa-caret-right'); + span.addEventListener('click', event => toggle(event.target)); + } else { + css.add('toc-item'); + // The "icon" is the • HTML entity. + span.appendChild(document.createTextNode('•')); + } + node.prepend(span); + } + + collapseThenExpand(document.location.hash); +} + +function collapseThenExpand(hash) { + const toc = document.getElementById('toc'); + if (hash) { + const current = toc.querySelector('a.toc-current'); + if (current) { + current.classList.remove('toc-current'); + } + const anchor = toc.querySelector('a[href="' + hash + '"'); + if (anchor) { + anchor.classList.add('toc-current'); + collapse(toc); + expand(anchor.parentNode); + } + } else { + collapse(toc); + } +} + +function collapse(node) { + const sections = node.querySelectorAll('ul'); + for (const section of sections) { + const css = section.classList; + // Always show first levels TOC titles. + const alwaysShow = css.contains('sectlevel1') || css.contains('sectlevel2'); + if (!alwaysShow) { + css.add('hidden'); + } + } + // Show the collapsed icon. + const spans = node.querySelectorAll('span.toc-toggle'); + for (const span of spans) { + const css = span.classList; + css.remove('fa-caret-down'); + css.add('fa-caret-right'); + } +} + +function expand(node) { + const root = document.getElementById('toc').querySelector('ul'); + // Show the current node and its ancestors. + let parent = node; + while (parent !== root) { + // Show the node. + parent.classList.remove('hidden'); + // Show the expanded icon. + const span = parent.querySelector(':scope > span.toc-toggle'); + if (span) { + const css = span.classList; + css.remove('fa-caret-right'); + css.add('fa-caret-down'); + } + parent = parent.parentNode; + } + // Show the children. + const children = node.querySelector(':scope > ul'); + if (children) { + children.classList.remove('hidden'); + } +} + +function toggle(span) { + const css = span.classList; + const expanded = css.contains('fa-caret-down'); + if (expanded) { + collapse(span.parentNode); + } else { + expand(span.parentNode); + } +} diff --git a/jetty-documentation/src/main/assembly/html.xml b/documentation/jetty-documentation/src/main/assembly/html.xml similarity index 94% rename from jetty-documentation/src/main/assembly/html.xml rename to documentation/jetty-documentation/src/main/assembly/html.xml index 4047d078f68..00169eb334a 100644 --- a/jetty-documentation/src/main/assembly/html.xml +++ b/documentation/jetty-documentation/src/main/assembly/html.xml @@ -2,7 +2,7 @@ + + org.apache.maven.plugins + maven-deploy-plugin + + true + + + + - - - org.apache.maven.plugins - maven-checkstyle-plugin - - true - - - - - org.apache.maven.plugins - maven-pmd-plugin - - true - - - - - org.codehaus.mojo - findbugs-maven-plugin - - true - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - org.apache.maven.plugins maven-enforcer-plugin diff --git a/jetty-alpn/jetty-alpn-client/src/main/java/module-info.java b/jetty-alpn/jetty-alpn-client/src/main/java/module-info.java index 3ac84630fe1..1fa4c719502 100644 --- a/jetty-alpn/jetty-alpn-client/src/main/java/module-info.java +++ b/jetty-alpn/jetty-alpn-client/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-client/src/main/java/org/eclipse/jetty/alpn/client/ALPNClientConnection.java b/jetty-alpn/jetty-alpn-client/src/main/java/org/eclipse/jetty/alpn/client/ALPNClientConnection.java index d9dc0ec8c8b..7fd8f1ce8fe 100644 --- a/jetty-alpn/jetty-alpn-client/src/main/java/org/eclipse/jetty/alpn/client/ALPNClientConnection.java +++ b/jetty-alpn/jetty-alpn-client/src/main/java/org/eclipse/jetty/alpn/client/ALPNClientConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-client/src/main/java/org/eclipse/jetty/alpn/client/ALPNClientConnectionFactory.java b/jetty-alpn/jetty-alpn-client/src/main/java/org/eclipse/jetty/alpn/client/ALPNClientConnectionFactory.java index d6bf6acf806..f69c67deeb3 100644 --- a/jetty-alpn/jetty-alpn-client/src/main/java/org/eclipse/jetty/alpn/client/ALPNClientConnectionFactory.java +++ b/jetty-alpn/jetty-alpn-client/src/main/java/org/eclipse/jetty/alpn/client/ALPNClientConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-conscrypt-client/src/main/java/module-info.java b/jetty-alpn/jetty-alpn-conscrypt-client/src/main/java/module-info.java index 819eccfaf51..75839604331 100644 --- a/jetty-alpn/jetty-alpn-conscrypt-client/src/main/java/module-info.java +++ b/jetty-alpn/jetty-alpn-conscrypt-client/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-conscrypt-client/src/main/java/org/eclipse/jetty/alpn/conscrypt/client/ConscryptClientALPNProcessor.java b/jetty-alpn/jetty-alpn-conscrypt-client/src/main/java/org/eclipse/jetty/alpn/conscrypt/client/ConscryptClientALPNProcessor.java index 0819a0135cc..03f08229b9f 100644 --- a/jetty-alpn/jetty-alpn-conscrypt-client/src/main/java/org/eclipse/jetty/alpn/conscrypt/client/ConscryptClientALPNProcessor.java +++ b/jetty-alpn/jetty-alpn-conscrypt-client/src/main/java/org/eclipse/jetty/alpn/conscrypt/client/ConscryptClientALPNProcessor.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-conscrypt-client/src/test/java/org/eclipse/jetty/alpn/java/client/ConscryptHTTP2ClientTest.java b/jetty-alpn/jetty-alpn-conscrypt-client/src/test/java/org/eclipse/jetty/alpn/java/client/ConscryptHTTP2ClientTest.java index 0bbe483a48e..c3560987a3d 100644 --- a/jetty-alpn/jetty-alpn-conscrypt-client/src/test/java/org/eclipse/jetty/alpn/java/client/ConscryptHTTP2ClientTest.java +++ b/jetty-alpn/jetty-alpn-conscrypt-client/src/test/java/org/eclipse/jetty/alpn/java/client/ConscryptHTTP2ClientTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-conscrypt-server/src/main/java/module-info.java b/jetty-alpn/jetty-alpn-conscrypt-server/src/main/java/module-info.java index 66e4b450a1d..e08bc1a14fb 100644 --- a/jetty-alpn/jetty-alpn-conscrypt-server/src/main/java/module-info.java +++ b/jetty-alpn/jetty-alpn-conscrypt-server/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-conscrypt-server/src/main/java/org/eclipse/jetty/alpn/conscrypt/server/ConscryptServerALPNProcessor.java b/jetty-alpn/jetty-alpn-conscrypt-server/src/main/java/org/eclipse/jetty/alpn/conscrypt/server/ConscryptServerALPNProcessor.java index b0632b137e1..f90325bcbf5 100644 --- a/jetty-alpn/jetty-alpn-conscrypt-server/src/main/java/org/eclipse/jetty/alpn/conscrypt/server/ConscryptServerALPNProcessor.java +++ b/jetty-alpn/jetty-alpn-conscrypt-server/src/main/java/org/eclipse/jetty/alpn/conscrypt/server/ConscryptServerALPNProcessor.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-conscrypt-server/src/test/java/org/eclipse/jetty/alpn/conscrypt/server/ConscryptHTTP2ServerTest.java b/jetty-alpn/jetty-alpn-conscrypt-server/src/test/java/org/eclipse/jetty/alpn/conscrypt/server/ConscryptHTTP2ServerTest.java index f3da757fa34..fd2d327b1ef 100644 --- a/jetty-alpn/jetty-alpn-conscrypt-server/src/test/java/org/eclipse/jetty/alpn/conscrypt/server/ConscryptHTTP2ServerTest.java +++ b/jetty-alpn/jetty-alpn-conscrypt-server/src/test/java/org/eclipse/jetty/alpn/conscrypt/server/ConscryptHTTP2ServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-java-client/src/main/java/module-info.java b/jetty-alpn/jetty-alpn-java-client/src/main/java/module-info.java index 203034efc24..694d112a78c 100644 --- a/jetty-alpn/jetty-alpn-java-client/src/main/java/module-info.java +++ b/jetty-alpn/jetty-alpn-java-client/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-java-client/src/main/java/org/eclipse/jetty/alpn/java/client/JDK9ClientALPNProcessor.java b/jetty-alpn/jetty-alpn-java-client/src/main/java/org/eclipse/jetty/alpn/java/client/JDK9ClientALPNProcessor.java index 2e81c7b2cf4..5499a5b4237 100644 --- a/jetty-alpn/jetty-alpn-java-client/src/main/java/org/eclipse/jetty/alpn/java/client/JDK9ClientALPNProcessor.java +++ b/jetty-alpn/jetty-alpn-java-client/src/main/java/org/eclipse/jetty/alpn/java/client/JDK9ClientALPNProcessor.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-java-client/src/test/java/org/eclipse/jetty/alpn/java/client/JDK9HTTP2ClientTest.java b/jetty-alpn/jetty-alpn-java-client/src/test/java/org/eclipse/jetty/alpn/java/client/JDK9HTTP2ClientTest.java index 851291d5099..b7801996c6d 100644 --- a/jetty-alpn/jetty-alpn-java-client/src/test/java/org/eclipse/jetty/alpn/java/client/JDK9HTTP2ClientTest.java +++ b/jetty-alpn/jetty-alpn-java-client/src/test/java/org/eclipse/jetty/alpn/java/client/JDK9HTTP2ClientTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-java-server/src/main/java/module-info.java b/jetty-alpn/jetty-alpn-java-server/src/main/java/module-info.java index 925ee9f50fe..76d94316310 100644 --- a/jetty-alpn/jetty-alpn-java-server/src/main/java/module-info.java +++ b/jetty-alpn/jetty-alpn-java-server/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-java-server/src/main/java/org/eclipse/jetty/alpn/java/server/JDK9ServerALPNProcessor.java b/jetty-alpn/jetty-alpn-java-server/src/main/java/org/eclipse/jetty/alpn/java/server/JDK9ServerALPNProcessor.java index 98f713aceb3..3573eeb9c8a 100644 --- a/jetty-alpn/jetty-alpn-java-server/src/main/java/org/eclipse/jetty/alpn/java/server/JDK9ServerALPNProcessor.java +++ b/jetty-alpn/jetty-alpn-java-server/src/main/java/org/eclipse/jetty/alpn/java/server/JDK9ServerALPNProcessor.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-java-server/src/test/java/org/eclipse/jetty/alpn/java/server/JDK9ALPNTest.java b/jetty-alpn/jetty-alpn-java-server/src/test/java/org/eclipse/jetty/alpn/java/server/JDK9ALPNTest.java index a26f8387248..e3e68ff9a8d 100644 --- a/jetty-alpn/jetty-alpn-java-server/src/test/java/org/eclipse/jetty/alpn/java/server/JDK9ALPNTest.java +++ b/jetty-alpn/jetty-alpn-java-server/src/test/java/org/eclipse/jetty/alpn/java/server/JDK9ALPNTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-java-server/src/test/java/org/eclipse/jetty/alpn/java/server/JDK9HTTP2Server.java b/jetty-alpn/jetty-alpn-java-server/src/test/java/org/eclipse/jetty/alpn/java/server/JDK9HTTP2Server.java index bd9c9e7fdd2..67a5cd80399 100644 --- a/jetty-alpn/jetty-alpn-java-server/src/test/java/org/eclipse/jetty/alpn/java/server/JDK9HTTP2Server.java +++ b/jetty-alpn/jetty-alpn-java-server/src/test/java/org/eclipse/jetty/alpn/java/server/JDK9HTTP2Server.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-11.mod b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-11.mod deleted file mode 100644 index 36fdb782f97..00000000000 --- a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-11.mod +++ /dev/null @@ -1,7 +0,0 @@ -# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html - -[description] -Provides support for ALPN based on JDK 9+ APIs. - -[lib] -lib/jetty-alpn-java-server-${jetty.version}.jar diff --git a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-12.mod b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-12.mod deleted file mode 100644 index 4dbcf25f583..00000000000 --- a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-12.mod +++ /dev/null @@ -1,4 +0,0 @@ -# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html - -[depend] -alpn-impl/alpn-11 diff --git a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-13.mod b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-13.mod deleted file mode 100644 index 4dbcf25f583..00000000000 --- a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-13.mod +++ /dev/null @@ -1,4 +0,0 @@ -# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html - -[depend] -alpn-impl/alpn-11 diff --git a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-14.mod b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-14.mod deleted file mode 100644 index 4dbcf25f583..00000000000 --- a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-14.mod +++ /dev/null @@ -1,4 +0,0 @@ -# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html - -[depend] -alpn-impl/alpn-11 diff --git a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-15.mod b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-15.mod deleted file mode 100644 index 4dbcf25f583..00000000000 --- a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-15.mod +++ /dev/null @@ -1,4 +0,0 @@ -# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html - -[depend] -alpn-impl/alpn-11 diff --git a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-16.mod b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-16.mod deleted file mode 100644 index 4dbcf25f583..00000000000 --- a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-impl/alpn-16.mod +++ /dev/null @@ -1,4 +0,0 @@ -# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html - -[depend] -alpn-impl/alpn-11 diff --git a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-java.mod b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-java.mod new file mode 100644 index 00000000000..9f52a8d0298 --- /dev/null +++ b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn-java.mod @@ -0,0 +1,8 @@ +[description] +Provides the ALPN implementation based on the Java APIs. + +[provides] +alpn-impl|default + +[lib] +lib/jetty-alpn-java-server-${jetty.version}.jar diff --git a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn.mod b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn.mod index eaa55ebe73a..dc45e13127f 100644 --- a/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn.mod +++ b/jetty-alpn/jetty-alpn-server/src/main/config/modules/alpn.mod @@ -8,10 +8,9 @@ internal [depend] ssl -alpn-impl/alpn-${java.version.platform} +alpn-impl [lib] -lib/jetty-alpn-client-${jetty.version}.jar lib/jetty-alpn-server-${jetty.version}.jar [xml] diff --git a/jetty-alpn/jetty-alpn-server/src/main/java/module-info.java b/jetty-alpn/jetty-alpn-server/src/main/java/module-info.java index 19fe2fb381c..7826190f9f5 100644 --- a/jetty-alpn/jetty-alpn-server/src/main/java/module-info.java +++ b/jetty-alpn/jetty-alpn-server/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-server/src/main/java/org/eclipse/jetty/alpn/server/ALPNServerConnection.java b/jetty-alpn/jetty-alpn-server/src/main/java/org/eclipse/jetty/alpn/server/ALPNServerConnection.java index c21f88833b7..c284175b407 100644 --- a/jetty-alpn/jetty-alpn-server/src/main/java/org/eclipse/jetty/alpn/server/ALPNServerConnection.java +++ b/jetty-alpn/jetty-alpn-server/src/main/java/org/eclipse/jetty/alpn/server/ALPNServerConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-alpn/jetty-alpn-server/src/main/java/org/eclipse/jetty/alpn/server/ALPNServerConnectionFactory.java b/jetty-alpn/jetty-alpn-server/src/main/java/org/eclipse/jetty/alpn/server/ALPNServerConnectionFactory.java index 420edbb80a6..df8602f9d89 100644 --- a/jetty-alpn/jetty-alpn-server/src/main/java/org/eclipse/jetty/alpn/server/ALPNServerConnectionFactory.java +++ b/jetty-alpn/jetty-alpn-server/src/main/java/org/eclipse/jetty/alpn/server/ALPNServerConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/module-info.java b/jetty-annotations/src/main/java/module-info.java index e8ca30b5b44..d1e7f5456ce 100644 --- a/jetty-annotations/src/main/java/module-info.java +++ b/jetty-annotations/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AbstractDiscoverableAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AbstractDiscoverableAnnotationHandler.java index 07913ff1657..cff619bbb12 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AbstractDiscoverableAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AbstractDiscoverableAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationConfiguration.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationConfiguration.java index 377101dd66d..c2ac2031756 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationConfiguration.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -709,11 +709,10 @@ public class AnnotationConfiguration extends AbstractConfiguration } //Check if it is excluded by an ordering - URI loadingJarURI = sciResource.getURI(); boolean included = false; for (Resource r : orderedJars) { - included = r.getURI().equals(loadingJarURI); + included = r.equals(sciResource); if (included) break; } diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationDecorator.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationDecorator.java index 6dbf2643078..3fd4d63990b 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationDecorator.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationDecorator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationIntrospector.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationIntrospector.java index 5abc424aaed..fcbdf950863 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationIntrospector.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationIntrospector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java index 6f40488a18d..852d3922a89 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/AnnotationParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ClassInheritanceHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ClassInheritanceHandler.java index 5e5b98df64f..db3d5f2cf30 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ClassInheritanceHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ClassInheritanceHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ContainerInitializerAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ContainerInitializerAnnotationHandler.java index 3c12c568e67..4b116124007 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ContainerInitializerAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ContainerInitializerAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/DeclareRolesAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/DeclareRolesAnnotationHandler.java index 79021a88e94..93052576738 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/DeclareRolesAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/DeclareRolesAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/MultiPartConfigAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/MultiPartConfigAnnotationHandler.java index a9b40160cb8..001e90cb640 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/MultiPartConfigAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/MultiPartConfigAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/PostConstructAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/PostConstructAnnotationHandler.java index 556e3e767f5..4046bfa8371 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/PostConstructAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/PostConstructAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/PreDestroyAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/PreDestroyAnnotationHandler.java index 5e9b073e9ff..e24397a9038 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/PreDestroyAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/PreDestroyAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java index cd7842e5f80..a25be08544e 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourceAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourcesAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourcesAnnotationHandler.java index be5ff5ce032..2defa57912e 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourcesAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ResourcesAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/RunAsAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/RunAsAnnotationHandler.java index 7419fb7fa37..574527921d5 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/RunAsAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/RunAsAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ServletContainerInitializersStarter.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ServletContainerInitializersStarter.java index 91304112b5a..e2be40126c0 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ServletContainerInitializersStarter.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ServletContainerInitializersStarter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ServletSecurityAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ServletSecurityAnnotationHandler.java index fff14b80e32..9cbc3ee42b0 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ServletSecurityAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/ServletSecurityAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebFilterAnnotation.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebFilterAnnotation.java index cba9f8964ec..08e55e1da0d 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebFilterAnnotation.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebFilterAnnotation.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebFilterAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebFilterAnnotationHandler.java index 3843eb47b24..70aad26691c 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebFilterAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebFilterAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebListenerAnnotation.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebListenerAnnotation.java index fce291222cd..ffa352a15e9 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebListenerAnnotation.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebListenerAnnotation.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebListenerAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebListenerAnnotationHandler.java index 8d504e40972..da7aa9562af 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebListenerAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebListenerAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebServletAnnotation.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebServletAnnotation.java index d2111d2248d..7fc467ef502 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebServletAnnotation.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebServletAnnotation.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebServletAnnotationHandler.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebServletAnnotationHandler.java index 05b246a1e8a..c1ac4518c09 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebServletAnnotationHandler.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/WebServletAnnotationHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/package-info.java b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/package-info.java index 9e0c2a9dc54..4d744b3af71 100644 --- a/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/package-info.java +++ b/jetty-annotations/src/main/java/org/eclipse/jetty/annotations/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/acme/ClassOne.java b/jetty-annotations/src/test/java/org/acme/ClassOne.java index 6503b179dbe..7c8c9ab0d61 100644 --- a/jetty-annotations/src/test/java/org/acme/ClassOne.java +++ b/jetty-annotations/src/test/java/org/acme/ClassOne.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ClassA.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ClassA.java index bc57134fa43..2252c030814 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ClassA.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ClassA.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ClassB.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ClassB.java index f19afc8c8e3..0e844a16835 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ClassB.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ClassB.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/FilterC.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/FilterC.java index 477958f39b5..5eaf02faea7 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/FilterC.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/FilterC.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/InterfaceD.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/InterfaceD.java index 46c7f97ee2e..fab13e985d6 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/InterfaceD.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/InterfaceD.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ListenerC.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ListenerC.java index aaa37097fff..8287804bdad 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ListenerC.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ListenerC.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/Multi.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/Multi.java index d5f3e2d8c61..0b067250d6d 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/Multi.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/Multi.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/Sample.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/Sample.java index c0889920324..d044ea007b3 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/Sample.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/Sample.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletC.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletC.java index fffc17e5512..22bd9e685fd 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletC.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletC.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletD.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletD.java index e7cb93c9627..da71077272a 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletD.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletD.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletE.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletE.java index 57e31271fe6..44fbbe11ca5 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletE.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/ServletE.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationConfiguration.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationConfiguration.java index 74241f7e45a..2f016ed852c 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationConfiguration.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationDecorator.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationDecorator.java index ba8765b7d9a..e8389fbe888 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationDecorator.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationDecorator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationInheritance.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationInheritance.java index 9a4f5ddfb6f..6480e892636 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationInheritance.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationInheritance.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationIntrospector.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationIntrospector.java index 970156b3cef..27bbbc8ef0c 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationIntrospector.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationIntrospector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationParser.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationParser.java index 51e1df9e550..fd902ba16fb 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationParser.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestAnnotationParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestRunAsAnnotation.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestRunAsAnnotation.java index 650b63fb1a0..ae75c82821e 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestRunAsAnnotation.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestRunAsAnnotation.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestSecurityAnnotationConversions.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestSecurityAnnotationConversions.java index 71492e2107e..2a6b492b363 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestSecurityAnnotationConversions.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestSecurityAnnotationConversions.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestServletAnnotations.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestServletAnnotations.java index 7ee6ce2931d..6f928773990 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestServletAnnotations.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/TestServletAnnotations.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/ResourceA.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/ResourceA.java index 7848513a052..bc8d2c9cc09 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/ResourceA.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/ResourceA.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/ResourceB.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/ResourceB.java index 75629d5d170..8fd3cb439ec 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/ResourceB.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/ResourceB.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/TestResourceAnnotations.java b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/TestResourceAnnotations.java index 6f49b7f7d8d..f8ea311e70c 100644 --- a/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/TestResourceAnnotations.java +++ b/jetty-annotations/src/test/java/org/eclipse/jetty/annotations/resources/TestResourceAnnotations.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/AntMetaInfConfiguration.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/AntMetaInfConfiguration.java index 6e98a4330e7..be858162156 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/AntMetaInfConfiguration.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/AntMetaInfConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/AntWebInfConfiguration.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/AntWebInfConfiguration.java index 5013f895a95..c6d2172aea2 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/AntWebInfConfiguration.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/AntWebInfConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/JettyStopTask.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/JettyStopTask.java index 3fedf835a35..3cc3b54e4c9 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/JettyStopTask.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/JettyStopTask.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/package-info.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/package-info.java index 680b92f2a4f..159e3d582b7 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/package-info.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Attribute.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Attribute.java index b9dcbb4e714..f993e9e78e0 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Attribute.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Attribute.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Attributes.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Attributes.java index 292da02bb05..8098850d1aa 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Attributes.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Attributes.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Connector.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Connector.java index fa9e9c8b867..2386e501d73 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Connector.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/Connector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/package-info.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/package-info.java index 64a04f4cf76..f2a6ef9cf69 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/package-info.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/types/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/package-info.java b/jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/package-info.java index a01d06970b6..7f1f5956320 100644 --- a/jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/package-info.java +++ b/jetty-ant/src/main/java/org/eclipse/jetty/ant/utils/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/test/java/org/eclipse/jetty/ant/AntBuild.java b/jetty-ant/src/test/java/org/eclipse/jetty/ant/AntBuild.java index 63373415d99..2cc3175a703 100644 --- a/jetty-ant/src/test/java/org/eclipse/jetty/ant/AntBuild.java +++ b/jetty-ant/src/test/java/org/eclipse/jetty/ant/AntBuild.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-ant/src/test/java/org/eclipse/jetty/ant/JettyAntTaskTest.java b/jetty-ant/src/test/java/org/eclipse/jetty/ant/JettyAntTaskTest.java index 8c6931e010e..b308f1e7edf 100644 --- a/jetty-ant/src/test/java/org/eclipse/jetty/ant/JettyAntTaskTest.java +++ b/jetty-ant/src/test/java/org/eclipse/jetty/ant/JettyAntTaskTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-cdi/src/main/java/module-info.java b/jetty-cdi/src/main/java/module-info.java index 74c2fe6f75f..6c066370d8f 100644 --- a/jetty-cdi/src/main/java/module-info.java +++ b/jetty-cdi/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiConfiguration.java b/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiConfiguration.java index f670d1fefff..2de18656518 100644 --- a/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiConfiguration.java +++ b/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiDecoratingListener.java b/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiDecoratingListener.java index daec37f2919..19bb9465786 100644 --- a/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiDecoratingListener.java +++ b/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiDecoratingListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiServletContainerInitializer.java b/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiServletContainerInitializer.java index 72674996cf5..f2a13aa1826 100644 --- a/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiServletContainerInitializer.java +++ b/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiServletContainerInitializer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiSpiDecorator.java b/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiSpiDecorator.java index e89c514d110..4f8f6eb07fb 100644 --- a/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiSpiDecorator.java +++ b/jetty-cdi/src/main/java/org/eclipse/jetty/cdi/CdiSpiDecorator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/module-info.java b/jetty-client/src/main/java/module-info.java index 974a67382fe..9068b49799e 100644 --- a/jetty-client/src/main/java/module-info.java +++ b/jetty-client/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractConnectionPool.java b/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractConnectionPool.java index b39fa4dd56c..7d9b386f0eb 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractConnectionPool.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractConnectionPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -15,14 +15,20 @@ package org.eclipse.jetty.client; import java.io.IOException; import java.util.ArrayDeque; +import java.util.ArrayList; import java.util.Collection; +import java.util.List; +import java.util.Objects; import java.util.Queue; import java.util.concurrent.CompletableFuture; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors; import org.eclipse.jetty.client.api.Connection; import org.eclipse.jetty.util.Attachable; import org.eclipse.jetty.util.Callback; +import org.eclipse.jetty.util.IO; import org.eclipse.jetty.util.Pool; import org.eclipse.jetty.util.Promise; import org.eclipse.jetty.util.annotation.ManagedAttribute; @@ -40,10 +46,12 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen { private static final Logger LOG = LoggerFactory.getLogger(AbstractConnectionPool.class); + private final AtomicInteger pending = new AtomicInteger(); private final HttpDestination destination; private final Callback requester; private final Pool pool; private boolean maximizeConnections; + private volatile long maxDurationNanos = 0L; protected AbstractConnectionPool(HttpDestination destination, int maxConnections, boolean cache, Callback requester) { @@ -67,12 +75,44 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen @Override public CompletableFuture preCreateConnections(int connectionCount) { - CompletableFuture[] futures = new CompletableFuture[connectionCount]; + if (LOG.isDebugEnabled()) + LOG.debug("Pre-creating connections {}/{}", connectionCount, getMaxConnectionCount()); + + List> futures = new ArrayList<>(); for (int i = 0; i < connectionCount; i++) { - futures[i] = tryCreateAsync(getMaxConnectionCount()); + Pool.Entry entry = pool.reserve(); + if (entry == null) + break; + pending.incrementAndGet(); + Promise.Completable future = new FutureConnection(entry); + futures.add(future); + if (LOG.isDebugEnabled()) + LOG.debug("Pre-creating connection {}/{} at {}", futures.size(), getMaxConnectionCount(), entry); + destination.newConnection(future); } - return CompletableFuture.allOf(futures); + return CompletableFuture.allOf(futures.toArray(new CompletableFuture[0])); + } + + /** + *

      Get the max usage duration in milliseconds of the pool's connections. + * Values {@code 0} and negative mean that there is no limit.

      + *

      This only guarantees that a connection cannot be acquired after the configured + * duration elapses, so that is only enforced when {@link #acquire(boolean)} is called. + * If a pool stays completely idle for a duration longer than the value + * returned by this method, the max duration will not be enforced. + * It's up to the idle timeout mechanism (see {@link HttpClient#getIdleTimeout()}) + * to handle closing idle connections.

      + */ + @ManagedAttribute(value = "The maximum duration in milliseconds a connection can be used for before it gets closed") + public long getMaxDuration() + { + return TimeUnit.NANOSECONDS.toMillis(maxDurationNanos); + } + + public void setMaxDuration(long maxDurationInMs) + { + this.maxDurationNanos = TimeUnit.MILLISECONDS.toNanos(maxDurationInMs); } protected int getMaxMultiplex() @@ -122,7 +162,7 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen @ManagedAttribute(value = "The number of pending connections", readonly = true) public int getPendingConnectionCount() { - return pool.getReservedCount(); + return pending.get(); } @Override @@ -158,13 +198,17 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen *

      Returns an idle connection, if available; * if an idle connection is not available, and the given {@code create} parameter is {@code true} * or {@link #isMaximizeConnections()} is {@code true}, - * then schedules the opening of a new connection, if possible within the configuration of this + * then attempts to open a new connection, if possible within the configuration of this * connection pool (for example, if it does not exceed the max connection count); - * otherwise returns {@code null}.

      + * otherwise it attempts to open a new connection, if the number of queued requests is + * greater than the number of pending connections; + * if no connection is available even after the attempts to open, return {@code null}.

      + *

      The {@code create} parameter is just a hint: the connection may be created even if + * {@code false}, or may not be created even if {@code true}.

      * - * @param create whether to schedule the opening of a connection if no idle connections are available + * @param create a hint to attempt to open a new connection if no idle connections are available * @return an idle connection or {@code null} if no idle connections are available - * @see #tryCreate(int) + * @see #tryCreate(boolean) */ @Override public Connection acquire(boolean create) @@ -172,75 +216,65 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen if (LOG.isDebugEnabled()) LOG.debug("Acquiring create={} on {}", create, this); Connection connection = activate(); - if (connection == null && (create || isMaximizeConnections())) + if (connection == null) { - tryCreate(destination.getQueuedRequestCount()); + tryCreate(create); connection = activate(); } return connection; } /** - *

      Schedules the opening of a new connection.

      - *

      Whether a new connection is scheduled for opening is determined by the {@code maxPending} parameter: - * if {@code maxPending} is greater than the current number of connections scheduled for opening, - * then this method returns without scheduling the opening of a new connection; - * if {@code maxPending} is negative, a new connection is always scheduled for opening.

      + *

      Tries to create a new connection.

      + *

      Whether a new connection is created is determined by the {@code create} parameter + * and a count of demand and supply, where the demand is derived from the number of + * queued requests, and the supply is the number of pending connections time the + * {@link #getMaxMultiplex()} factor: if the demand is less than the supply, the + * connection will not be created.

      + *

      Since the number of queued requests used to derive the demand may be a stale + * value, it is possible that few more connections than strictly necessary may be + * created, but enough to satisfy the demand.

      * - * @param maxPending the max desired number of connections scheduled for opening, - * or a negative number to always trigger the opening of a new connection + * @param create a hint to request to create a connection */ - protected void tryCreate(int maxPending) - { - tryCreateAsync(maxPending); - } - - private CompletableFuture tryCreateAsync(int maxPending) + protected void tryCreate(boolean create) { int connectionCount = getConnectionCount(); if (LOG.isDebugEnabled()) - LOG.debug("Try creating connection {}/{} with {}/{} pending", connectionCount, getMaxConnectionCount(), getPendingConnectionCount(), maxPending); + LOG.debug("Try creating connection {}/{} with {} pending", connectionCount, getMaxConnectionCount(), getPendingConnectionCount()); - Pool.Entry entry = pool.reserve(maxPending); + // If we have already pending sufficient multiplexed connections, then do not create another. + int multiplexed = getMaxMultiplex(); + while (true) + { + int pending = this.pending.get(); + int supply = pending * multiplexed; + int demand = destination.getQueuedRequestCount() + (create ? 1 : 0); + + boolean tryCreate = isMaximizeConnections() || supply < demand; + + if (LOG.isDebugEnabled()) + LOG.debug("Try creating({}) connection, pending/demand/supply: {}/{}/{}, result={}", create, pending, demand, supply, tryCreate); + + if (!tryCreate) + return; + + if (this.pending.compareAndSet(pending, pending + 1)) + break; + } + + // Create the connection. + Pool.Entry entry = pool.reserve(); if (entry == null) - return CompletableFuture.completedFuture(null); + { + pending.decrementAndGet(); + return; + } if (LOG.isDebugEnabled()) - LOG.debug("Creating connection {}/{}", connectionCount, getMaxConnectionCount()); - - CompletableFuture future = new CompletableFuture<>(); - destination.newConnection(new Promise<>() - { - @Override - public void succeeded(Connection connection) - { - if (LOG.isDebugEnabled()) - LOG.debug("Connection {}/{} creation succeeded {}", connectionCount, getMaxConnectionCount(), connection); - if (!(connection instanceof Attachable)) - { - failed(new IllegalArgumentException("Invalid connection object: " + connection)); - return; - } - ((Attachable)connection).setAttachment(entry); - onCreated(connection); - entry.enable(connection, false); - idle(connection, false); - future.complete(null); - proceed(); - } - - @Override - public void failed(Throwable x) - { - if (LOG.isDebugEnabled()) - LOG.debug("Connection {}/{} creation failed", connectionCount, getMaxConnectionCount(), x); - entry.remove(); - future.completeExceptionally(x); - requester.failed(x); - } - }); - - return future; + LOG.debug("Creating connection {}/{} at {}", connectionCount, getMaxConnectionCount(), entry); + Promise future = new FutureConnection(entry); + destination.newConnection(future); } @Override @@ -248,13 +282,13 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen { if (!(connection instanceof Attachable)) throw new IllegalArgumentException("Invalid connection object: " + connection); - Pool.Entry entry = pool.reserve(-1); + Pool.Entry entry = pool.reserve(); if (entry == null) return false; if (LOG.isDebugEnabled()) LOG.debug("onCreating {} {}", entry, connection); Attachable attachable = (Attachable)connection; - attachable.setAttachment(entry); + attachable.setAttachment(new EntryHolder(entry)); onCreated(connection); entry.enable(connection, false); idle(connection, false); @@ -268,16 +302,35 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen protected Connection activate() { - Pool.Entry entry = pool.acquire(); - if (entry != null) + while (true) { - if (LOG.isDebugEnabled()) - LOG.debug("Activated {} {}", entry, pool); - Connection connection = entry.getPooled(); - acquired(connection); - return connection; + Pool.Entry entry = pool.acquire(); + if (entry != null) + { + Connection connection = entry.getPooled(); + + long maxDurationNanos = this.maxDurationNanos; + if (maxDurationNanos > 0L) + { + EntryHolder holder = (EntryHolder)((Attachable)connection).getAttachment(); + if (holder.isExpired(maxDurationNanos)) + { + boolean canClose = remove(connection, true); + if (canClose) + IO.close(connection); + if (LOG.isDebugEnabled()) + LOG.debug("Connection removed{} due to expiration {} {}", (canClose ? " and closed" : ""), entry, pool); + continue; + } + } + + if (LOG.isDebugEnabled()) + LOG.debug("Activated {} {}", entry, pool); + acquired(connection); + return connection; + } + return null; } - return null; } @Override @@ -286,11 +339,10 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen if (!(connection instanceof Attachable)) throw new IllegalArgumentException("Invalid connection object: " + connection); Attachable attachable = (Attachable)connection; - @SuppressWarnings("unchecked") - Pool.Entry entry = (Pool.Entry)attachable.getAttachment(); - if (entry == null) + EntryHolder holder = (EntryHolder)attachable.getAttachment(); + if (holder == null) return false; - return !entry.isIdle(); + return !holder.entry.isIdle(); } @Override @@ -307,13 +359,12 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen if (!(connection instanceof Attachable)) throw new IllegalArgumentException("Invalid connection object: " + connection); Attachable attachable = (Attachable)connection; - @SuppressWarnings("unchecked") - Pool.Entry entry = (Pool.Entry)attachable.getAttachment(); - if (entry == null) + EntryHolder holder = (EntryHolder)attachable.getAttachment(); + if (holder == null) return true; - boolean reusable = pool.release(entry); + boolean reusable = pool.release(holder.entry); if (LOG.isDebugEnabled()) - LOG.debug("Released ({}) {} {}", reusable, entry, pool); + LOG.debug("Released ({}) {} {}", reusable, holder.entry, pool); if (reusable) return true; remove(connection); @@ -331,14 +382,14 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen if (!(connection instanceof Attachable)) throw new IllegalArgumentException("Invalid connection object: " + connection); Attachable attachable = (Attachable)connection; - @SuppressWarnings("unchecked") - Pool.Entry entry = (Pool.Entry)attachable.getAttachment(); - if (entry == null) + EntryHolder holder = (EntryHolder)attachable.getAttachment(); + if (holder == null) return false; - attachable.setAttachment(null); - boolean removed = pool.remove(entry); + boolean removed = pool.remove(holder.entry); + if (removed) + attachable.setAttachment(null); if (LOG.isDebugEnabled()) - LOG.debug("Removed ({}) {} {}", removed, entry, pool); + LOG.debug("Removed ({}) {} {}", removed, holder.entry, pool); if (removed || force) { released(connection); @@ -401,33 +452,96 @@ public abstract class AbstractConnectionPool extends ContainerLifeCycle implemen @Override public boolean sweep() { - pool.values().stream().filter(entry -> entry.getPooled() instanceof Sweeper.Sweepable).forEach(entry -> - { - Connection connection = entry.getPooled(); - if (((Sweeper.Sweepable)connection).sweep()) + pool.values().stream() + .map(Pool.Entry::getPooled) + .filter(connection -> connection instanceof Sweeper.Sweepable) + .forEach(connection -> { - boolean removed = remove(connection); - LOG.warn("Connection swept: {}{}{} from active connections{}{}", - connection, - System.lineSeparator(), - removed ? "Removed" : "Not removed", - System.lineSeparator(), - dump()); - } - }); + if (((Sweeper.Sweepable)connection).sweep()) + { + boolean removed = remove(connection); + LOG.warn("Connection swept: {}{}{} from active connections{}{}", + connection, + System.lineSeparator(), + removed ? "Removed" : "Not removed", + System.lineSeparator(), + dump()); + } + }); return false; } @Override public String toString() { - return String.format("%s@%x[c=%d/%d/%d,a=%d,i=%d]", + return String.format("%s@%x[c=%d/%d/%d,a=%d,i=%d,q=%d]", getClass().getSimpleName(), hashCode(), getPendingConnectionCount(), getConnectionCount(), getMaxConnectionCount(), getActiveConnectionCount(), - getIdleConnectionCount()); + getIdleConnectionCount(), + destination.getQueuedRequestCount()); + } + + private class FutureConnection extends Promise.Completable + { + private final Pool.Entry reserved; + + public FutureConnection(Pool.Entry reserved) + { + this.reserved = reserved; + } + + @Override + public void succeeded(Connection connection) + { + if (LOG.isDebugEnabled()) + LOG.debug("Connection creation succeeded {}: {}", reserved, connection); + if (connection instanceof Attachable) + { + ((Attachable)connection).setAttachment(new EntryHolder(reserved)); + onCreated(connection); + pending.decrementAndGet(); + reserved.enable(connection, false); + idle(connection, false); + complete(null); + proceed(); + } + else + { + // reduce pending on failure and if not multiplexing also reduce demand + failed(new IllegalArgumentException("Invalid connection object: " + connection)); + } + } + + @Override + public void failed(Throwable x) + { + if (LOG.isDebugEnabled()) + LOG.debug("Connection creation failed {}", reserved, x); + // reduce pending on failure and if not multiplexing also reduce demand + pending.decrementAndGet(); + reserved.remove(); + completeExceptionally(x); + requester.failed(x); + } + } + + private static class EntryHolder + { + private final Pool.Entry entry; + private final long creationTimestamp = System.nanoTime(); + + private EntryHolder(Pool.Entry entry) + { + this.entry = Objects.requireNonNull(entry); + } + + private boolean isExpired(long timeoutNanos) + { + return System.nanoTime() - creationTimestamp >= timeoutNanos; + } } } diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractConnectorHttpClientTransport.java b/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractConnectorHttpClientTransport.java index 0b61148230e..cdac10161a8 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractConnectorHttpClientTransport.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractConnectorHttpClientTransport.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractHttpClientTransport.java b/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractHttpClientTransport.java index e27a87626cc..4fd7f4c72e2 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractHttpClientTransport.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/AbstractHttpClientTransport.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/AsyncContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/AsyncContentProvider.java index 6beec54a7a1..d310a6cf9f0 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/AsyncContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/AsyncContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/AuthenticationProtocolHandler.java b/jetty-client/src/main/java/org/eclipse/jetty/client/AuthenticationProtocolHandler.java index 829e7264b72..afa6eb49f4f 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/AuthenticationProtocolHandler.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/AuthenticationProtocolHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ConnectionPool.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ConnectionPool.java index 3b0218e0a28..687ba809fbf 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ConnectionPool.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ConnectionPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ContentDecoder.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ContentDecoder.java index c01f95aa641..b4ff2c8ff48 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ContentDecoder.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ContentDecoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ContinueProtocolHandler.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ContinueProtocolHandler.java index 3892261db8b..2e42968c729 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ContinueProtocolHandler.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ContinueProtocolHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/DuplexConnectionPool.java b/jetty-client/src/main/java/org/eclipse/jetty/client/DuplexConnectionPool.java index fe7ab25335e..26ca41d2a8f 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/DuplexConnectionPool.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/DuplexConnectionPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/DuplexHttpDestination.java b/jetty-client/src/main/java/org/eclipse/jetty/client/DuplexHttpDestination.java index 952522d0ec4..3ced3d688f3 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/DuplexHttpDestination.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/DuplexHttpDestination.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/GZIPContentDecoder.java b/jetty-client/src/main/java/org/eclipse/jetty/client/GZIPContentDecoder.java index 05b8e4d6574..5fa7df17780 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/GZIPContentDecoder.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/GZIPContentDecoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpAuthenticationStore.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpAuthenticationStore.java index d24b04c7782..5c87bf3c7de 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpAuthenticationStore.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpAuthenticationStore.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpChannel.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpChannel.java index 30eb23488fc..4a1826f83ee 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpChannel.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpChannel.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java index 66556ab5e6f..7e672fd42b5 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClient.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClientTransport.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClientTransport.java index 88d1b181893..3b9aefe42eb 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClientTransport.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpClientTransport.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpConnection.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpConnection.java index c7aa894a78e..ffa23a31302 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpConnection.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpContentResponse.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpContentResponse.java index abc1eb06c5a..e2ca17ae22f 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpContentResponse.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpContentResponse.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpConversation.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpConversation.java index d73b8abbc32..002411fb3eb 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpConversation.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpConversation.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpDestination.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpDestination.java index 406931afe41..f089895aac7 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpDestination.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpDestination.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -109,7 +109,7 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest protected void doStart() throws Exception { this.connectionPool = newConnectionPool(client); - addBean(connectionPool); + addBean(connectionPool, true); super.doStart(); Sweeper sweeper = client.getBean(Sweeper.class); if (sweeper != null && connectionPool instanceof Sweeper.Sweepable) @@ -296,9 +296,8 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest private void send(boolean create) { - if (getHttpExchanges().isEmpty()) - return; - process(create); + if (!getHttpExchanges().isEmpty()) + process(create); } private void process(boolean create) @@ -306,20 +305,24 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest // The loop is necessary in case of a new multiplexed connection, // when a single thread notified of the connection opening must // process all queued exchanges. - // In other cases looping is a work-stealing optimization. + // It is also necessary when thread T1 cannot acquire a connection + // (for example, it has been stolen by thread T2 and the pool has + // enough pending reservations). T1 returns without doing anything + // and therefore it is T2 that must send both queued requests. while (true) { Connection connection = connectionPool.acquire(create); if (connection == null) break; - ProcessResult result = process(connection); - if (result == ProcessResult.FINISH) + boolean proceed = process(connection); + if (proceed) + create = false; + else break; - create = result == ProcessResult.RESTART; } } - private ProcessResult process(Connection connection) + private boolean process(Connection connection) { HttpClient client = getHttpClient(); HttpExchange exchange = getHttpExchanges().poll(); @@ -335,7 +338,7 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest LOG.debug("{} is stopping", client); connection.close(); } - return ProcessResult.FINISH; + return false; } else { @@ -353,9 +356,7 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest // is created. Aborting the exchange a second time will result in // a no-operation, so we just abort here to cover that edge case. exchange.abort(cause); - return getHttpExchanges().size() > 0 - ? (released ? ProcessResult.CONTINUE : ProcessResult.RESTART) - : ProcessResult.FINISH; + return getQueuedRequestCount() > 0; } SendFailure failure = send((IConnection)connection, exchange); @@ -363,7 +364,7 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest { // Aggressively send other queued requests // in case connections are multiplexed. - return getQueuedRequestCount() > 0 ? ProcessResult.CONTINUE : ProcessResult.FINISH; + return getQueuedRequestCount() > 0; } if (LOG.isDebugEnabled()) @@ -373,10 +374,10 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest // Resend this exchange, likely on another connection, // and return false to avoid to re-enter this method. send(exchange); - return ProcessResult.FINISH; + return false; } request.abort(failure.failure); - return getHttpExchanges().size() > 0 ? ProcessResult.RESTART : ProcessResult.FINISH; + return getQueuedRequestCount() > 0; } } @@ -458,7 +459,7 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest // Process queued requests that may be waiting. // We may create a connection that is not // needed, but it will eventually idle timeout. - process(true); + send(true); } return removed; } @@ -515,8 +516,8 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest getOrigin(), hashCode(), proxy == null ? "" : "(via " + proxy + ")", - exchanges.size(), - connectionPool); + getQueuedRequestCount(), + getConnectionPool()); } @FunctionalInterface @@ -590,9 +591,4 @@ public abstract class HttpDestination extends ContainerLifeCycle implements Dest } } } - - private enum ProcessResult - { - RESTART, CONTINUE, FINISH - } } diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java index 7f018bac7c9..68bf7f26d50 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpExchange.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpProxy.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpProxy.java index 2954252a8c8..6a868ebddbb 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpProxy.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpProxy.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpReceiver.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpReceiver.java index 5d38245399c..bbc078188e7 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpReceiver.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpReceiver.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRedirector.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRedirector.java index 4c0255244bd..539b090a515 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRedirector.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRedirector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequest.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequest.java index 574bb87f031..107589b3eb4 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequest.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequestException.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequestException.java index e64c6499ad8..84f6537d30f 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequestException.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpRequestException.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpResponse.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpResponse.java index 43eecc29fea..c879a1b2cd4 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpResponse.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpResponse.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpResponseException.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpResponseException.java index 97413d2b230..c4a7de355b9 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpResponseException.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpResponseException.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpSender.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpSender.java index 8d698c76494..40b7d29d027 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpSender.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpSender.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpUpgrader.java b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpUpgrader.java index 7d5c67c109a..6c08c85d411 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/HttpUpgrader.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/HttpUpgrader.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/IConnection.java b/jetty-client/src/main/java/org/eclipse/jetty/client/IConnection.java index ff9313fda57..70ef4dc6d1d 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/IConnection.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/IConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/LeakTrackingConnectionPool.java b/jetty-client/src/main/java/org/eclipse/jetty/client/LeakTrackingConnectionPool.java index 2d21cea094e..20f98834699 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/LeakTrackingConnectionPool.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/LeakTrackingConnectionPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/MultiplexConnectionPool.java b/jetty-client/src/main/java/org/eclipse/jetty/client/MultiplexConnectionPool.java index 0facac8f867..92f55d59472 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/MultiplexConnectionPool.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/MultiplexConnectionPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/MultiplexHttpDestination.java b/jetty-client/src/main/java/org/eclipse/jetty/client/MultiplexHttpDestination.java index 8911ab9ea9f..2a8dd114d80 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/MultiplexHttpDestination.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/MultiplexHttpDestination.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/Origin.java b/jetty-client/src/main/java/org/eclipse/jetty/client/Origin.java index 2980ed59b72..c7d76f44905 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/Origin.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/Origin.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ProtocolHandler.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ProtocolHandler.java index 77ebadb273e..4d4d71a702f 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ProtocolHandler.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ProtocolHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ProtocolHandlers.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ProtocolHandlers.java index 7748575b348..06f20b4fee0 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ProtocolHandlers.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ProtocolHandlers.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyAuthenticationProtocolHandler.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyAuthenticationProtocolHandler.java index 97abad96a63..c72f59e5c83 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyAuthenticationProtocolHandler.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyAuthenticationProtocolHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyConfiguration.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyConfiguration.java index cdae3ea61d7..73a62e0508f 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyConfiguration.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyProtocolClientConnectionFactory.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyProtocolClientConnectionFactory.java index ceefd5e44c5..52d4ce130a0 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyProtocolClientConnectionFactory.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ProxyProtocolClientConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/RandomConnectionPool.java b/jetty-client/src/main/java/org/eclipse/jetty/client/RandomConnectionPool.java index bd3cef9970a..b6459cde83e 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/RandomConnectionPool.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/RandomConnectionPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/RedirectProtocolHandler.java b/jetty-client/src/main/java/org/eclipse/jetty/client/RedirectProtocolHandler.java index 6ae195ed7c2..7e4cc4bff99 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/RedirectProtocolHandler.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/RedirectProtocolHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/RequestNotifier.java b/jetty-client/src/main/java/org/eclipse/jetty/client/RequestNotifier.java index ad4482b81bb..6f2645b7176 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/RequestNotifier.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/RequestNotifier.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ResponseNotifier.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ResponseNotifier.java index 513d7620642..69bb7f85e72 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ResponseNotifier.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ResponseNotifier.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/RoundRobinConnectionPool.java b/jetty-client/src/main/java/org/eclipse/jetty/client/RoundRobinConnectionPool.java index 60f589f6af4..3cb3def4a61 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/RoundRobinConnectionPool.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/RoundRobinConnectionPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/SendFailure.java b/jetty-client/src/main/java/org/eclipse/jetty/client/SendFailure.java index da274f8b30c..a29074584f0 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/SendFailure.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/SendFailure.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/Socks4Proxy.java b/jetty-client/src/main/java/org/eclipse/jetty/client/Socks4Proxy.java index 419987919e4..aa9b2e54219 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/Socks4Proxy.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/Socks4Proxy.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/Synchronizable.java b/jetty-client/src/main/java/org/eclipse/jetty/client/Synchronizable.java index cd8166f5f35..a162faaae09 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/Synchronizable.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/Synchronizable.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/TimeoutCompleteListener.java b/jetty-client/src/main/java/org/eclipse/jetty/client/TimeoutCompleteListener.java index bcbbc58f535..2f3e7978fe5 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/TimeoutCompleteListener.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/TimeoutCompleteListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/UpgradeProtocolHandler.java b/jetty-client/src/main/java/org/eclipse/jetty/client/UpgradeProtocolHandler.java index 1181a2fcd5a..67e97b2d90a 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/UpgradeProtocolHandler.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/UpgradeProtocolHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/ValidatingConnectionPool.java b/jetty-client/src/main/java/org/eclipse/jetty/client/ValidatingConnectionPool.java index 30cd7b8ccae..d21e61e5da8 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/ValidatingConnectionPool.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/ValidatingConnectionPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/WWWAuthenticationProtocolHandler.java b/jetty-client/src/main/java/org/eclipse/jetty/client/WWWAuthenticationProtocolHandler.java index af4427a8476..ee9435e08b9 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/WWWAuthenticationProtocolHandler.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/WWWAuthenticationProtocolHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Authentication.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Authentication.java index 417d1b2861e..c66f29622e7 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Authentication.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Authentication.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/AuthenticationStore.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/AuthenticationStore.java index 26d26a6a043..138623da461 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/AuthenticationStore.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/AuthenticationStore.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Connection.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Connection.java index a98b3caaf45..9b0fe275f36 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Connection.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Connection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/ContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/ContentProvider.java index 595f9750a85..869ed7b6243 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/ContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/ContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/ContentResponse.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/ContentResponse.java index 60f2c6ee7d4..80c0c20d34e 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/ContentResponse.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/ContentResponse.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Destination.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Destination.java index 581d6d5dca3..a28808e1ed2 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Destination.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Destination.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Request.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Request.java index 31958e94a07..ea8a4f8f948 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Request.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Request.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java index c7ef1b497cc..d4a0f322de9 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Response.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Result.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Result.java index 4b419c1ad96..c38270df00a 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/Result.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/Result.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/api/package-info.java b/jetty-client/src/main/java/org/eclipse/jetty/client/api/package-info.java index 94602d795ff..bd45c4b847c 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/api/package-info.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/api/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/dynamic/HttpClientTransportDynamic.java b/jetty-client/src/main/java/org/eclipse/jetty/client/dynamic/HttpClientTransportDynamic.java index da510c88a9b..15b200cc04a 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/dynamic/HttpClientTransportDynamic.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/dynamic/HttpClientTransportDynamic.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpChannelOverHTTP.java b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpChannelOverHTTP.java index 0e7140bd02d..901857f4858 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpChannelOverHTTP.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpChannelOverHTTP.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpClientConnectionFactory.java b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpClientConnectionFactory.java index bb70a0943fb..ccc413752ff 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpClientConnectionFactory.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpClientConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpClientTransportOverHTTP.java b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpClientTransportOverHTTP.java index e4048041b34..4064a3a0b1c 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpClientTransportOverHTTP.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpClientTransportOverHTTP.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpConnectionOverHTTP.java b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpConnectionOverHTTP.java index a71a3d2de4f..489afc1c2e9 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpConnectionOverHTTP.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpConnectionOverHTTP.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTP.java b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTP.java index 44597e4ebc5..04b4843775d 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTP.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTP.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpSenderOverHTTP.java b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpSenderOverHTTP.java index 419ebfe619e..1ed838cb832 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpSenderOverHTTP.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/http/HttpSenderOverHTTP.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/http/ProtocolHttpUpgrader.java b/jetty-client/src/main/java/org/eclipse/jetty/client/http/ProtocolHttpUpgrader.java index d382efcfe97..8c453da1430 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/http/ProtocolHttpUpgrader.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/http/ProtocolHttpUpgrader.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/internal/RequestContentAdapter.java b/jetty-client/src/main/java/org/eclipse/jetty/client/internal/RequestContentAdapter.java index 981c6c89186..2b7570ba91c 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/internal/RequestContentAdapter.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/internal/RequestContentAdapter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/jmx/HttpClientMBean.java b/jetty-client/src/main/java/org/eclipse/jetty/client/jmx/HttpClientMBean.java index 2b5c016e77b..a43eee60734 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/jmx/HttpClientMBean.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/jmx/HttpClientMBean.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/package-info.java b/jetty-client/src/main/java/org/eclipse/jetty/client/package-info.java index c9b37269f18..4830cbb7b41 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/package-info.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/proxy/ProxyProtocolClientConnectionFactory.java b/jetty-client/src/main/java/org/eclipse/jetty/client/proxy/ProxyProtocolClientConnectionFactory.java index 15171761580..707c025fa7d 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/proxy/ProxyProtocolClientConnectionFactory.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/proxy/ProxyProtocolClientConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractAuthentication.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractAuthentication.java index cf7cf290179..9c6a42bfd30 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractAuthentication.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractAuthentication.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractRequestContent.java index a66d8046799..3b1958fc0cf 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractTypedContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractTypedContentProvider.java index ba79f5c7722..1920fd45352 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractTypedContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/AbstractTypedContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/AsyncRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/AsyncRequestContent.java index 8e6deb8f9ed..ca10ba44bc0 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/AsyncRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/AsyncRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BasicAuthentication.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BasicAuthentication.java index ab1a36242aa..7bd8b4f0a75 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BasicAuthentication.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BasicAuthentication.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -14,6 +14,7 @@ package org.eclipse.jetty.client.util; import java.net.URI; +import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.Base64; @@ -58,7 +59,9 @@ public class BasicAuthentication extends AbstractAuthentication @Override public Result authenticate(Request request, ContentResponse response, HeaderInfo headerInfo, Attributes context) { - return new BasicResult(getURI(), headerInfo.getHeader(), user, password); + String charsetParam = headerInfo.getParameter("charset"); + Charset charset = charsetParam == null ? null : Charset.forName(charsetParam); + return new BasicResult(getURI(), headerInfo.getHeader(), user, password, charset); } /** @@ -83,10 +86,17 @@ public class BasicAuthentication extends AbstractAuthentication } public BasicResult(URI uri, HttpHeader header, String user, String password) + { + this(uri, header, user, password, StandardCharsets.ISO_8859_1); + } + + public BasicResult(URI uri, HttpHeader header, String user, String password, Charset charset) { this.uri = uri; this.header = header; - byte[] authBytes = (user + ":" + password).getBytes(StandardCharsets.ISO_8859_1); + if (charset == null) + charset = StandardCharsets.ISO_8859_1; + byte[] authBytes = (user + ":" + password).getBytes(charset); this.value = "Basic " + Base64.getEncoder().encodeToString(authBytes); } diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BufferingResponseListener.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BufferingResponseListener.java index 52c4b41da31..edc7bf045f5 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BufferingResponseListener.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BufferingResponseListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/ByteBufferContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/ByteBufferContentProvider.java index fc96b9add00..e96785e482b 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/ByteBufferContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/ByteBufferContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/ByteBufferRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/ByteBufferRequestContent.java index dbda41ee271..750c6cc0259 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/ByteBufferRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/ByteBufferRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BytesContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BytesContentProvider.java index 5d4234f6abe..f90cffd5e73 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BytesContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BytesContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BytesRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BytesRequestContent.java index e98ef3bd3ff..ac312078486 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/BytesRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/BytesRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/DeferredContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/DeferredContentProvider.java index 23ff40e0c24..1f97d505326 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/DeferredContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/DeferredContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/DigestAuthentication.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/DigestAuthentication.java index fd7d5a93998..e9f4f4063bb 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/DigestAuthentication.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/DigestAuthentication.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/FormContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/FormContentProvider.java index e68937dda72..0c16bac851a 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/FormContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/FormContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/FormRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/FormRequestContent.java index b2f6c0c3fd7..e37363396f9 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/FormRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/FormRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/FutureResponseListener.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/FutureResponseListener.java index d531a4680dd..a767b0b76a9 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/FutureResponseListener.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/FutureResponseListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamContentProvider.java index 99fef4bb25e..be89232c571 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamRequestContent.java index dac68ad9aa7..2a5c9658dec 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamResponseListener.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamResponseListener.java index bc5947349bf..f61d09ec1dc 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamResponseListener.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/InputStreamResponseListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/MultiPartContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/MultiPartContentProvider.java index 128172754e7..108cd12d9e6 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/MultiPartContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/MultiPartContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/MultiPartRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/MultiPartRequestContent.java index 48a0d4cb9b5..079c359f1b8 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/MultiPartRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/MultiPartRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/OutputStreamContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/OutputStreamContentProvider.java index 7ba6ad24bc7..e9e50d6506d 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/OutputStreamContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/OutputStreamContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/OutputStreamRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/OutputStreamRequestContent.java index 4a17bf3bf5d..b905c59fe2f 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/OutputStreamRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/OutputStreamRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/PathContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/PathContentProvider.java index 62b7d976000..951014f7354 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/PathContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/PathContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/PathRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/PathRequestContent.java index f08a570fcc4..32c99139764 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/PathRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/PathRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/SPNEGOAuthentication.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/SPNEGOAuthentication.java index 412f13d4417..6248f69a953 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/SPNEGOAuthentication.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/SPNEGOAuthentication.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/StringContentProvider.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/StringContentProvider.java index 49ad6242520..eca17d43054 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/StringContentProvider.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/StringContentProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/StringRequestContent.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/StringRequestContent.java index 4c2f253032e..9195b238c30 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/StringRequestContent.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/StringRequestContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/main/java/org/eclipse/jetty/client/util/package-info.java b/jetty-client/src/main/java/org/eclipse/jetty/client/util/package-info.java index 6e621c82eea..6f8da60ca0f 100644 --- a/jetty-client/src/main/java/org/eclipse/jetty/client/util/package-info.java +++ b/jetty-client/src/main/java/org/eclipse/jetty/client/util/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/AbstractHttpClientServerTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/AbstractHttpClientServerTest.java index 2cdebd215a2..641ce7f0a68 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/AbstractHttpClientServerTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/AbstractHttpClientServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ClientConnectionCloseTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ClientConnectionCloseTest.java index fbd6a641a07..d8b4b073ee9 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ClientConnectionCloseTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ClientConnectionCloseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ConnectionPoolHelper.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ConnectionPoolHelper.java index aef09e90d92..8c93a601485 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ConnectionPoolHelper.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ConnectionPoolHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -22,8 +22,8 @@ public class ConnectionPoolHelper return connectionPool.acquire(create); } - public static void tryCreate(AbstractConnectionPool connectionPool, int pending) + public static void tryCreate(AbstractConnectionPool connectionPool) { - connectionPool.tryCreate(pending); + connectionPool.tryCreate(true); } } diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ConnectionPoolTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ConnectionPoolTest.java index 4ae5cf02337..7c306225482 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ConnectionPoolTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ConnectionPoolTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -18,13 +18,17 @@ import java.net.InetSocketAddress; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.CountDownLatch; +import java.util.concurrent.CyclicBarrier; import java.util.concurrent.ThreadLocalRandom; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.IntStream; import java.util.stream.Stream; +import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +import org.eclipse.jetty.client.api.Connection; import org.eclipse.jetty.client.api.ContentResponse; import org.eclipse.jetty.client.api.Destination; import org.eclipse.jetty.client.api.Request; @@ -45,6 +49,7 @@ import org.eclipse.jetty.util.SocketAddressResolver; import org.eclipse.jetty.util.thread.QueuedThreadPool; import org.hamcrest.Matchers; import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -68,6 +73,12 @@ public class ConnectionPoolTest { return Stream.of( new ConnectionPoolFactory("duplex", destination -> new DuplexConnectionPool(destination, destination.getHttpClient().getMaxConnectionsPerDestination(), destination)), + new ConnectionPoolFactory("duplex-maxDuration", destination -> + { + DuplexConnectionPool pool = new DuplexConnectionPool(destination, destination.getHttpClient().getMaxConnectionsPerDestination(), destination); + pool.setMaxDuration(10); + return pool; + }), new ConnectionPoolFactory("multiplex", destination -> new MultiplexConnectionPool(destination, destination.getHttpClient().getMaxConnectionsPerDestination(), destination, 1)), new ConnectionPoolFactory("random", destination -> new RandomConnectionPool(destination, destination.getHttpClient().getMaxConnectionsPerDestination(), destination, 1)) ); @@ -243,9 +254,12 @@ public class ConnectionPoolTest } @ParameterizedTest - @MethodSource("pools") + @MethodSource("poolsNoRoundRobin") public void testQueuedRequestsDontOpenTooManyConnections(ConnectionPoolFactory factory) throws Exception { + // Round robin connection pool does open a few more + // connections than expected, exclude it from this test. + startServer(new EmptyServerHandler()); ClientConnector clientConnector = new ClientConnector(); @@ -301,11 +315,10 @@ public class ConnectionPoolTest } @ParameterizedTest - @MethodSource("poolsNoRoundRobin") - public void testConcurrentRequestsDontOpenTooManyConnections(ConnectionPoolFactory factory) throws Exception + @MethodSource("pools") + public void testConcurrentRequestsWithSlowAddressResolver(ConnectionPoolFactory factory) throws Exception { - // Round robin connection pool does open a few more - // connections than expected, exclude it from this test. + // ConnectionPools may open a few more connections than expected. startServer(new EmptyServerHandler()); @@ -355,9 +368,193 @@ public class ConnectionPoolTest assertTrue(latch.await(count, TimeUnit.SECONDS)); List destinations = client.getDestinations(); assertEquals(1, destinations.size()); + } + + @ParameterizedTest + @MethodSource("pools") + public void testConcurrentRequestsAllBlockedOnServerWithLargeConnectionPool(ConnectionPoolFactory factory) throws Exception + { + int count = 50; + testConcurrentRequestsAllBlockedOnServer(factory, count, 2 * count); + } + + @ParameterizedTest + @MethodSource("pools") + public void testConcurrentRequestsAllBlockedOnServerWithExactConnectionPool(ConnectionPoolFactory factory) throws Exception + { + int count = 50; + testConcurrentRequestsAllBlockedOnServer(factory, count, count); + } + + private void testConcurrentRequestsAllBlockedOnServer(ConnectionPoolFactory factory, int count, int maxConnections) throws Exception + { + CyclicBarrier barrier = new CyclicBarrier(count); + + QueuedThreadPool serverThreads = new QueuedThreadPool(2 * count); + serverThreads.setName("server"); + server = new Server(serverThreads); + connector = new ServerConnector(server); + server.addConnector(connector); + server.setHandler(new EmptyServerHandler() + { + @Override + protected void service(String target, org.eclipse.jetty.server.Request jettyRequest, HttpServletRequest request, HttpServletResponse response) throws ServletException + { + try + { + barrier.await(); + } + catch (Exception x) + { + throw new ServletException(x); + } + } + }); + server.start(); + + ClientConnector clientConnector = new ClientConnector(); + clientConnector.setSelectors(1); + QueuedThreadPool clientThreads = new QueuedThreadPool(2 * count); + clientThreads.setName("client"); + HttpClientTransport transport = new HttpClientTransportOverHTTP(clientConnector); + transport.setConnectionPoolFactory(factory.factory); + client = new HttpClient(transport); + client.setExecutor(clientThreads); + client.setMaxConnectionsPerDestination(maxConnections); + client.start(); + + // Send N requests to the server, all waiting on the server. + // This should open N connections, and the test verifies that + // all N are sent (i.e. the client does not keep any queued). + CountDownLatch latch = new CountDownLatch(count); + for (int i = 0; i < count; ++i) + { + int id = i; + clientThreads.execute(() -> client.newRequest("localhost", connector.getLocalPort()) + .path("/" + id) + .send(result -> + { + if (result.isSucceeded()) + latch.countDown(); + })); + } + + assertTrue(latch.await(5, TimeUnit.SECONDS), "server requests " + barrier.getNumberWaiting() + "<" + count + " - client: " + client.dump()); + List destinations = client.getDestinations(); + assertEquals(1, destinations.size()); HttpDestination destination = (HttpDestination)destinations.get(0); AbstractConnectionPool connectionPool = (AbstractConnectionPool)destination.getConnectionPool(); - assertThat(connectionPool.getConnectionCount(), Matchers.lessThanOrEqualTo(count)); + assertThat(connectionPool.getConnectionCount(), Matchers.greaterThanOrEqualTo(count)); + } + + @Test + public void testMaxDurationConnectionsWithConstrainedPool() throws Exception + { + // ConnectionPool may NOT open more connections than expected because + // it is constrained to a single connection in this test. + + final int maxConnections = 1; + final int maxDuration = 30; + AtomicInteger poolCreateCounter = new AtomicInteger(); + AtomicInteger poolRemoveCounter = new AtomicInteger(); + ConnectionPoolFactory factory = new ConnectionPoolFactory("duplex-maxDuration", destination -> + { + // Constrain the max pool size to 1. + DuplexConnectionPool pool = new DuplexConnectionPool(destination, maxConnections, destination) + { + @Override + protected void onCreated(Connection connection) + { + poolCreateCounter.incrementAndGet(); + } + + @Override + protected void removed(Connection connection) + { + poolRemoveCounter.incrementAndGet(); + } + }; + pool.setMaxDuration(maxDuration); + return pool; + }); + + startServer(new EmptyServerHandler()); + + HttpClientTransport transport = new HttpClientTransportOverHTTP(1); + transport.setConnectionPoolFactory(factory.factory); + client = new HttpClient(transport); + client.start(); + + // Use the connection pool 5 times with a delay that is longer than the max duration in between each time. + for (int i = 0; i < 5; i++) + { + ContentResponse response = client.newRequest("localhost", connector.getLocalPort()) + .timeout(5, TimeUnit.SECONDS) + .send(); + assertThat(response.getStatus(), Matchers.is(200)); + + Thread.sleep(maxDuration * 2); + } + + // Check that the pool created 5 and removed 4 connections; + // it must be exactly 4 removed b/c each cycle of the loop + // can only open 1 connection as the pool is constrained to + // maximum 1 connection. + assertThat(poolCreateCounter.get(), Matchers.is(5)); + assertThat(poolRemoveCounter.get(), Matchers.is(4)); + } + + @Test + public void testMaxDurationConnectionsWithUnconstrainedPool() throws Exception + { + // ConnectionPools may open a few more connections than expected. + + final int maxDuration = 30; + AtomicInteger poolCreateCounter = new AtomicInteger(); + AtomicInteger poolRemoveCounter = new AtomicInteger(); + ConnectionPoolFactory factory = new ConnectionPoolFactory("duplex-maxDuration", destination -> + { + DuplexConnectionPool pool = new DuplexConnectionPool(destination, destination.getHttpClient().getMaxConnectionsPerDestination(), destination) + { + @Override + protected void onCreated(Connection connection) + { + poolCreateCounter.incrementAndGet(); + } + + @Override + protected void removed(Connection connection) + { + poolRemoveCounter.incrementAndGet(); + } + }; + pool.setMaxDuration(maxDuration); + return pool; + }); + + startServer(new EmptyServerHandler()); + + HttpClientTransport transport = new HttpClientTransportOverHTTP(1); + transport.setConnectionPoolFactory(factory.factory); + client = new HttpClient(transport); + client.start(); + + // Use the connection pool 5 times with a delay that is longer than the max duration in between each time. + for (int i = 0; i < 5; i++) + { + ContentResponse response = client.newRequest("localhost", connector.getLocalPort()) + .timeout(5, TimeUnit.SECONDS) + .send(); + assertThat(response.getStatus(), Matchers.is(200)); + + Thread.sleep(maxDuration * 2); + } + + // Check that the pool created 5 and removed at least 4 connections; + // it can be more than 4 removed b/c each cycle of the loop may + // open more than 1 connection as the pool is not constrained. + assertThat(poolCreateCounter.get(), Matchers.is(5)); + assertThat(poolRemoveCounter.get(), Matchers.greaterThanOrEqualTo(4)); } @ParameterizedTest diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ContentResponseTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ContentResponseTest.java index b709451e311..70016328066 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ContentResponseTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ContentResponseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/DuplexHttpDestinationTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/DuplexHttpDestinationTest.java index 8ce3c5a4a4f..b4c779410c0 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/DuplexHttpDestinationTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/DuplexHttpDestinationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -51,10 +51,12 @@ public class DuplexHttpDestinationTest extends AbstractHttpClientServerTest destination.start(); DuplexConnectionPool connectionPool = (DuplexConnectionPool)destination.getConnectionPool(); Connection connection = connectionPool.acquire(true); - assertNull(connection); - // There are no queued requests, so no connection should be created. - connection = peekIdleConnection(connectionPool, 1, TimeUnit.SECONDS); - assertNull(connection); + if (connection == null) + { + // There are no queued requests, so the newly created connection will be idle. + connection = peekIdleConnection(connectionPool, 5, TimeUnit.SECONDS); + } + assertNotNull(connection); } } @@ -70,7 +72,7 @@ public class DuplexHttpDestinationTest extends AbstractHttpClientServerTest DuplexConnectionPool connectionPool = (DuplexConnectionPool)destination.getConnectionPool(); // Trigger creation of one connection. - ConnectionPoolHelper.tryCreate(connectionPool, 1); + ConnectionPoolHelper.tryCreate(connectionPool); Connection connection = ConnectionPoolHelper.acquire(connectionPool, false); if (connection == null) @@ -94,7 +96,7 @@ public class DuplexHttpDestinationTest extends AbstractHttpClientServerTest DuplexConnectionPool connectionPool = (DuplexConnectionPool)destination.getConnectionPool(); // Trigger creation of one connection. - ConnectionPoolHelper.tryCreate(connectionPool, 1); + ConnectionPoolHelper.tryCreate(connectionPool); Connection connection1 = connectionPool.acquire(true); if (connection1 == null) @@ -146,7 +148,7 @@ public class DuplexHttpDestinationTest extends AbstractHttpClientServerTest DuplexConnectionPool connectionPool = (DuplexConnectionPool)destination.getConnectionPool(); // Trigger creation of one connection. - ConnectionPoolHelper.tryCreate(connectionPool, 1); + ConnectionPoolHelper.tryCreate(connectionPool); // Make sure we entered idleCreated(). assertTrue(idleLatch.await(5, TimeUnit.SECONDS)); @@ -157,7 +159,7 @@ public class DuplexHttpDestinationTest extends AbstractHttpClientServerTest assertNull(connection1); // Trigger creation of a second connection. - ConnectionPoolHelper.tryCreate(connectionPool, 1); + ConnectionPoolHelper.tryCreate(connectionPool); // Second attempt also returns null because we delayed idleCreated() above. Connection connection2 = connectionPool.acquire(true); @@ -185,7 +187,7 @@ public class DuplexHttpDestinationTest extends AbstractHttpClientServerTest DuplexConnectionPool connectionPool = (DuplexConnectionPool)destination.getConnectionPool(); // Trigger creation of one connection. - ConnectionPoolHelper.tryCreate(connectionPool, 1); + ConnectionPoolHelper.tryCreate(connectionPool); Connection connection1 = connectionPool.acquire(true); if (connection1 == null) @@ -222,7 +224,7 @@ public class DuplexHttpDestinationTest extends AbstractHttpClientServerTest DuplexConnectionPool connectionPool = (DuplexConnectionPool)destination.getConnectionPool(); // Trigger creation of one connection. - ConnectionPoolHelper.tryCreate(connectionPool, 1); + ConnectionPoolHelper.tryCreate(connectionPool); Connection connection1 = connectionPool.acquire(true); if (connection1 == null) diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/EmptyServerHandler.java b/jetty-client/src/test/java/org/eclipse/jetty/client/EmptyServerHandler.java index 804d0fe082a..78d4f7323c1 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/EmptyServerHandler.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/EmptyServerHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ExternalSiteTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ExternalSiteTest.java index 4516b9d019e..e41509cb834 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ExternalSiteTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ExternalSiteTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HostnameVerificationTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HostnameVerificationTest.java index 0e8724529e3..b17c9a98da3 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HostnameVerificationTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HostnameVerificationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpAuthenticationStoreTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpAuthenticationStoreTest.java index f801f65d60f..f08183e4416 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpAuthenticationStoreTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpAuthenticationStoreTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientAsyncContentTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientAsyncContentTest.java index 7f741958947..a3998dc9994 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientAsyncContentTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientAsyncContentTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientAuthenticationTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientAuthenticationTest.java index 84407abd393..e591f82efa5 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientAuthenticationTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientAuthenticationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -17,6 +17,8 @@ import java.io.File; import java.io.IOException; import java.net.URI; import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; @@ -74,17 +76,25 @@ public class HttpClientAuthenticationTest extends AbstractHttpClientServerTest { private String realm = "TestRealm"; - public void startBasic(final Scenario scenario, Handler handler) throws Exception + public void startBasic(Scenario scenario, Handler handler) throws Exception { - start(scenario, new BasicAuthenticator(), handler); + startBasic(scenario, handler, null); } - public void startDigest(final Scenario scenario, Handler handler) throws Exception + public void startBasic(Scenario scenario, Handler handler, Charset charset) throws Exception + { + BasicAuthenticator authenticator = new BasicAuthenticator(); + if (charset != null) + authenticator.setCharset(charset); + start(scenario, authenticator, handler); + } + + public void startDigest(Scenario scenario, Handler handler) throws Exception { start(scenario, new DigestAuthenticator(), handler); } - private void start(final Scenario scenario, Authenticator authenticator, Handler handler) throws Exception + private void start(Scenario scenario, Authenticator authenticator, Handler handler) throws Exception { server = new Server(); File realmFile = MavenTestingUtils.getTestResourceFile("realm.properties"); @@ -136,6 +146,16 @@ public class HttpClientAuthenticationTest extends AbstractHttpClientServerTest testAuthentication(scenario, new BasicAuthentication(uri, ANY_REALM, "basic", "basic")); } + @ParameterizedTest + @ArgumentsSource(ScenarioProvider.class) + public void testBasicWithUTF8Password(Scenario scenario) throws Exception + { + startBasic(scenario, new EmptyServerHandler(), StandardCharsets.UTF_8); + URI uri = URI.create(scenario.getScheme() + "://localhost:" + connector.getLocalPort()); + // @checkstyle-disable-check : AvoidEscapedUnicodeCharactersCheck + testAuthentication(scenario, new BasicAuthentication(uri, realm, "basic_utf8", "\u20AC")); + } + @ParameterizedTest @ArgumentsSource(ScenarioProvider.class) public void testDigestAuthentication(Scenario scenario) throws Exception @@ -154,11 +174,11 @@ public class HttpClientAuthenticationTest extends AbstractHttpClientServerTest testAuthentication(scenario, new DigestAuthentication(uri, ANY_REALM, "digest", "digest")); } - private void testAuthentication(final Scenario scenario, Authentication authentication) throws Exception + private void testAuthentication(Scenario scenario, Authentication authentication) throws Exception { AuthenticationStore authenticationStore = client.getAuthenticationStore(); - final AtomicReference requests = new AtomicReference<>(new CountDownLatch(1)); + AtomicReference requests = new AtomicReference<>(new CountDownLatch(1)); Request.Listener.Adapter requestListener = new Request.Listener.Adapter() { @Override @@ -242,7 +262,7 @@ public class HttpClientAuthenticationTest extends AbstractHttpClientServerTest URI uri = URI.create(scenario.getScheme() + "://localhost:" + connector.getLocalPort()); client.getAuthenticationStore().addAuthentication(new BasicAuthentication(uri, realm, "basic", "basic")); - final CountDownLatch requests = new CountDownLatch(3); + CountDownLatch requests = new CountDownLatch(3); Request.Listener.Adapter requestListener = new Request.Listener.Adapter() { @Override @@ -281,7 +301,7 @@ public class HttpClientAuthenticationTest extends AbstractHttpClientServerTest URI uri = URI.create(scenario.getScheme() + "://localhost:" + connector.getLocalPort()); client.getAuthenticationStore().addAuthentication(new BasicAuthentication(uri, realm, "basic", "basic")); - final CountDownLatch requests = new CountDownLatch(3); + CountDownLatch requests = new CountDownLatch(3); Request.Listener.Adapter requestListener = new Request.Listener.Adapter() { @Override @@ -309,7 +329,7 @@ public class HttpClientAuthenticationTest extends AbstractHttpClientServerTest { startBasic(scenario, new EmptyServerHandler()); - final AtomicReference requests = new AtomicReference<>(new CountDownLatch(2)); + AtomicReference requests = new AtomicReference<>(new CountDownLatch(2)); Request.Listener.Adapter requestListener = new Request.Listener.Adapter() { @Override @@ -381,7 +401,7 @@ public class HttpClientAuthenticationTest extends AbstractHttpClientServerTest // Request without Authentication would cause a 401, // but the client will throw an exception trying to // send the credentials to the server. - final String cause = "thrown_explicitly_by_test"; + String cause = "thrown_explicitly_by_test"; client.getAuthenticationStore().addAuthentication(new Authentication() { @Override @@ -397,7 +417,7 @@ public class HttpClientAuthenticationTest extends AbstractHttpClientServerTest } }); - final CountDownLatch latch = new CountDownLatch(1); + CountDownLatch latch = new CountDownLatch(1); client.newRequest("localhost", connector.getLocalPort()) .scheme(scenario.getScheme()) .path("/secure") diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientChunkedContentTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientChunkedContentTest.java index adf63916ec4..60c26d04d35 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientChunkedContentTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientChunkedContentTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCorrelationDataTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCorrelationDataTest.java index 3427df23abc..1e8faf5c2ed 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCorrelationDataTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCorrelationDataTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCustomProxyTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCustomProxyTest.java index dbf28157bc2..60ee0d759d3 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCustomProxyTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCustomProxyTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientExplicitConnectionTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientExplicitConnectionTest.java index 3c0589dc010..20178ef2c46 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientExplicitConnectionTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientExplicitConnectionTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientFailureTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientFailureTest.java index 8cef37a589d..2d2a83c92b7 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientFailureTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientFailureTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientGZIPTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientGZIPTest.java index 5081d706faa..99716637324 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientGZIPTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientGZIPTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientIdleTimeoutTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientIdleTimeoutTest.java index 373e1978164..5846f9082b1 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientIdleTimeoutTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientIdleTimeoutTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientProxyProtocolTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientProxyProtocolTest.java index 2b2410d0b6b..ba3a0c673b3 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientProxyProtocolTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientProxyProtocolTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientProxyTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientProxyTest.java index 70fa3c58bb3..edcdf0c2e96 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientProxyTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientProxyTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientRedirectTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientRedirectTest.java index d9088e0a218..5cb952f2fb2 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientRedirectTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientRedirectTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientSynchronizationTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientSynchronizationTest.java index 637f8bc4bd0..e3d121090df 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientSynchronizationTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientSynchronizationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientTLSTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientTLSTest.java index 8b8efbc1f50..057f3925c85 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientTLSTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientTLSTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -657,7 +657,7 @@ public class HttpClientTLSTest HttpDestination destination = client.resolveDestination(origin); DuplexConnectionPool connectionPool = (DuplexConnectionPool)destination.getConnectionPool(); // Trigger the creation of a new connection, but don't use it. - ConnectionPoolHelper.tryCreate(connectionPool, -1); + ConnectionPoolHelper.tryCreate(connectionPool); // Verify that the connection has been created. while (true) { @@ -755,7 +755,7 @@ public class HttpClientTLSTest HttpDestination destination = client.resolveDestination(origin); DuplexConnectionPool connectionPool = (DuplexConnectionPool)destination.getConnectionPool(); // Trigger the creation of a new connection, but don't use it. - ConnectionPoolHelper.tryCreate(connectionPool, -1); + ConnectionPoolHelper.tryCreate(connectionPool); // Verify that the connection has been created. while (true) { diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientTest.java index 6b78a2e9254..541b49abaa0 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientURITest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientURITest.java index 442619828c1..4e29a886a99 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientURITest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientURITest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientUploadDuringServerShutdownTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientUploadDuringServerShutdownTest.java index b493a722e65..4a27f013f34 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientUploadDuringServerShutdownTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientUploadDuringServerShutdownTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java index cb170ce9865..a28631cfe3f 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpConnectionLifecycleTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpCookieTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpCookieTest.java index 30ae864c1fa..dfe34742c50 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpCookieTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpCookieTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpRequestAbortTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpRequestAbortTest.java index 928a560f330..6ccdf1cbe38 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpRequestAbortTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpRequestAbortTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpResponseAbortTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpResponseAbortTest.java index fbf41c75c4d..35ac57e8012 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpResponseAbortTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpResponseAbortTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpResponseConcurrentAbortTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpResponseConcurrentAbortTest.java index 918718e3403..c5941540d44 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/HttpResponseConcurrentAbortTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/HttpResponseConcurrentAbortTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/InsufficientThreadsDetectionTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/InsufficientThreadsDetectionTest.java index 61c9ec5f8b1..562268fc046 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/InsufficientThreadsDetectionTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/InsufficientThreadsDetectionTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/LivelockTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/LivelockTest.java index ed8df8a23e5..d6b450452b7 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/LivelockTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/LivelockTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/NetworkTrafficListenerTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/NetworkTrafficListenerTest.java index efe4500937f..35a7156645a 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/NetworkTrafficListenerTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/NetworkTrafficListenerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ProxyConfigurationTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ProxyConfigurationTest.java index 55ee3318e19..b873af370c7 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ProxyConfigurationTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ProxyConfigurationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ServerConnectionCloseTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ServerConnectionCloseTest.java index 1fcf09c259d..6d25b542024 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ServerConnectionCloseTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ServerConnectionCloseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/Socks4ProxyTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/Socks4ProxyTest.java index f0532bcbf5c..65ef5b02e81 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/Socks4ProxyTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/Socks4ProxyTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/TLSServerConnectionCloseTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/TLSServerConnectionCloseTest.java index 38742f7a780..7171992a959 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/TLSServerConnectionCloseTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/TLSServerConnectionCloseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ValidatingConnectionPoolTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ValidatingConnectionPoolTest.java index f239143b31e..2ca37544989 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ValidatingConnectionPoolTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ValidatingConnectionPoolTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -55,12 +55,14 @@ public class ValidatingConnectionPoolTest extends AbstractHttpClientServerTest ContentResponse response = client.newRequest("localhost", connector.getLocalPort()) .scheme(scenario.getScheme()) + .timeout(5, TimeUnit.SECONDS) .send(); assertEquals(200, response.getStatus()); // The second request should be sent after the validating timeout. response = client.newRequest("localhost", connector.getLocalPort()) .scheme(scenario.getScheme()) + .timeout(5, TimeUnit.SECONDS) .send(); assertEquals(200, response.getStatus()); } @@ -95,6 +97,7 @@ public class ValidatingConnectionPoolTest extends AbstractHttpClientServerTest ContentResponse response = client.newRequest("localhost", connector.getLocalPort()) .scheme(scenario.getScheme()) .path("/redirect") + .timeout(5, TimeUnit.SECONDS) .send(); assertEquals(200, response.getStatus()); } diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/api/Usage.java b/jetty-client/src/test/java/org/eclipse/jetty/client/api/Usage.java index 05c55d7ac34..ddd1e885173 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/api/Usage.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/api/Usage.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTPTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTPTest.java index 8e2f950771f..8b7461727e3 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTPTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/http/HttpReceiverOverHTTPTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/http/HttpSenderOverHTTPTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/http/HttpSenderOverHTTPTest.java index 9960fc9b259..1712e73a506 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/http/HttpSenderOverHTTPTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/http/HttpSenderOverHTTPTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/jmx/HttpClientJMXTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/jmx/HttpClientJMXTest.java index 2e9f604f7a4..edc9e38f5e3 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/jmx/HttpClientJMXTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/jmx/HttpClientJMXTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/NeedWantClientAuthTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/NeedWantClientAuthTest.java index 358674f0104..4dfdca7aac3 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/NeedWantClientAuthTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/NeedWantClientAuthTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesClientTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesClientTest.java index 8511b571795..772af1a7365 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesClientTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesClientTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesServerTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesServerTest.java index 27ce62b7988..62844065eaf 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesServerTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesTest.java index b9555ca146d..5fbd4dd42f4 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslBytesTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslConnectionTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslConnectionTest.java index ffed68b98a2..aaa3d83e8f2 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslConnectionTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/ssl/SslConnectionTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/util/AsyncRequestContentTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/util/AsyncRequestContentTest.java index e5d1b8e1dcd..47e6e9890f4 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/util/AsyncRequestContentTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/util/AsyncRequestContentTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/util/InputStreamContentTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/util/InputStreamContentTest.java index db95709a5da..e66d5b41510 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/util/InputStreamContentTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/util/InputStreamContentTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/util/MultiPartContentTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/util/MultiPartContentTest.java index 06f06a539ab..e5ab8c53c08 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/util/MultiPartContentTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/util/MultiPartContentTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/util/RequestContentBehaviorTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/util/RequestContentBehaviorTest.java index db49e62a13d..6ab63701f18 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/util/RequestContentBehaviorTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/util/RequestContentBehaviorTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/util/SPNEGOAuthenticationTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/util/SPNEGOAuthenticationTest.java index 4c26ec4bb70..996c9236dac 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/util/SPNEGOAuthenticationTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/util/SPNEGOAuthenticationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/java/org/eclipse/jetty/client/util/TypedContentProviderTest.java b/jetty-client/src/test/java/org/eclipse/jetty/client/util/TypedContentProviderTest.java index add213d1ced..b21028b51b9 100644 --- a/jetty-client/src/test/java/org/eclipse/jetty/client/util/TypedContentProviderTest.java +++ b/jetty-client/src/test/java/org/eclipse/jetty/client/util/TypedContentProviderTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-client/src/test/resources/realm.properties b/jetty-client/src/test/resources/realm.properties index 27e300ad53c..095506f9efa 100644 --- a/jetty-client/src/test/resources/realm.properties +++ b/jetty-client/src/test/resources/realm.properties @@ -1,4 +1,5 @@ # Format is :, basic:basic +basic_utf8:\u20AC digest:digest spnego_client:,admin diff --git a/jetty-deploy/src/main/java/module-info.java b/jetty-deploy/src/main/java/module-info.java index c062df17cfd..b27ef902a22 100644 --- a/jetty-deploy/src/main/java/module-info.java +++ b/jetty-deploy/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/App.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/App.java index 91adbe13f37..0537ca8bf59 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/App.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/App.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppLifeCycle.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppLifeCycle.java index 17562ef4fe4..49b3bdc1735 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppLifeCycle.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppLifeCycle.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppProvider.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppProvider.java index d6d5a5d2430..8af4f308dd4 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppProvider.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/AppProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ConfigurationManager.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ConfigurationManager.java index 2283bb14d3e..90b3db72008 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ConfigurationManager.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/ConfigurationManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java index 5f4134ea20a..35035ca3617 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/DeploymentManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/PropertiesConfigurationManager.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/PropertiesConfigurationManager.java index d55f7bc06b2..18695571095 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/PropertiesConfigurationManager.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/PropertiesConfigurationManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/DebugBinding.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/DebugBinding.java index 7e33cb1b5a5..7807d0fc3ef 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/DebugBinding.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/DebugBinding.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/DebugListenerBinding.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/DebugListenerBinding.java index aff959c74a1..5ebc1db509d 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/DebugListenerBinding.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/DebugListenerBinding.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/GlobalWebappConfigBinding.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/GlobalWebappConfigBinding.java index 89185f29e17..347b7ebc46f 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/GlobalWebappConfigBinding.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/GlobalWebappConfigBinding.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/OrderedGroupBinding.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/OrderedGroupBinding.java index 922cf6dfd3b..8933d6269ef 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/OrderedGroupBinding.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/OrderedGroupBinding.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardDeployer.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardDeployer.java index d1ccc9f54e9..9bfcec17e1a 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardDeployer.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardDeployer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardStarter.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardStarter.java index 7fd248c5149..8e725441d01 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardStarter.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardStarter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardStopper.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardStopper.java index 7e412e86218..38dc9fae86e 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardStopper.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardStopper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java index f3cdba3d902..7cad54f01af 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/package-info.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/package-info.java index ae7dc9d87b4..19357c231c8 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/package-info.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Edge.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Edge.java index 90488941106..b47770e483d 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Edge.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Edge.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Graph.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Graph.java index 7b00ce53052..ef92337b5ad 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Graph.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Graph.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/GraphOutputDot.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/GraphOutputDot.java index dd22edddb53..614b155e8fd 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/GraphOutputDot.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/GraphOutputDot.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Node.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Node.java index 0bf22ac3cda..261b9088987 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Node.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Node.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Path.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Path.java index 83941e766c7..5ca9eb30a4d 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Path.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/Path.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/package-info.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/package-info.java index 142becd25ef..f791ab0ef68 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/package-info.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/graph/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/jmx/DeploymentManagerMBean.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/jmx/DeploymentManagerMBean.java index ed5d4c4545e..8a5155ad2a0 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/jmx/DeploymentManagerMBean.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/jmx/DeploymentManagerMBean.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/jmx/package-info.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/jmx/package-info.java index f308e3e9240..71a9682c14a 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/jmx/package-info.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/jmx/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/package-info.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/package-info.java index 765a555d2b5..dcde4c12029 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/package-info.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/ScanningAppProvider.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/ScanningAppProvider.java index 9470e059922..83c0ba56392 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/ScanningAppProvider.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/ScanningAppProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/WebAppProvider.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/WebAppProvider.java index 47a798854f2..cae6f8e2ea9 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/WebAppProvider.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/WebAppProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/jmx/WebAppProviderMBean.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/jmx/WebAppProviderMBean.java index cb3445290e5..f0a6b5e681c 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/jmx/WebAppProviderMBean.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/jmx/WebAppProviderMBean.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/package-info.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/package-info.java index d29d7d45394..ba67d81fa01 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/package-info.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/util/FileID.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/util/FileID.java index af19821b10e..2638e55aea6 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/util/FileID.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/util/FileID.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/util/package-info.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/util/package-info.java index be8e913856f..9322bf37ec1 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/util/package-info.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/util/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/AppLifeCyclePathCollector.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/AppLifeCyclePathCollector.java index c2880e02ccc..1c69069c9b1 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/AppLifeCyclePathCollector.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/AppLifeCyclePathCollector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/AppLifeCycleTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/AppLifeCycleTest.java index 3c8c1be6725..2fe5e90af38 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/AppLifeCycleTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/AppLifeCycleTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/BadAppDeployTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/BadAppDeployTest.java index 3b91f8c63eb..ad0f4354caa 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/BadAppDeployTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/BadAppDeployTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/DeploymentManagerLifeCyclePathTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/DeploymentManagerLifeCyclePathTest.java index 030ffeaaef7..569391789f0 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/DeploymentManagerLifeCyclePathTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/DeploymentManagerLifeCyclePathTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/DeploymentManagerTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/DeploymentManagerTest.java index f311ff9b272..531b6258821 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/DeploymentManagerTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/DeploymentManagerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/JmxServiceConnection.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/JmxServiceConnection.java index aab523bae4d..64bfb42eced 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/JmxServiceConnection.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/JmxServiceConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/MockAppProvider.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/MockAppProvider.java index fc3e3346444..7a38b78da32 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/MockAppProvider.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/MockAppProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/bindings/GlobalWebappConfigBindingTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/bindings/GlobalWebappConfigBindingTest.java index 74b172b54ca..8e93f43ea7c 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/bindings/GlobalWebappConfigBindingTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/bindings/GlobalWebappConfigBindingTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/graph/GraphTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/graph/GraphTest.java index cea3a4c7a39..e293ba89641 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/graph/GraphTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/graph/GraphTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java index 32189410159..0480afc22e3 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderStartupTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderStartupTest.java index a5cc8a89882..82ad5f42fcc 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderStartupTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderStartupTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/WebAppProviderTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/WebAppProviderTest.java index 8444b581523..37e4d81fb8c 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/WebAppProviderTest.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/WebAppProviderTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/test/XmlConfiguredJetty.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/test/XmlConfiguredJetty.java index f0e5960702f..6e10df982e8 100644 --- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/test/XmlConfiguredJetty.java +++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/test/XmlConfiguredJetty.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole1.jpg b/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole1.jpg deleted file mode 100644 index 332d603d32b..00000000000 Binary files a/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole1.jpg and /dev/null differ diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole2.jpg b/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole2.jpg deleted file mode 100644 index aaac114ffee..00000000000 Binary files a/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole2.jpg and /dev/null differ diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole3.png b/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole3.png deleted file mode 100644 index 2300a302577..00000000000 Binary files a/jetty-documentation/src/main/asciidoc/old_docs/images/jconsole3.png and /dev/null differ diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/jmc1.png b/jetty-documentation/src/main/asciidoc/old_docs/images/jmc1.png deleted file mode 100644 index 77a216449f3..00000000000 Binary files a/jetty-documentation/src/main/asciidoc/old_docs/images/jmc1.png and /dev/null differ diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/jmc2.png b/jetty-documentation/src/main/asciidoc/old_docs/images/jmc2.png deleted file mode 100644 index 28a9f7efecc..00000000000 Binary files a/jetty-documentation/src/main/asciidoc/old_docs/images/jmc2.png and /dev/null differ diff --git a/jetty-documentation/src/main/asciidoc/old_docs/images/jmc3.png b/jetty-documentation/src/main/asciidoc/old_docs/images/jmc3.png deleted file mode 100644 index 7087909bfc7..00000000000 Binary files a/jetty-documentation/src/main/asciidoc/old_docs/images/jmc3.png and /dev/null differ diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/dump-tool.adoc b/jetty-documentation/src/main/asciidoc/old_docs/logging/dump-tool.adoc deleted file mode 100644 index edc99ba28a4..00000000000 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/dump-tool.adoc +++ /dev/null @@ -1,1915 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. -// -// This program and the accompanying materials are made available under the -// terms of the Eclipse Public License v. 2.0 which is available at -// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 -// which is available at https://www.apache.org/licenses/LICENSE-2.0. -// -// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -// ======================================================================== -// - -[[jetty-dump-tool]] -=== Jetty Dump Tool - -The dump feature in Jetty provides a good snapshot of the status of the threadpool, select sets, classloaders, and so forth. -To get maximum detail from the dump, you need to `setDetailDump(true)` on any `QueuedThreadPools` you are using. -You can do this by a direct call if you are embedding Jetty, or in `jetty.xml`. - -[[configuring-dump-feature]] -==== Configuring the Dump Feature in jetty.xml - -You can request that Jetty do a dump immediately after starting and just before stopping by calling the appropriate setters on the `Server` instance. -This can be accomplished in `jetty.xml` with: - -[source, xml, subs="{sub-order}"] ----- -true -true ----- - -[[extra-threadpool-info]] -==== Extra ThreadPool Information - -You can get additional detail from the `QueuedThreadPool` if `setDetailedDump(true)` is called on the thread pool instance. -Do this in `jetty.xml` as follows: - -[source, xml, subs="{sub-order}"] ----- - - - - - - - - 10 - 200 - true - - ----- - -[[dump-tool-via-jmx]] -==== Using the Dump Feature via JMX - -The `dump` method is on the Server instance and many of its nested components (Handlers, Connectors, and so forth). -Dumps may be obtained by calling these methods either in code or via JMX (see xref:using-jmx[]). - -The Server MBean has a `dump()` method, which dumps everything, plus a `dumpStdErr()` operation that dumps to StdErr rather than replying to JConsole. - -[[examing-jetty-dump]] -==== Examining a Jetty Dump - -This is a dump of the stock jetty-home with demo modules enabled and extra threadpool information: - -.... -Server@5ace1ed4{STARTING}[{VERSION},sto=5000] - STARTING -+= QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| += ReservedThreadExecutor@6a4d7f76{s=0/20,p=0} - STARTED -| +> threads size=33 -| +> qtp815992954-63-acceptor-3@39a862d4-ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} WAITING tid=63 prio=3 ACCEPTING -| +> qtp815992954-35 RUNNABLE tid=35 prio=5 SELECTING -| +> qtp815992954-53 RUNNABLE tid=53 prio=5 SELECTING -| +> qtp815992954-54 RUNNABLE tid=54 prio=5 SELECTING -| +> qtp815992954-62-acceptor-2@33edc3bc-ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} WAITING tid=62 prio=3 ACCEPTING -| +> qtp815992954-27 RUNNABLE tid=27 prio=5 SELECTING -| +> qtp815992954-60-acceptor-0@4c1bfff-ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} RUNNABLE tid=60 prio=3 ACCEPTING -| +> qtp815992954-47-acceptor-3@fdf2136-ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} WAITING tid=47 prio=3 ACCEPTING -| +> qtp815992954-56 RUNNABLE tid=56 prio=5 SELECTING -| +> qtp815992954-31 RUNNABLE tid=31 prio=5 SELECTING -| +> qtp815992954-40 RUNNABLE tid=40 prio=5 SELECTING -| +> qtp815992954-29 RUNNABLE tid=29 prio=5 SELECTING -| +> qtp815992954-46-acceptor-2@81dc61a-ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} WAITING tid=46 prio=3 ACCEPTING -| +> qtp815992954-30 RUNNABLE tid=30 prio=5 SELECTING -| +> qtp815992954-32 RUNNABLE tid=32 prio=5 SELECTING -| +> qtp815992954-51 RUNNABLE tid=51 prio=5 SELECTING -| +> qtp815992954-43 RUNNABLE tid=43 prio=5 SELECTING -| +> qtp815992954-58 RUNNABLE tid=58 prio=5 SELECTING -| +> qtp815992954-33 RUNNABLE tid=33 prio=5 SELECTING -| +> qtp815992954-59 RUNNABLE tid=59 prio=5 SELECTING -| +> qtp815992954-50 RUNNABLE tid=50 prio=5 SELECTING -| +> qtp815992954-57 RUNNABLE tid=57 prio=5 SELECTING -| +> qtp815992954-61-acceptor-1@41da2368-ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} WAITING tid=61 prio=3 ACCEPTING -| +> qtp815992954-45-acceptor-1@ed6bace-ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} WAITING tid=45 prio=3 ACCEPTING -| +> qtp815992954-49 RUNNABLE tid=49 prio=5 SELECTING -| +> qtp815992954-28 RUNNABLE tid=28 prio=5 SELECTING -| +> qtp815992954-55 RUNNABLE tid=55 prio=5 SELECTING -| +> qtp815992954-44-acceptor-0@3fc2660d-ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} RUNNABLE tid=44 prio=3 ACCEPTING -| +> qtp815992954-34 RUNNABLE tid=34 prio=5 SELECTING -| +> qtp815992954-36 RUNNABLE tid=36 prio=5 SELECTING -| +> qtp815992954-39 RUNNABLE tid=39 prio=5 SELECTING -| +> qtp815992954-52 RUNNABLE tid=52 prio=5 SELECTING -| +> qtp815992954-48 RUNNABLE tid=48 prio=5 SELECTING -+- org.eclipse.jetty.io.ArrayByteBufferPool@10ec523c -+= ScheduledExecutorScheduler@de3a06f{STARTED} - STARTED -| +> java.base@15.0.1/jdk.internal.misc.Unsafe.park(Native Method) -| +> java.base@15.0.1/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252) -| +> java.base@15.0.1/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1661) -| +> java.base@15.0.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182) -| +> java.base@15.0.1/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899) -| +> java.base@15.0.1/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1056) -| +> java.base@15.0.1/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1116) -| +> java.base@15.0.1/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) -| +> java.base@15.0.1/java.lang.Thread.run(Thread.java:832) -+= ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} - STARTED -| +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| +~ ScheduledExecutorScheduler@de3a06f{STARTED} - STARTED -| +- org.eclipse.jetty.io.ArrayByteBufferPool@10ec523c -| +- org.eclipse.jetty.server.AbstractConnector$1@53dfacba -| += SelectorManager@ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} - STARTED -| | += ManagedSelector@245a060f{STARTED} id=0 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@6edaa77a/SelectorProducer@1e63d216/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.092562342-06:00 - STARTED -| | | | +- SelectorProducer@1e63d216 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.090612448-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.091676614-06:00 size=0 -| | += ManagedSelector@62ddd21b{STARTED} id=1 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@16c3ca31/SelectorProducer@2d195ee4/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.094644326-06:00 - STARTED -| | | | +- SelectorProducer@2d195ee4 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.093781421-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.093968576-06:00 size=0 -| | += ManagedSelector@2d6aca33{STARTED} id=2 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@21ab988f/SelectorProducer@29314cc9/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.095922056-06:00 - STARTED -| | | | +- SelectorProducer@29314cc9 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.095197674-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.095368267-06:00 size=0 -| | += ManagedSelector@4e38d975{STARTED} id=3 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@35f8a9d3/SelectorProducer@48ea2003/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.097448317-06:00 - STARTED -| | | | +- SelectorProducer@48ea2003 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.096753862-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.096926579-06:00 size=0 -| | += ManagedSelector@6b1e7ad3{STARTED} id=4 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@63e5e5b4/SelectorProducer@13a37e2a/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.099117048-06:00 - STARTED -| | | | +- SelectorProducer@13a37e2a -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.097936953-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.0981201-06:00 size=0 -| | += ManagedSelector@a50ae65{STARTED} id=5 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@1280851e/SelectorProducer@5e840abf/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.100359692-06:00 - STARTED -| | | | +- SelectorProducer@5e840abf -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.09962457-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.099770186-06:00 size=0 -| | += ManagedSelector@56de6d6b{STARTED} id=6 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@5972d253/SelectorProducer@4fcc0416/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.10179457-06:00 - STARTED -| | | | +- SelectorProducer@4fcc0416 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.100872464-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.101051042-06:00 size=0 -| | += ManagedSelector@31e32ea2{STARTED} id=7 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@1473b8c0/SelectorProducer@5b5c0057/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.10296641-06:00 - STARTED -| | | | +- SelectorProducer@5b5c0057 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.102380751-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.102503072-06:00 size=0 -| | += ManagedSelector@749f539e{STARTED} id=8 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@5ca1f591/SelectorProducer@551de37d/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.104231086-06:00 - STARTED -| | | | +- SelectorProducer@551de37d -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.103405772-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.10356803-06:00 size=0 -| | += ManagedSelector@6ef81f31{STARTED} id=9 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@6075b2d3/SelectorProducer@33abde31/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.105263922-06:00 - STARTED -| | | | +- SelectorProducer@33abde31 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.10468728-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.104805794-06:00 size=0 -| | += ManagedSelector@997d532{STARTED} id=10 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@273842a6/SelectorProducer@6a969fb8/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.107084882-06:00 - STARTED -| | | | +- SelectorProducer@6a969fb8 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.106301468-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.106493542-06:00 size=0 -| | += ManagedSelector@7a18e8d{STARTED} id=11 keys=0 selected=0 updates=0 - STARTED -| | += EatWhatYouKill@3028e50e/SelectorProducer@5560bcdf/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.108228108-06:00 - STARTED -| | | +- SelectorProducer@5560bcdf -| | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | +> updates @ 2020-12-02T10:49:32.107542699-06:00 size=0 -| | +> keys @ 2020-12-02T10:49:32.10776994-06:00 size=0 -| += SslConnectionFactory@4b14c583{SSL->alpn} - STARTED -| | +~ Server@3a7442c7[provider=null,keyStore=file:///home/user/my-base/etc/test-keystore.p12,trustStore=file:///home/user/my-base/etc/test-keystore.p12] - STARTED -| += ALPNServerConnectionFactory@4c9f8c13{[alpn],null,[]} - STARTED -| += HTTP2ServerConnectionFactory@41e1e210[h2] - STARTED -| | +- HTTP2SessionContainer@b558294[size=0] -| | | +> java.util.concurrent.ConcurrentHashMap$KeySetView@0(size=0) -| | +- HttpConfiguration@5b3f3ba0{32768/8192,8192/8192,https://:0,[SecureRequestCustomizer@4bdc8b5d]} -| | +> customizers size=1 -| | | +> SecureRequestCustomizer@4bdc8b5d -| | +> formEncodedMethods size=2 -| | | +> POST -| | | +> PUT -| | +> outputBufferSize=32768 -| | +> outputAggregationSize=8192 -| | +> requestHeaderSize=8192 -| | +> responseHeaderSize=8192 -| | +> headerCacheSize=1024 -| | +> secureScheme=https -| | +> securePort=0 -| | +> idleTimeout=-1 -| | +> sendDateHeader=true -| | +> sendServerVersion=true -| | +> sendXPoweredBy=false -| | +> delayDispatchUntilContent=true -| | +> persistentConnectionsEnabled=true -| | +> maxErrorDispatches=10 -| | +> minRequestDataRate=0 -| | +> minResponseDataRate=0 -| | +> requestCookieCompliance=org.eclipse.jetty.http.CookieCompliance@5d1e09bc -| | +> responseCookieCompliance=org.eclipse.jetty.http.CookieCompliance@5d1e09bc -| | +> notifyRemoteAsyncErrors=true -| | +> relativeRedirectAllowed=false -| += HttpConnectionFactory@120f102b[HTTP/1.1] - STARTED -| | +- HttpConfiguration@5b3f3ba0{32768/8192,8192/8192,https://:0,[SecureRequestCustomizer@4bdc8b5d]} -| | +> customizers size=1 -| | | +> SecureRequestCustomizer@4bdc8b5d -| | +> formEncodedMethods size=2 -| | | +> POST -| | | +> PUT -| | +> outputBufferSize=32768 -| | +> outputAggregationSize=8192 -| | +> requestHeaderSize=8192 -| | +> responseHeaderSize=8192 -| | +> headerCacheSize=1024 -| | +> secureScheme=https -| | +> securePort=0 -| | +> idleTimeout=-1 -| | +> sendDateHeader=true -| | +> sendServerVersion=true -| | +> sendXPoweredBy=false -| | +> delayDispatchUntilContent=true -| | +> persistentConnectionsEnabled=true -| | +> maxErrorDispatches=10 -| | +> minRequestDataRate=0 -| | +> minResponseDataRate=0 -| | +> requestCookieCompliance=org.eclipse.jetty.http.CookieCompliance@5d1e09bc -| | +> responseCookieCompliance=org.eclipse.jetty.http.CookieCompliance@5d1e09bc -| | +> notifyRemoteAsyncErrors=true -| | +> relativeRedirectAllowed=false -| +- sun.nio.ch.ServerSocketChannelImpl[/[0:0:0:0:0:0:0:0]:8443] -| +- qtp815992954-44-acceptor-0@3fc2660d-ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} -| +- qtp815992954-45-acceptor-1@ed6bace-ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} -| +- qtp815992954-46-acceptor-2@81dc61a-ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} -| +- qtp815992954-47-acceptor-3@fdf2136-ServerConnector@31058f85{SSL, (ssl, alpn, h2, http/1.1)}{0.0.0.0:8443} -+= Server@3a7442c7[provider=null,keyStore=file:///home/user/my-base/etc/test-keystore.p12,trustStore=file:///home/user/my-base/etc/test-keystore.p12] - STARTED -| +> trustAll=false -| +> Protocol Selections -| | +> Enabled size=4 -| | | +> TLSv1 -| | | +> TLSv1.1 -| | | +> TLSv1.2 -| | | +> TLSv1.3 -| | +> Disabled size=2 -| | +> SSLv2Hello - ConfigExcluded:'SSLv2Hello' JVM:disabled -| | +> SSLv3 - ConfigExcluded:'SSLv3' JVM:disabled -| +> Cipher Suite Selections -| +> Enabled size=31 -| | +> TLS_AES_128_GCM_SHA256 -| | +> TLS_AES_256_GCM_SHA384 -| | +> TLS_CHACHA20_POLY1305_SHA256 -| | +> TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 -| | +> TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 -| | +> TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 -| | +> TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 -| | +> TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 -| | +> TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 -| | +> TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 -| | +> TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 -| | +> TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 -| | +> TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 -| | +> TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 -| | +> TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 -| | +> TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 -| | +> TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 -| | +> TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 -| | +> TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 -| | +> TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 -| | +> TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 -| | +> TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 -| | +> TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 -| | +> TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 -| | +> TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 -| | +> TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 -| | +> TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 -| | +> TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 -| | +> TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 -| | +> TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 -| | +> TLS_EMPTY_RENEGOTIATION_INFO_SCSV -| +> Disabled size=18 -| +> TLS_DHE_DSS_WITH_AES_128_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_DHE_DSS_WITH_AES_256_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_DHE_RSA_WITH_AES_128_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_DHE_RSA_WITH_AES_256_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_ECDH_RSA_WITH_AES_128_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_ECDH_RSA_WITH_AES_256_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$' -| +> TLS_RSA_WITH_AES_128_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$', ConfigExcluded:'^TLS_RSA_.*$' -| +> TLS_RSA_WITH_AES_128_CBC_SHA256 - ConfigExcluded:'^TLS_RSA_.*$' -| +> TLS_RSA_WITH_AES_128_GCM_SHA256 - ConfigExcluded:'^TLS_RSA_.*$' -| +> TLS_RSA_WITH_AES_256_CBC_SHA - ConfigExcluded:'^.*_(MD5|SHA|SHA1)$', ConfigExcluded:'^TLS_RSA_.*$' -| +> TLS_RSA_WITH_AES_256_CBC_SHA256 - ConfigExcluded:'^TLS_RSA_.*$' -| +> TLS_RSA_WITH_AES_256_GCM_SHA384 - ConfigExcluded:'^TLS_RSA_.*$' -+= DeploymentManager@53093491{STARTED} - STARTED -| += class org.eclipse.jetty.deploy.providers.WebAppProvider@21719a0[file:///home/user/my-base/webapps/] - STARTED -| +- java.util.HashMap@83467828{size=8} -| | +@ /home/user/my-base/webapps/demo-jndi.xml = App[o.e.j.w.WebAppContext@7fc4780b{Test JNDI WebApp,/test-jndi,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jndi.war},/home/user/my-base/webapps/demo-jndi.xml] -| | +@ /home/user/my-base/webapps/root = App[o.e.j.w.WebAppContext@3c01cfa1{root,/,file:///home/user/my-base/webapps/root/,AVAILABLE}{/home/user/my-base/webapps/root},/home/user/my-base/webapps/root] -| | +@ /home/user/my-base/webapps/demo-async-rest.war = App[o.e.j.w.WebAppContext@45d2ade3{Async REST Webservice Example,/demo-async-rest,[file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/, jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/demo-async-rest-jar-{VERSION}.jar!/META-INF/resources],AVAILABLE}{/home/user/my-base/webapps/demo-async-rest.war},/home/user/my-base/webapps/demo-async-rest.war] -| | +@ /home/user/my-base/webapps/demo-proxy.war = App[o.e.j.w.WebAppContext@727eb8cb{Transparent Proxy WebApp,/proxy,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-proxy.war},/home/user/my-base/webapps/demo-proxy.war] -| | +@ /home/user/my-base/webapps/demo-spec.xml = App[o.e.j.w.WebAppContext@5b7a8434{Test Annotations WebApp,/test-spec,[file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/, jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/lib/demo-web-fragment-{VERSION}.jar!/META-INF/resources],AVAILABLE}{/home/user/my-base/webapps/demo-spec.war},/home/user/my-base/webapps/demo-spec.xml] -| | +@ /home/user/my-base/webapps/demo-jetty.xml = App[o.e.j.w.WebAppContext@1fb669c3{Test WebApp,/test,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jetty.war},/home/user/my-base/webapps/demo-jetty.xml] -| | +@ /home/user/my-base/webapps/demo-jaas.xml = App[o.e.j.w.WebAppContext@1869fbd2{JAAS Test,/test-jaas,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jaas_war-_test-jaas-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jaas.war},/home/user/my-base/webapps/demo-jaas.xml] -| | +@ /home/user/my-base/webapps/demo-moved-context.xml = App[o.e.j.s.h.MovedContextHandler@632ceb35{/oldContextPath,null,AVAILABLE},/home/user/my-base/webapps/demo-moved-context.xml] -| +- class org.eclipse.jetty.deploy.PropertiesConfigurationManager@6b3871d6{null} -| | +> java.util.HashMap@0{size=0} -| += Scanner@37095ded{STARTED} - STARTED -+= HashLoginService@2eb79cbe[Test Realm] - STARTED -| +- org.eclipse.jetty.security.DefaultIdentityService@2ca6546f -| += PropertyUserStore@43826ec[users.count=6][cfg=/home/user/my-base/etc/demo-realm.properties] - STARTED -+= RewriteHandler@7923f5b3{STARTED} - STARTED -| +- org.eclipse.jetty.rewrite.handler.RuleContainer[ht] -| | +> org.eclipse.jetty.rewrite.handler.MsieSslRule[ht] -| | +> org.eclipse.jetty.rewrite.handler.HeaderPatternRule[hT][/favicon.ico][Cache-Control,Max-Age=3600,public] -| | +> org.eclipse.jetty.rewrite.handler.RewritePatternRule[ht][/test/rewrite/][/test/rewrite/info.html] -| | +> org.eclipse.jetty.rewrite.handler.RewritePatternRule[ht][/test/some/old/context][/test/rewritten/newcontext] -| | +> org.eclipse.jetty.rewrite.handler.RewritePatternRule[ht][/test/rewrite/for/*][/test/rewritten/] -| | +> org.eclipse.jetty.rewrite.handler.RewriteRegexRule[ht][(.*?)/reverse/([^/]*)/(.*)][$1/reverse/$3/$2] -| | +> org.eclipse.jetty.rewrite.handler.CookiePatternRule[ht][/*][visited,yes] -| | +> org.eclipse.jetty.rewrite.handler.RedirectPatternRule[HT][/test/redirect/*][302>/test/redirected] -| | +> org.eclipse.jetty.rewrite.handler.ResponsePatternRule[HT][/400Error][400,ResponsePatternRule Demo] -| += HandlerList@11841b15{STARTED} - STARTED -| += ContextHandlerCollection@73877e19{STARTED} - STARTED -| | += o.e.j.w.WebAppContext@7fc4780b{Test JNDI WebApp,/test-jndi,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jndi.war} - STARTED -| | | += org.eclipse.jetty.server.session.SessionHandler2065730373==dftMaxIdleSec=1800 - STARTED -| | | | += ConstraintSecurityHandler@5bfc257{STARTED} - STARTED -| | | | | +- knownAuthenticatorFactories size=1 -| | | | | | +> org.eclipse.jetty.security.DefaultAuthenticatorFactory@34523d46 -| | | | | += ServletHandler@7cedfa63{STARTED} - STARTED -| | | | | | +> listeners ServletHandler@7cedfa63{STARTED} size=2 -| | | | | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@3e83c18{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@783efb48{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | +> filters ServletHandler@7cedfa63{STARTED} size=1 -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter==org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@463b4ac8{inst=true,async=true,src=EMBEDDED:null} - STARTED -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@5d235104 -| | | | | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings@4e8e8621 -| | | | | | | +> PathMappings[size=0] -| | | | | | | +> java.util.TreeSet@0(size=0) -| | | | | | +> filterMappings ServletHandler@7cedfa63{STARTED} size=1 -| | | | | | | +> [/*]/[]/[REQUEST]=>org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter -| | | | | | +> servlets ServletHandler@7cedfa63{STARTED} size=3 -| | | | | | | +> default==org.eclipse.jetty.servlet.DefaultServlet@5c13d641{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.servlet.DefaultServlet@2b0b4d53 -| | | | | | | | +> initParams size=9 -| | | | | | | | +> dirAllowed=true -| | | | | | | | +> maxCacheSize=256000000 -| | | | | | | | +> maxCachedFileSize=200000000 -| | | | | | | | +> welcomeServlets=false -| | | | | | | | +> useFileMappedBuffer=true -| | | | | | | | +> acceptRanges=true -| | | | | | | | +> etags=false -| | | | | | | | +> maxCachedFiles=2048 -| | | | | | | | +> redirectWelcome=false -| | | | | | | +> jsp==org.eclipse.jetty.jsp.JettyJspServlet@19c47{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.jsp.JettyJspServlet@7068f7ca -| | | | | | | | +> initParams size=4 -| | | | | | | | +> compilerSourceVM=1.8 -| | | | | | | | +> compilerTargetVM=1.8 -| | | | | | | | +> scratchdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any-/jsp -| | | | | | | | +> xpoweredBy=false -| | | | | | | +> JNDITest==com.acme.JNDITest@9d72fcfb{jsp=null,order=1,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | +> NotAsync:com.acme.JNDITest@38548b19 -| | | | | | +> servletMappings ServletHandler@7cedfa63{STARTED} size=3 -| | | | | | +> [/]=>default -| | | | | | +> [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp -| | | | | | +> [/test/*]=>JNDITest -| | | | | +~ HashLoginService@2eb79cbe[Test Realm] - STARTED -| | | | | +~ org.eclipse.jetty.security.DefaultIdentityService@2ca6546f -| | | | | +- org.eclipse.jetty.security.authentication.BasicAuthenticator@41aaedaa -| | | | | +> roles size=1 -| | | | | | +> java.util.concurrent.CopyOnWriteArraySet@0(size=0) -| | | | | +> constraints size=1 -| | | | | +> java.util.concurrent.CopyOnWriteArrayList@de6b0c3b(size=2) -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@303a5119 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@75b3673 -| | | | += org.eclipse.jetty.server.session.DefaultSessionCache@1bcb79c2[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false] - STARTED -| | | | | += org.eclipse.jetty.server.session.NullSessionDataStore@d1a10ac[passivating=false,graceSec=3600] - STARTED -| | | | +~ DefaultSessionIdManager@6fca2a8f{STARTED}[worker=node0] - STARTED -| | | += ErrorPageErrorHandler@31fc71ab{STARTED} - STARTED -| | | +- java:comp org.eclipse.jetty.jndi.NamingContext@71391b3f[name=comp,parent=org.eclipse.jetty.jndi.NamingContext@2cfbeac4,bindings.size=2] -| | | | +@ UserTransaction = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: UserTransaction| -| | | | +@ env = org.eclipse.jetty.jndi.NamingContext@12db3386[name=env,parent=org.eclipse.jetty.jndi.NamingContext@71391b3f,bindings.size=7] -| | | | +@ __ = org.eclipse.jetty.jndi.NamingContext@4078695f[name=__,parent=org.eclipse.jetty.jndi.NamingContext@12db3386,bindings.size=4] -| | | | | +@ wiggle = org.eclipse.jetty.plus.jndi.EnvEntry@79a1728c{name=wiggle,OverrideWebXml=true} -| | | | | +@ gargle = org.eclipse.jetty.plus.jndi.EnvEntry@a7f0ab6{name=gargle,OverrideWebXml=true} -| | | | | +@ woggle = org.eclipse.jetty.plus.jndi.EnvEntry@41f35f7c{name=woggle,OverrideWebXml=false} -| | | | | +@ svr = org.eclipse.jetty.plus.jndi.EnvEntry@42c2f48c{name=svr,OverrideWebXml=true} -| | | | +@ wiggle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@7fc4780b/wiggle| -| | | | +@ mail = org.eclipse.jetty.jndi.NamingContext@3005db4a[name=mail,parent=org.eclipse.jetty.jndi.NamingContext@12db3386,bindings.size=1] -| | | | | +@ Session = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@7fc4780b/mail/Session| -| | | | +@ gargle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@7fc4780b/gargle| -| | | | +@ jdbc = org.eclipse.jetty.jndi.NamingContext@425d5d46[name=jdbc,parent=org.eclipse.jetty.jndi.NamingContext@12db3386,bindings.size=1] -| | | | | +@ mydatasource1 = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@7fc4780b/jdbc/mydatasource| -| | | | +@ woggle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: woggle| -| | | | +@ svr = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@7fc4780b/svr| -| | | += JettyServerFrameHandlerFactory@198ef2ce{STARTED} - STARTED -| | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | += JettyWebSocketServerContainer@4cbd03e7{STARTED} - STARTED -| | | | += SessionTracker@52fc5eb1{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | += JavaxWebSocketServerContainer@7a639ec5{STARTED} - STARTED -| | | | += SessionTracker@14151bc5{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | +- org.eclipse.jetty.servlet.listener.ELContextCleaner@3013909b -| | | +- org.eclipse.jetty.servlet.listener.IntrospectorCleaner@2a49fe -| | | +> WebAppClassLoader{Test JNDI WebApp}@47f9738 -| | | | +> URLs size=1 -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any-/webapp/WEB-INF/classes/ -| | | | +> startJarLoader@3d012ddd -| | | +> Systemclasses Test JNDI WebApp@7fc4780b size=18 -| | | | +> java. -| | | | +> javax. -| | | | +> org.eclipse.jetty.jaas. -| | | | +> org.eclipse.jetty.jndi. -| | | | +> org.eclipse.jetty.jsp. -| | | | +> org.eclipse.jetty.servlet.DefaultServlet -| | | | +> org.eclipse.jetty.servlet.NoJspServlet -| | | | +> org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> org.eclipse.jetty.servlets.PushCacheFilter -| | | | +> org.eclipse.jetty.servlets.PushSessionCacheFilter -| | | | +> org.eclipse.jetty.util.annotations. -| | | | +> org.eclipse.jetty.websocket.api. -| | | | +> org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> org.eclipse.jetty.websocket.javax.server.config. -| | | | +> org.eclipse.jetty.websocket.server. -| | | | +> org.eclipse.jetty.websocket.servlet. -| | | | +> org.w3c. -| | | | +> org.xml. -| | | +> Serverclasses Test JNDI WebApp@7fc4780b size=23 -| | | | +> -org.eclipse.jetty.apache. -| | | | +> -org.eclipse.jetty.jaas. -| | | | +> -org.eclipse.jetty.jndi. -| | | | +> -org.eclipse.jetty.jsp. -| | | | +> -org.eclipse.jetty.servlet.DefaultServlet -| | | | +> -org.eclipse.jetty.servlet.NoJspServlet -| | | | +> -org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> -org.eclipse.jetty.servlet.listener. -| | | | +> -org.eclipse.jetty.servlets. -| | | | +> -org.eclipse.jetty.util.annotations. -| | | | +> -org.eclipse.jetty.websocket.api. -| | | | +> -org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> -org.eclipse.jetty.websocket.javax.server.config. -| | | | +> -org.eclipse.jetty.websocket.server. -| | | | +> -org.eclipse.jetty.websocket.servlet. -| | | | +> org.eclipse.jdt. -| | | | +> org.eclipse.jetty. -| | | | +> org.eclipse.jetty.logging. -| | | | +> org.eclipse.jetty.server.config. -| | | | +> org.eclipse.jetty.server.internal. -| | | | +> org.eclipse.jetty.websocket.javax.server.internal -| | | | +> org.objectweb.asm. -| | | | +> org.slf4j. -| | | +> Configurations Test JNDI WebApp@7fc4780b size=15 -| | | | +> org.eclipse.jetty.webapp.WebInfConfiguration -| | | | +> org.eclipse.jetty.webapp.WebXmlConfiguration -| | | | +> org.eclipse.jetty.webapp.MetaInfConfiguration -| | | | +> org.eclipse.jetty.webapp.FragmentConfiguration -| | | | +> org.eclipse.jetty.webapp.JaasConfiguration -| | | | +> org.eclipse.jetty.webapp.JndiConfiguration -| | | | +> org.eclipse.jetty.webapp.JspConfiguration -| | | | +> org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration -| | | | +> org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration -| | | | +> org.eclipse.jetty.webapp.WebAppConfiguration -| | | | +> org.eclipse.jetty.webapp.ServletsConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.EnvConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.PlusConfiguration -| | | | +> org.eclipse.jetty.annotations.AnnotationConfiguration -| | | | +> org.eclipse.jetty.webapp.JettyWebXmlConfiguration -| | | +> Handler attributes Test JNDI WebApp@7fc4780b size=8 -| | | | +> javax.servlet.context.tempdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any- -| | | | +> org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/jetty-servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$ -| | | | +> org.eclipse.jetty.lifecyleCallbackCollection=org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection@5aae8eb5 -| | | | +> org.eclipse.jetty.webapp.tmpResourceBase=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any-/webapp -| | | | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] -| | | | +> org.eclipse.jetty.injectionCollection=org.eclipse.jetty.plus.annotation.InjectionCollection@76954a33 -| | | | +> org.apache.catalina.jsp_classpath=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any-/webapp/WEB-INF/classes -| | | | +> org.eclipse.jetty.jndi.EnvConfiguration=[org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@24a298a6, org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@982bb90, org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@27f74733, org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@7bef452c, org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@4bb8855f, org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@57fae983, org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@4a29f290, org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@4bee18dc] -| | | +> Context attributes Test JNDI WebApp@7fc4780b size=8 -| | | | +> org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=3] -| | | | +> org.eclipse.jetty.websocket.api.WebSocketContainer=JettyWebSocketServerContainer@4cbd03e7{STARTED} -| | | | +> resourceCache=ResourceCache[null,org.eclipse.jetty.servlet.DefaultServlet@2b0b4d53]@1156841091 -| | | | +> org.apache.tomcat.InstanceManager=org.apache.tomcat.SimpleInstanceManager@7906578e -| | | | +> org.eclipse.jetty.websocket.core.WebSocketComponents=WebSocketServerComponents@8a62297{STARTED} -| | | | +> javax.websocket.server.ServerContainer=JavaxWebSocketServerContainer@7a639ec5{STARTED} -| | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings=org.eclipse.jetty.websocket.core.server.WebSocketMappings@4e8e8621 -| | | | +> org.apache.jasper.compiler.TldCache=org.apache.jasper.compiler.TldCache@61a91912 -| | | +> EventListeners o.e.j.w.WebAppContext@7fc4780b{Test JNDI WebApp,/test-jndi,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jndi_war-_test-jndi-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jndi.war} size=5 -| | | | +> JettyServerFrameHandlerFactory@198ef2ce{STARTED} - STARTED -| | | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | | +> JettyWebSocketServerContainer@4cbd03e7{STARTED} - STARTED -| | | | | += SessionTracker@52fc5eb1{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> JavaxWebSocketServerContainer@7a639ec5{STARTED} - STARTED -| | | | | += SessionTracker@14151bc5{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@3013909b -| | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@2a49fe -| | | +> Initparams Test JNDI WebApp@7fc4780b size=0 -| | += o.e.j.w.WebAppContext@3c01cfa1{root,/,file:///home/user/my-base/webapps/root/,AVAILABLE}{/home/user/my-base/webapps/root} - STARTED -| | | += org.eclipse.jetty.server.session.SessionHandler392403246==dftMaxIdleSec=1800 - STARTED -| | | | += ConstraintSecurityHandler@5c92166b{STARTED} - STARTED -| | | | | +- knownAuthenticatorFactories size=1 -| | | | | | +> org.eclipse.jetty.security.DefaultAuthenticatorFactory@34523d46 -| | | | | += ServletHandler@659925f4{STARTED} - STARTED -| | | | | | +> listeners ServletHandler@659925f4{STARTED} size=2 -| | | | | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@4cd1c1dc{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@47f08b81{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | +> filters ServletHandler@659925f4{STARTED} size=1 -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter==org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@2b58f754{inst=true,async=true,src=EMBEDDED:null} - STARTED -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@b9dfc5a -| | | | | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings@2787de58 -| | | | | | | +> PathMappings[size=0] -| | | | | | | +> java.util.TreeSet@0(size=0) -| | | | | | +> filterMappings ServletHandler@659925f4{STARTED} size=1 -| | | | | | | +> [/*]/[]/[REQUEST]=>org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter -| | | | | | +> servlets ServletHandler@659925f4{STARTED} size=2 -| | | | | | | +> default==org.eclipse.jetty.servlet.DefaultServlet@5c13d641{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.servlet.DefaultServlet@659a2455 -| | | | | | | | +> initParams size=9 -| | | | | | | | +> dirAllowed=true -| | | | | | | | +> maxCacheSize=256000000 -| | | | | | | | +> maxCachedFileSize=200000000 -| | | | | | | | +> welcomeServlets=false -| | | | | | | | +> useFileMappedBuffer=true -| | | | | | | | +> acceptRanges=true -| | | | | | | | +> etags=false -| | | | | | | | +> maxCachedFiles=2048 -| | | | | | | | +> redirectWelcome=false -| | | | | | | +> jsp==org.eclipse.jetty.jsp.JettyJspServlet@19c47{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> NotAsync:org.eclipse.jetty.jsp.JettyJspServlet@267517e4 -| | | | | | | +> initParams size=4 -| | | | | | | +> compilerSourceVM=1.8 -| | | | | | | +> compilerTargetVM=1.8 -| | | | | | | +> scratchdir=/home/user/my-base/work/jetty-0_0_0_0-8443-root-_-any-/jsp -| | | | | | | +> xpoweredBy=false -| | | | | | +> servletMappings ServletHandler@659925f4{STARTED} size=2 -| | | | | | +> [/]=>default -| | | | | | +> [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp -| | | | | +~ HashLoginService@2eb79cbe[Test Realm] - STARTED -| | | | | +~ org.eclipse.jetty.security.DefaultIdentityService@2ca6546f -| | | | | +- org.eclipse.jetty.security.authentication.BasicAuthenticator@426e505c -| | | | | +> roles size=1 -| | | | | | +> java.util.concurrent.CopyOnWriteArraySet@0(size=0) -| | | | | +> constraints size=1 -| | | | | +> java.util.concurrent.CopyOnWriteArrayList@74d05838(size=2) -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@5b022357 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@6f8e0cee -| | | | += org.eclipse.jetty.server.session.DefaultSessionCache@614aeccc[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false] - STARTED -| | | | | += org.eclipse.jetty.server.session.NullSessionDataStore@5116ac09[passivating=false,graceSec=3600] - STARTED -| | | | +~ DefaultSessionIdManager@6fca2a8f{STARTED}[worker=node0] - STARTED -| | | += ErrorPageErrorHandler@1bc425e7{STARTED} - STARTED -| | | +- java:comp org.eclipse.jetty.jndi.NamingContext@4b2a30d[name=comp,parent=org.eclipse.jetty.jndi.NamingContext@2cfbeac4,bindings.size=2] -| | | | +@ UserTransaction = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: UserTransaction| -| | | | +@ env = org.eclipse.jetty.jndi.NamingContext@322803db[name=env,parent=org.eclipse.jetty.jndi.NamingContext@4b2a30d,bindings.size=2] -| | | | +@ __ = org.eclipse.jetty.jndi.NamingContext@56ba8773[name=__,parent=org.eclipse.jetty.jndi.NamingContext@322803db,bindings.size=1] -| | | | | +@ woggle = org.eclipse.jetty.plus.jndi.EnvEntry@41f35f7c{name=woggle,OverrideWebXml=false} -| | | | +@ woggle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: woggle| -| | | += JettyServerFrameHandlerFactory@6ceb7b5e{STARTED} - STARTED -| | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | += JettyWebSocketServerContainer@7dd00705{STARTED} - STARTED -| | | | += SessionTracker@f14e5bf{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | += JavaxWebSocketServerContainer@d176a31{STARTED} - STARTED -| | | | += SessionTracker@3a91d146{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | +- org.eclipse.jetty.servlet.listener.ELContextCleaner@4784013e -| | | +- org.eclipse.jetty.servlet.listener.IntrospectorCleaner@6f952d6c -| | | +> WebAppClassLoader{root}@d5ae57e -| | | | +> URLs size=0 -| | | | +> startJarLoader@3d012ddd -| | | +> Systemclasses root@3c01cfa1 size=18 -| | | | +> java. -| | | | +> javax. -| | | | +> org.eclipse.jetty.jaas. -| | | | +> org.eclipse.jetty.jndi. -| | | | +> org.eclipse.jetty.jsp. -| | | | +> org.eclipse.jetty.servlet.DefaultServlet -| | | | +> org.eclipse.jetty.servlet.NoJspServlet -| | | | +> org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> org.eclipse.jetty.servlets.PushCacheFilter -| | | | +> org.eclipse.jetty.servlets.PushSessionCacheFilter -| | | | +> org.eclipse.jetty.util.annotations. -| | | | +> org.eclipse.jetty.websocket.api. -| | | | +> org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> org.eclipse.jetty.websocket.javax.server.config. -| | | | +> org.eclipse.jetty.websocket.server. -| | | | +> org.eclipse.jetty.websocket.servlet. -| | | | +> org.w3c. -| | | | +> org.xml. -| | | +> Serverclasses root@3c01cfa1 size=23 -| | | | +> -org.eclipse.jetty.apache. -| | | | +> -org.eclipse.jetty.jaas. -| | | | +> -org.eclipse.jetty.jndi. -| | | | +> -org.eclipse.jetty.jsp. -| | | | +> -org.eclipse.jetty.servlet.DefaultServlet -| | | | +> -org.eclipse.jetty.servlet.NoJspServlet -| | | | +> -org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> -org.eclipse.jetty.servlet.listener. -| | | | +> -org.eclipse.jetty.servlets. -| | | | +> -org.eclipse.jetty.util.annotations. -| | | | +> -org.eclipse.jetty.websocket.api. -| | | | +> -org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> -org.eclipse.jetty.websocket.javax.server.config. -| | | | +> -org.eclipse.jetty.websocket.server. -| | | | +> -org.eclipse.jetty.websocket.servlet. -| | | | +> org.eclipse.jdt. -| | | | +> org.eclipse.jetty. -| | | | +> org.eclipse.jetty.logging. -| | | | +> org.eclipse.jetty.server.config. -| | | | +> org.eclipse.jetty.server.internal. -| | | | +> org.eclipse.jetty.websocket.javax.server.internal -| | | | +> org.objectweb.asm. -| | | | +> org.slf4j. -| | | +> Configurations root@3c01cfa1 size=15 -| | | | +> org.eclipse.jetty.webapp.WebInfConfiguration -| | | | +> org.eclipse.jetty.webapp.WebXmlConfiguration -| | | | +> org.eclipse.jetty.webapp.MetaInfConfiguration -| | | | +> org.eclipse.jetty.webapp.FragmentConfiguration -| | | | +> org.eclipse.jetty.webapp.JaasConfiguration -| | | | +> org.eclipse.jetty.webapp.JndiConfiguration -| | | | +> org.eclipse.jetty.webapp.JspConfiguration -| | | | +> org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration -| | | | +> org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration -| | | | +> org.eclipse.jetty.webapp.WebAppConfiguration -| | | | +> org.eclipse.jetty.webapp.ServletsConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.EnvConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.PlusConfiguration -| | | | +> org.eclipse.jetty.annotations.AnnotationConfiguration -| | | | +> org.eclipse.jetty.webapp.JettyWebXmlConfiguration -| | | +> Handler attributes root@3c01cfa1 size=5 -| | | | +> javax.servlet.context.tempdir=/home/user/my-base/work/jetty-0_0_0_0-8443-root-_-any- -| | | | +> org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/jetty-servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$ -| | | | +> org.eclipse.jetty.lifecyleCallbackCollection=org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection@5965844d -| | | | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] -| | | | +> org.eclipse.jetty.injectionCollection=org.eclipse.jetty.plus.annotation.InjectionCollection@6d4a65c6 -| | | +> Context attributes root@3c01cfa1 size=8 -| | | | +> org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=3] -| | | | +> org.eclipse.jetty.websocket.api.WebSocketContainer=JettyWebSocketServerContainer@7dd00705{STARTED} -| | | | +> resourceCache=ResourceCache[null,org.eclipse.jetty.servlet.DefaultServlet@659a2455]@178259104 -| | | | +> org.apache.tomcat.InstanceManager=org.apache.tomcat.SimpleInstanceManager@4c98a6d5 -| | | | +> org.eclipse.jetty.websocket.core.WebSocketComponents=WebSocketServerComponents@8a62297{STARTED} -| | | | +> javax.websocket.server.ServerContainer=JavaxWebSocketServerContainer@d176a31{STARTED} -| | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings=org.eclipse.jetty.websocket.core.server.WebSocketMappings@2787de58 -| | | | +> org.apache.jasper.compiler.TldCache=org.apache.jasper.compiler.TldCache@392a04e7 -| | | +> EventListeners o.e.j.w.WebAppContext@3c01cfa1{root,/,file:///home/user/my-base/webapps/root/,AVAILABLE}{/home/user/my-base/webapps/root} size=5 -| | | | +> JettyServerFrameHandlerFactory@6ceb7b5e{STARTED} - STARTED -| | | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | | +> JettyWebSocketServerContainer@7dd00705{STARTED} - STARTED -| | | | | += SessionTracker@f14e5bf{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> JavaxWebSocketServerContainer@d176a31{STARTED} - STARTED -| | | | | += SessionTracker@3a91d146{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@4784013e -| | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@6f952d6c -| | | +> Initparams root@3c01cfa1 size=0 -| | += o.e.j.w.WebAppContext@45d2ade3{Async REST Webservice Example,/demo-async-rest,[file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/, jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/demo-async-rest-jar-{VERSION}.jar!/META-INF/resources],AVAILABLE}{/home/user/my-base/webapps/demo-async-rest.war} - STARTED -| | | += org.eclipse.jetty.server.session.SessionHandler133177937==dftMaxIdleSec=1800 - STARTED -| | | | += ConstraintSecurityHandler@dffa30b{STARTED} - STARTED -| | | | | +- knownAuthenticatorFactories size=1 -| | | | | | +> org.eclipse.jetty.security.DefaultAuthenticatorFactory@34523d46 -| | | | | += ServletHandler@4d8126f{STARTED} - STARTED -| | | | | | +> listeners ServletHandler@4d8126f{STARTED} size=2 -| | | | | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@6d3c232f{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@6b587673{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | +> filters ServletHandler@4d8126f{STARTED} size=1 -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter==org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@4cc76301{inst=true,async=true,src=EMBEDDED:null} - STARTED -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@1bcf67e8 -| | | | | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings@5f404594 -| | | | | | | +> PathMappings[size=0] -| | | | | | | +> java.util.TreeSet@0(size=0) -| | | | | | +> filterMappings ServletHandler@4d8126f{STARTED} size=1 -| | | | | | | +> [/*]/[]/[REQUEST]=>org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter -| | | | | | +> servlets ServletHandler@4d8126f{STARTED} size=4 -| | | | | | | +> default==org.eclipse.jetty.servlet.DefaultServlet@5c13d641{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.servlet.DefaultServlet@53692008 -| | | | | | | | +> initParams size=9 -| | | | | | | | +> dirAllowed=true -| | | | | | | | +> maxCacheSize=256000000 -| | | | | | | | +> maxCachedFileSize=200000000 -| | | | | | | | +> welcomeServlets=false -| | | | | | | | +> useFileMappedBuffer=true -| | | | | | | | +> acceptRanges=true -| | | | | | | | +> etags=false -| | | | | | | | +> maxCachedFiles=2048 -| | | | | | | | +> redirectWelcome=false -| | | | | | | +> jsp==org.eclipse.jetty.jsp.JettyJspServlet@19c47{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.jsp.JettyJspServlet@7b2a3ff8 -| | | | | | | | +> initParams size=4 -| | | | | | | | +> compilerSourceVM=1.8 -| | | | | | | | +> compilerTargetVM=1.8 -| | | | | | | | +> scratchdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/jsp -| | | | | | | | +> xpoweredBy=false -| | | | | | | +> SerialRestServlet==org.eclipse.jetty.demos.SerialRestServlet@461411d{jsp=null,order=-1,inst=false,async=false,src=DESCRIPTOR:jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/demo-async-rest-jar-{VERSION}.jar!/META-INF/web-fragment.xml} - STARTED -| | | | | | | | +> class org.eclipse.jetty.demos.SerialRestServlet -| | | | | | | +> AsyncRestServlet==org.eclipse.jetty.demos.AsyncRestServlet@73eb9bd5{jsp=null,order=-1,inst=false,async=true,src=DESCRIPTOR:jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/demo-async-rest-jar-{VERSION}.jar!/META-INF/web-fragment.xml} - STARTED -| | | | | | | +> class org.eclipse.jetty.demos.AsyncRestServlet -| | | | | | +> servletMappings ServletHandler@4d8126f{STARTED} size=4 -| | | | | | +> [/]=>default -| | | | | | +> [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp -| | | | | | +> [/testSerial]=>SerialRestServlet -| | | | | | +> [/testAsync]=>AsyncRestServlet -| | | | | +~ HashLoginService@2eb79cbe[Test Realm] - STARTED -| | | | | +~ org.eclipse.jetty.security.DefaultIdentityService@2ca6546f -| | | | | +- org.eclipse.jetty.security.authentication.BasicAuthenticator@1bbae752 -| | | | | +> roles size=1 -| | | | | | +> java.util.concurrent.CopyOnWriteArraySet@0(size=0) -| | | | | +> constraints size=1 -| | | | | +> java.util.concurrent.CopyOnWriteArrayList@d85abdea(size=2) -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@460b6d54 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@5cf87cfd -| | | | += org.eclipse.jetty.server.session.DefaultSessionCache@76075d65[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false] - STARTED -| | | | | += org.eclipse.jetty.server.session.NullSessionDataStore@3a4ba480[passivating=false,graceSec=3600] - STARTED -| | | | +~ DefaultSessionIdManager@6fca2a8f{STARTED}[worker=node0] - STARTED -| | | += ErrorPageErrorHandler@27b71f50{STARTED} - STARTED -| | | +- java:comp org.eclipse.jetty.jndi.NamingContext@383790cf[name=comp,parent=org.eclipse.jetty.jndi.NamingContext@2cfbeac4,bindings.size=2] -| | | | +@ UserTransaction = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: UserTransaction| -| | | | +@ env = org.eclipse.jetty.jndi.NamingContext@74971ed9[name=env,parent=org.eclipse.jetty.jndi.NamingContext@383790cf,bindings.size=2] -| | | | +@ __ = org.eclipse.jetty.jndi.NamingContext@131fcb6f[name=__,parent=org.eclipse.jetty.jndi.NamingContext@74971ed9,bindings.size=1] -| | | | | +@ woggle = org.eclipse.jetty.plus.jndi.EnvEntry@41f35f7c{name=woggle,OverrideWebXml=false} -| | | | +@ woggle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: woggle| -| | | += JettyServerFrameHandlerFactory@ccd1bc3{STARTED} - STARTED -| | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | += JettyWebSocketServerContainer@878537d{STARTED} - STARTED -| | | | += SessionTracker@4455f57d{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | += JavaxWebSocketServerContainer@29fc1a2b{STARTED} - STARTED -| | | | += SessionTracker@4d0b0fd4{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | +- org.eclipse.jetty.servlet.listener.ELContextCleaner@7a24eb3 -| | | +- org.eclipse.jetty.servlet.listener.IntrospectorCleaner@6c37bd27 -| | | +> WebAppClassLoader{Async REST Webservice Example}@3af17be2 -| | | | +> URLs size=10 -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/classes/ -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/demo-async-rest-jar-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-alpn-client-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-client-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-http-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-io-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-slf4j-impl-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-util-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-util-ajax-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/slf4j-api-2.0.0-alpha1.jar -| | | | +> startJarLoader@3d012ddd -| | | +> Systemclasses Async REST Webservice Example@45d2ade3 size=18 -| | | | +> java. -| | | | +> javax. -| | | | +> org.eclipse.jetty.jaas. -| | | | +> org.eclipse.jetty.jndi. -| | | | +> org.eclipse.jetty.jsp. -| | | | +> org.eclipse.jetty.servlet.DefaultServlet -| | | | +> org.eclipse.jetty.servlet.NoJspServlet -| | | | +> org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> org.eclipse.jetty.servlets.PushCacheFilter -| | | | +> org.eclipse.jetty.servlets.PushSessionCacheFilter -| | | | +> org.eclipse.jetty.util.annotations. -| | | | +> org.eclipse.jetty.websocket.api. -| | | | +> org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> org.eclipse.jetty.websocket.javax.server.config. -| | | | +> org.eclipse.jetty.websocket.server. -| | | | +> org.eclipse.jetty.websocket.servlet. -| | | | +> org.w3c. -| | | | +> org.xml. -| | | +> Serverclasses Async REST Webservice Example@45d2ade3 size=23 -| | | | +> -org.eclipse.jetty.apache. -| | | | +> -org.eclipse.jetty.jaas. -| | | | +> -org.eclipse.jetty.jndi. -| | | | +> -org.eclipse.jetty.jsp. -| | | | +> -org.eclipse.jetty.servlet.DefaultServlet -| | | | +> -org.eclipse.jetty.servlet.NoJspServlet -| | | | +> -org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> -org.eclipse.jetty.servlet.listener. -| | | | +> -org.eclipse.jetty.servlets. -| | | | +> -org.eclipse.jetty.util.annotations. -| | | | +> -org.eclipse.jetty.websocket.api. -| | | | +> -org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> -org.eclipse.jetty.websocket.javax.server.config. -| | | | +> -org.eclipse.jetty.websocket.server. -| | | | +> -org.eclipse.jetty.websocket.servlet. -| | | | +> org.eclipse.jdt. -| | | | +> org.eclipse.jetty. -| | | | +> org.eclipse.jetty.logging. -| | | | +> org.eclipse.jetty.server.config. -| | | | +> org.eclipse.jetty.server.internal. -| | | | +> org.eclipse.jetty.websocket.javax.server.internal -| | | | +> org.objectweb.asm. -| | | | +> org.slf4j. -| | | +> Configurations Async REST Webservice Example@45d2ade3 size=15 -| | | | +> org.eclipse.jetty.webapp.WebInfConfiguration -| | | | +> org.eclipse.jetty.webapp.WebXmlConfiguration -| | | | +> org.eclipse.jetty.webapp.MetaInfConfiguration -| | | | +> org.eclipse.jetty.webapp.FragmentConfiguration -| | | | +> org.eclipse.jetty.webapp.JaasConfiguration -| | | | +> org.eclipse.jetty.webapp.JndiConfiguration -| | | | +> org.eclipse.jetty.webapp.JspConfiguration -| | | | +> org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration -| | | | +> org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration -| | | | +> org.eclipse.jetty.webapp.WebAppConfiguration -| | | | +> org.eclipse.jetty.webapp.ServletsConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.EnvConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.PlusConfiguration -| | | | +> org.eclipse.jetty.annotations.AnnotationConfiguration -| | | | +> org.eclipse.jetty.webapp.JettyWebXmlConfiguration -| | | +> Handler attributes Async REST Webservice Example@45d2ade3 size=7 -| | | | +> javax.servlet.context.tempdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any- -| | | | +> org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/jetty-servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$ -| | | | +> org.eclipse.jetty.lifecyleCallbackCollection=org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection@25d3cfc8 -| | | | +> org.eclipse.jetty.webapp.tmpResourceBase=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp -| | | | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] -| | | | +> org.eclipse.jetty.injectionCollection=org.eclipse.jetty.plus.annotation.InjectionCollection@30331109 -| | | | +> org.apache.catalina.jsp_classpath=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/classes:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/demo-async-rest-jar-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-alpn-client-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-client-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-http-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-io-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-slf4j-impl-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-util-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/jetty-util-ajax-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/slf4j-api-2.0.0-alpha1.jar -| | | +> Context attributes Async REST Webservice Example@45d2ade3 size=8 -| | | | +> org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=3] -| | | | +> org.eclipse.jetty.websocket.api.WebSocketContainer=JettyWebSocketServerContainer@878537d{STARTED} -| | | | +> resourceCache=ResourceCache[null,org.eclipse.jetty.servlet.DefaultServlet@53692008]@628164202 -| | | | +> org.apache.tomcat.InstanceManager=org.apache.tomcat.SimpleInstanceManager@74fe5966 -| | | | +> org.eclipse.jetty.websocket.core.WebSocketComponents=WebSocketServerComponents@8a62297{STARTED} -| | | | +> javax.websocket.server.ServerContainer=JavaxWebSocketServerContainer@29fc1a2b{STARTED} -| | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings=org.eclipse.jetty.websocket.core.server.WebSocketMappings@5f404594 -| | | | +> org.apache.jasper.compiler.TldCache=org.apache.jasper.compiler.TldCache@4fe875be -| | | +> EventListeners o.e.j.w.WebAppContext@45d2ade3{Async REST Webservice Example,/demo-async-rest,[file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/, jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-async-rest_war-_demo-async-rest-any-/webapp/WEB-INF/lib/demo-async-rest-jar-{VERSION}.jar!/META-INF/resources],AVAILABLE}{/home/user/my-base/webapps/demo-async-rest.war} size=5 -| | | | +> JettyServerFrameHandlerFactory@ccd1bc3{STARTED} - STARTED -| | | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | | +> JettyWebSocketServerContainer@878537d{STARTED} - STARTED -| | | | | += SessionTracker@4455f57d{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> JavaxWebSocketServerContainer@29fc1a2b{STARTED} - STARTED -| | | | | += SessionTracker@4d0b0fd4{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@7a24eb3 -| | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@6c37bd27 -| | | +> Initparams Async REST Webservice Example@45d2ade3 size=0 -| | += o.e.j.w.WebAppContext@727eb8cb{Transparent Proxy WebApp,/proxy,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-proxy.war} - STARTED -| | | += org.eclipse.jetty.server.session.SessionHandler1736150547==dftMaxIdleSec=1800 - STARTED -| | | | += ConstraintSecurityHandler@4a9486c0{STARTED} - STARTED -| | | | | +- knownAuthenticatorFactories size=1 -| | | | | | +> org.eclipse.jetty.security.DefaultAuthenticatorFactory@34523d46 -| | | | | += ServletHandler@4c27d39d{STARTED} - STARTED -| | | | | | +> listeners ServletHandler@4c27d39d{STARTED} size=2 -| | | | | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@40ee0a22{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@7bde1f3a{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | +> filters ServletHandler@4c27d39d{STARTED} size=1 -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter==org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@548e76f1{inst=true,async=true,src=EMBEDDED:null} - STARTED -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@15923407 -| | | | | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings@67dba613 -| | | | | | | +> PathMappings[size=0] -| | | | | | | +> java.util.TreeSet@0(size=0) -| | | | | | +> filterMappings ServletHandler@4c27d39d{STARTED} size=1 -| | | | | | | +> [/*]/[]/[REQUEST]=>org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter -| | | | | | +> servlets ServletHandler@4c27d39d{STARTED} size=3 -| | | | | | | +> default==org.eclipse.jetty.servlet.DefaultServlet@5c13d641{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.servlet.DefaultServlet@57540fd0 -| | | | | | | | +> initParams size=9 -| | | | | | | | +> dirAllowed=true -| | | | | | | | +> maxCacheSize=256000000 -| | | | | | | | +> maxCachedFileSize=200000000 -| | | | | | | | +> welcomeServlets=false -| | | | | | | | +> useFileMappedBuffer=true -| | | | | | | | +> acceptRanges=true -| | | | | | | | +> etags=false -| | | | | | | | +> maxCachedFiles=2048 -| | | | | | | | +> redirectWelcome=false -| | | | | | | +> jsp==org.eclipse.jetty.jsp.JettyJspServlet@19c47{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.jsp.JettyJspServlet@5cf8edcf -| | | | | | | | +> initParams size=4 -| | | | | | | | +> compilerSourceVM=1.8 -| | | | | | | | +> compilerTargetVM=1.8 -| | | | | | | | +> scratchdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/jsp -| | | | | | | | +> xpoweredBy=false -| | | | | | | +> JavadocTransparentProxy==org.eclipse.jetty.proxy.ProxyServlet$Transparent@8ab9c012{jsp=null,order=1,inst=true,async=true,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | +> org.eclipse.jetty.proxy.ProxyServlet$Transparent@58cec85b -| | | | | | | +> initParams size=2 -| | | | | | | +> hostHeader=www.eclipse.org -| | | | | | | +> proxyTo=https://www.eclipse.org/jetty/javadoc/ -| | | | | | +> servletMappings ServletHandler@4c27d39d{STARTED} size=3 -| | | | | | +> [/]=>default -| | | | | | +> [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp -| | | | | | +> [/current/*]=>JavadocTransparentProxy -| | | | | +~ HashLoginService@2eb79cbe[Test Realm] - STARTED -| | | | | +~ org.eclipse.jetty.security.DefaultIdentityService@2ca6546f -| | | | | +- org.eclipse.jetty.security.authentication.BasicAuthenticator@629f066f -| | | | | +> roles size=1 -| | | | | | +> java.util.concurrent.CopyOnWriteArraySet@0(size=0) -| | | | | +> constraints size=1 -| | | | | +> java.util.concurrent.CopyOnWriteArrayList@a1e2ff4f(size=2) -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@1542af63 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@ecfbe91 -| | | | += org.eclipse.jetty.server.session.DefaultSessionCache@20ed3303[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false] - STARTED -| | | | | += org.eclipse.jetty.server.session.NullSessionDataStore@3adbe50f[passivating=false,graceSec=3600] - STARTED -| | | | +~ DefaultSessionIdManager@6fca2a8f{STARTED}[worker=node0] - STARTED -| | | += ErrorPageErrorHandler@3a627c80{STARTED} - STARTED -| | | +- java:comp org.eclipse.jetty.jndi.NamingContext@49aa766b[name=comp,parent=org.eclipse.jetty.jndi.NamingContext@2cfbeac4,bindings.size=2] -| | | | +@ UserTransaction = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: UserTransaction| -| | | | +@ env = org.eclipse.jetty.jndi.NamingContext@963176[name=env,parent=org.eclipse.jetty.jndi.NamingContext@49aa766b,bindings.size=2] -| | | | +@ __ = org.eclipse.jetty.jndi.NamingContext@65004ff6[name=__,parent=org.eclipse.jetty.jndi.NamingContext@963176,bindings.size=1] -| | | | | +@ woggle = org.eclipse.jetty.plus.jndi.EnvEntry@41f35f7c{name=woggle,OverrideWebXml=false} -| | | | +@ woggle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: woggle| -| | | += JettyServerFrameHandlerFactory@4cafa9aa{STARTED} - STARTED -| | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | += JettyWebSocketServerContainer@562c877a{STARTED} - STARTED -| | | | += SessionTracker@67001148{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | += JavaxWebSocketServerContainer@989da1{STARTED} - STARTED -| | | | += SessionTracker@31cb96e1{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | +- org.eclipse.jetty.servlet.listener.ELContextCleaner@3eed0f5 -| | | +- org.eclipse.jetty.servlet.listener.IntrospectorCleaner@64030b91 -| | | +> WebAppClassLoader{Transparent Proxy WebApp}@2c715e84 -| | | | +> URLs size=9 -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/classes/ -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-alpn-client-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-client-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-http-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-io-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-proxy-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-slf4j-impl-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-util-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/slf4j-api-2.0.0-alpha1.jar -| | | | +> startJarLoader@3d012ddd -| | | +> Systemclasses Transparent Proxy WebApp@727eb8cb size=18 -| | | | +> java. -| | | | +> javax. -| | | | +> org.eclipse.jetty.jaas. -| | | | +> org.eclipse.jetty.jndi. -| | | | +> org.eclipse.jetty.jsp. -| | | | +> org.eclipse.jetty.servlet.DefaultServlet -| | | | +> org.eclipse.jetty.servlet.NoJspServlet -| | | | +> org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> org.eclipse.jetty.servlets.PushCacheFilter -| | | | +> org.eclipse.jetty.servlets.PushSessionCacheFilter -| | | | +> org.eclipse.jetty.util.annotations. -| | | | +> org.eclipse.jetty.websocket.api. -| | | | +> org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> org.eclipse.jetty.websocket.javax.server.config. -| | | | +> org.eclipse.jetty.websocket.server. -| | | | +> org.eclipse.jetty.websocket.servlet. -| | | | +> org.w3c. -| | | | +> org.xml. -| | | +> Serverclasses Transparent Proxy WebApp@727eb8cb size=23 -| | | | +> -org.eclipse.jetty.apache. -| | | | +> -org.eclipse.jetty.jaas. -| | | | +> -org.eclipse.jetty.jndi. -| | | | +> -org.eclipse.jetty.jsp. -| | | | +> -org.eclipse.jetty.servlet.DefaultServlet -| | | | +> -org.eclipse.jetty.servlet.NoJspServlet -| | | | +> -org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> -org.eclipse.jetty.servlet.listener. -| | | | +> -org.eclipse.jetty.servlets. -| | | | +> -org.eclipse.jetty.util.annotations. -| | | | +> -org.eclipse.jetty.websocket.api. -| | | | +> -org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> -org.eclipse.jetty.websocket.javax.server.config. -| | | | +> -org.eclipse.jetty.websocket.server. -| | | | +> -org.eclipse.jetty.websocket.servlet. -| | | | +> org.eclipse.jdt. -| | | | +> org.eclipse.jetty. -| | | | +> org.eclipse.jetty.logging. -| | | | +> org.eclipse.jetty.server.config. -| | | | +> org.eclipse.jetty.server.internal. -| | | | +> org.eclipse.jetty.websocket.javax.server.internal -| | | | +> org.objectweb.asm. -| | | | +> org.slf4j. -| | | +> Configurations Transparent Proxy WebApp@727eb8cb size=15 -| | | | +> org.eclipse.jetty.webapp.WebInfConfiguration -| | | | +> org.eclipse.jetty.webapp.WebXmlConfiguration -| | | | +> org.eclipse.jetty.webapp.MetaInfConfiguration -| | | | +> org.eclipse.jetty.webapp.FragmentConfiguration -| | | | +> org.eclipse.jetty.webapp.JaasConfiguration -| | | | +> org.eclipse.jetty.webapp.JndiConfiguration -| | | | +> org.eclipse.jetty.webapp.JspConfiguration -| | | | +> org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration -| | | | +> org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration -| | | | +> org.eclipse.jetty.webapp.WebAppConfiguration -| | | | +> org.eclipse.jetty.webapp.ServletsConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.EnvConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.PlusConfiguration -| | | | +> org.eclipse.jetty.annotations.AnnotationConfiguration -| | | | +> org.eclipse.jetty.webapp.JettyWebXmlConfiguration -| | | +> Handler attributes Transparent Proxy WebApp@727eb8cb size=7 -| | | | +> javax.servlet.context.tempdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any- -| | | | +> org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/jetty-servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$ -| | | | +> org.eclipse.jetty.lifecyleCallbackCollection=org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection@2032e725 -| | | | +> org.eclipse.jetty.webapp.tmpResourceBase=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp -| | | | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] -| | | | +> org.eclipse.jetty.injectionCollection=org.eclipse.jetty.plus.annotation.InjectionCollection@4d23015c -| | | | +> org.apache.catalina.jsp_classpath=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/classes:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-alpn-client-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-client-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-http-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-io-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-proxy-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-slf4j-impl-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/jetty-util-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/WEB-INF/lib/slf4j-api-2.0.0-alpha1.jar -| | | +> Context attributes Transparent Proxy WebApp@727eb8cb size=9 -| | | | +> org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=3] -| | | | +> org.eclipse.jetty.websocket.api.WebSocketContainer=JettyWebSocketServerContainer@562c877a{STARTED} -| | | | +> resourceCache=ResourceCache[null,org.eclipse.jetty.servlet.DefaultServlet@57540fd0]@943659381 -| | | | +> org.apache.tomcat.InstanceManager=org.apache.tomcat.SimpleInstanceManager@441cc260 -| | | | +> JavadocTransparentProxy.HttpClient=HttpClient@37d3d232{STARTED} -| | | | +> org.eclipse.jetty.websocket.core.WebSocketComponents=WebSocketServerComponents@8a62297{STARTED} -| | | | +> javax.websocket.server.ServerContainer=JavaxWebSocketServerContainer@989da1{STARTED} -| | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings=org.eclipse.jetty.websocket.core.server.WebSocketMappings@67dba613 -| | | | +> org.apache.jasper.compiler.TldCache=org.apache.jasper.compiler.TldCache@73a00e09 -| | | +> EventListeners o.e.j.w.WebAppContext@727eb8cb{Transparent Proxy WebApp,/proxy,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-proxy_war-_demo-proxy-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-proxy.war} size=5 -| | | | +> JettyServerFrameHandlerFactory@4cafa9aa{STARTED} - STARTED -| | | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | | +> JettyWebSocketServerContainer@562c877a{STARTED} - STARTED -| | | | | += SessionTracker@67001148{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> JavaxWebSocketServerContainer@989da1{STARTED} - STARTED -| | | | | += SessionTracker@31cb96e1{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@3eed0f5 -| | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@64030b91 -| | | +> Initparams Transparent Proxy WebApp@727eb8cb size=0 -| | += o.e.j.w.WebAppContext@5b7a8434{Test Annotations WebApp,/test-spec,[file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/, jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/lib/demo-web-fragment-{VERSION}.jar!/META-INF/resources],AVAILABLE}{/home/user/my-base/webapps/demo-spec.war} - STARTED -| | | += org.eclipse.jetty.server.session.SessionHandler652007616==dftMaxIdleSec=10800 - STARTED -| | | | += ConstraintSecurityHandler@66e889df{STARTED} - STARTED -| | | | | +- knownAuthenticatorFactories size=1 -| | | | | | +> org.eclipse.jetty.security.DefaultAuthenticatorFactory@34523d46 -| | | | | += ServletHandler@444548a0{STARTED} - STARTED -| | | | | | +> listeners ServletHandler@444548a0{STARTED} size=5 -| | | | | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@3766c667{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@773c0293{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> com.acme.test.TestListener@55b8dbda{src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | +> com.acme.test.AnnotatedListener@3b569985{src=ANNOTATION:com.acme.test.AnnotatedListener} - STARTED -| | | | | | | +> com.acme.initializer.FooInitializer$FooListener@3a022576{src=JAVAX_API:null} - STARTED -| | | | | | +> filters ServletHandler@444548a0{STARTED} size=1 -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter==org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@515f4131{inst=true,async=true,src=EMBEDDED:null} - STARTED -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@2dbd803f -| | | | | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings@3e48e859 -| | | | | | | +> PathMappings[size=0] -| | | | | | | +> java.util.TreeSet@0(size=0) -| | | | | | +> filterMappings ServletHandler@444548a0{STARTED} size=1 -| | | | | | | +> [/*]/[]/[REQUEST]=>org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter -| | | | | | +> servlets ServletHandler@444548a0{STARTED} size=10 -| | | | | | | +> default==org.eclipse.jetty.servlet.DefaultServlet@5c13d641{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.servlet.DefaultServlet@31ddd4a4 -| | | | | | | | +> initParams size=9 -| | | | | | | | +> dirAllowed=true -| | | | | | | | +> maxCacheSize=256000000 -| | | | | | | | +> maxCachedFileSize=200000000 -| | | | | | | | +> welcomeServlets=false -| | | | | | | | +> useFileMappedBuffer=true -| | | | | | | | +> acceptRanges=true -| | | | | | | | +> etags=false -| | | | | | | | +> maxCachedFiles=2048 -| | | | | | | | +> redirectWelcome=false -| | | | | | | +> jsp==org.eclipse.jetty.jsp.JettyJspServlet@19c47{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.jsp.JettyJspServlet@1a5f7e7c -| | | | | | | | +> initParams size=4 -| | | | | | | | +> compilerSourceVM=1.8 -| | | | | | | | +> compilerTargetVM=1.8 -| | | | | | | | +> scratchdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/jsp -| | | | | | | | +> xpoweredBy=false -| | | | | | | +> AnnotationTest==com.acme.test.AnnotationTest@1a674081{jsp=null,order=1,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:RunAs:com.acme.test.AnnotationTest@5b22b970 -| | | | | | | | +> initParams size=3 -| | | | | | | | +> extra2=345 -| | | | | | | | +> fromAnnotation=xyz -| | | | | | | | +> extra1=123 -| | | | | | | +> RoleAnnotationTest==com.acme.test.RoleAnnotationTest@a7e37697{jsp=null,order=1,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.test.RoleAnnotationTest@22d1886d -| | | | | | | +> Multi==com.acme.test.MultiPartTest@473e519{jsp=null,order=2,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.test.MultiPartTest@7df60067 -| | | | | | | +> com.acme.test.SecuredServlet==com.acme.test.SecuredServlet@f7e523cd{jsp=null,order=2147483647,inst=true,async=false,src=ANNOTATION:com.acme.test.SecuredServlet} - STARTED -| | | | | | | | +> NotAsync:com.acme.test.SecuredServlet@1cbb3d3b -| | | | | | | +> com.acme.test.AsyncListenerServlet==com.acme.test.AsyncListenerServlet@cb673b2a{jsp=null,order=-1,inst=false,async=true,src=ANNOTATION:com.acme.test.AsyncListenerServlet} - STARTED -| | | | | | | | +> class com.acme.test.AsyncListenerServlet -| | | | | | | +> com.acme.test.ClassLoaderServlet==com.acme.test.ClassLoaderServlet@b51e63af{jsp=null,order=-1,inst=false,async=false,src=ANNOTATION:com.acme.test.ClassLoaderServlet} - STARTED -| | | | | | | | +> class com.acme.test.ClassLoaderServlet -| | | | | | | +> Fragment==com.acme.fragment.FragmentServlet@a17d4670{jsp=null,order=-1,inst=false,async=false,src=DESCRIPTOR:jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/lib/demo-web-fragment-{VERSION}.jar!/META-INF/web-fragment.xml} - STARTED -| | | | | | | | +> class com.acme.fragment.FragmentServlet -| | | | | | | +> dynamic.jsp==org.eclipse.jetty.jsp.JettyJspServlet@f083ae18{jsp=/dynamic.jsp,order=-1,inst=false,async=false,src=JAVAX_API:null} - STARTED -| | | | | | | +> class org.eclipse.jetty.jsp.JettyJspServlet -| | | | | | | +> initParams size=4 -| | | | | | | +> compilerSourceVM=1.8 -| | | | | | | +> compilerTargetVM=1.8 -| | | | | | | +> jspFile=/dynamic.jsp -| | | | | | | +> xpoweredBy=false -| | | | | | +> servletMappings ServletHandler@444548a0{STARTED} size=10 -| | | | | | +> [/]=>default -| | | | | | +> [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp -| | | | | | +> [/test/*]=>AnnotationTest -| | | | | | +> [/role/*]=>RoleAnnotationTest -| | | | | | +> [/multi/*]=>Multi -| | | | | | +> [/sec/*]=>com.acme.test.SecuredServlet -| | | | | | +> [/asy/*]=>com.acme.test.AsyncListenerServlet -| | | | | | +> [/classloader]=>com.acme.test.ClassLoaderServlet -| | | | | | +> [/fragment/*]=>Fragment -| | | | | | +> [/dynamicjsp/*]=>dynamic.jsp -| | | | | +~ HashLoginService@2eb79cbe[Test Realm] - STARTED -| | | | | +~ org.eclipse.jetty.security.DefaultIdentityService@2ca6546f -| | | | | +- org.eclipse.jetty.security.authentication.FormAuthenticator@529cfee5 -| | | | | +> roles size=1 -| | | | | | +> java.util.concurrent.CopyOnWriteArraySet@2d5cd4a8(size=4) -| | | | | | +: admin -| | | | | | +: server-administrator -| | | | | | +: user -| | | | | | +: client -| | | | | +> constraints size=1 -| | | | | +> java.util.concurrent.CopyOnWriteArrayList@88079198(size=4) -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@7ca0863b -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@319854f0 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@748fe51d -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@415156bf -| | | | +- com.acme.test.TestListener@393881f0 -| | | | +- com.acme.test.AnnotatedListener@4af46df3 -| | | | += org.eclipse.jetty.server.session.DefaultSessionCache@4158debd[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false] - STARTED -| | | | | += org.eclipse.jetty.server.session.NullSessionDataStore@af78c87[passivating=false,graceSec=3600] - STARTED -| | | | +~ DefaultSessionIdManager@6fca2a8f{STARTED}[worker=node0] - STARTED -| | | += ErrorPageErrorHandler@773dab28{STARTED} - STARTED -| | | +- java:comp org.eclipse.jetty.jndi.NamingContext@1ecfcbc9[name=comp,parent=org.eclipse.jetty.jndi.NamingContext@2cfbeac4,bindings.size=2] -| | | | +@ UserTransaction = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: UserTransaction| -| | | | +@ env = org.eclipse.jetty.jndi.NamingContext@1965539b[name=env,parent=org.eclipse.jetty.jndi.NamingContext@1ecfcbc9,bindings.size=8] -| | | | +@ __ = org.eclipse.jetty.jndi.NamingContext@2fc07784[name=__,parent=org.eclipse.jetty.jndi.NamingContext@1965539b,bindings.size=2] -| | | | | +@ woggle = org.eclipse.jetty.plus.jndi.EnvEntry@41f35f7c{name=woggle,OverrideWebXml=false} -| | | | | +@ maxAmount = org.eclipse.jetty.plus.jndi.EnvEntry@353efdbf{name=maxAmount,OverrideWebXml=true} -| | | | +@ someAmount = 0.99 -| | | | +@ com.acme.test.AnnotationTest = org.eclipse.jetty.jndi.NamingContext@55cff952[name=com.acme.test.AnnotationTest,parent=org.eclipse.jetty.jndi.NamingContext@1965539b,bindings.size=4] -| | | | | +@ myDatasource = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@5b7a8434/jdbc/mydatasource| -| | | | | +@ avgAmount = 1.25 -| | | | | +@ maxAmount = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@5b7a8434/maxAmount| -| | | | | +@ myUserTransaction = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: UserTransaction| -| | | | +@ com.acme.test.TestListener$ValidListener = org.eclipse.jetty.jndi.NamingContext@660591fb[name=com.acme.test.TestListener$ValidListener,parent=org.eclipse.jetty.jndi.NamingContext@1965539b,bindings.size=1] -| | | | | +@ maxAmount = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@5b7a8434/maxAmount| -| | | | +@ com.acme.test.AnnotatedListener = org.eclipse.jetty.jndi.NamingContext@4a55a6e8[name=com.acme.test.AnnotatedListener,parent=org.eclipse.jetty.jndi.NamingContext@1965539b,bindings.size=1] -| | | | | +@ maxAmount = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@5b7a8434/maxAmount| -| | | | +@ woggle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: woggle| -| | | | +@ maxAmount = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@5b7a8434/maxAmount| -| | | | +@ com.acme.test.TestListener = org.eclipse.jetty.jndi.NamingContext@8c46918[name=com.acme.test.TestListener,parent=org.eclipse.jetty.jndi.NamingContext@1965539b,bindings.size=1] -| | | | +@ maxAmount = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: org.eclipse.jetty.webapp.WebAppContext@5b7a8434/maxAmount| -| | | += JavaxWebSocketServerContainer@226b143b{STARTED} - STARTED -| | | | += SessionTracker@682bd3c4{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | += JettyServerFrameHandlerFactory@f2e4acf{STARTED} - STARTED -| | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | += JettyWebSocketServerContainer@24097e9b{STARTED} - STARTED -| | | | += SessionTracker@5eb97ced{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | +- org.eclipse.jetty.servlet.listener.ELContextCleaner@68ba310d -| | | +- org.eclipse.jetty.servlet.listener.IntrospectorCleaner@153f66e7 -| | | +- com.acme.test.TestListener@393881f0 -| | | +- com.acme.test.AnnotatedListener@4af46df3 -| | | +- com.acme.initializer.FooInitializer$FooListener@7aad3f7d -| | | +> WebAppClassLoader{Test Annotations WebApp}@1556f2dd -| | | | +> URLs size=3 -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/classes/ -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/lib/demo-container-initializer-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/lib/demo-web-fragment-{VERSION}.jar -| | | | +> startJarLoader@3d012ddd -| | | +> Systemclasses Test Annotations WebApp@5b7a8434 size=18 -| | | | +> java. -| | | | +> javax. -| | | | +> org.eclipse.jetty.jaas. -| | | | +> org.eclipse.jetty.jndi. -| | | | +> org.eclipse.jetty.jsp. -| | | | +> org.eclipse.jetty.servlet.DefaultServlet -| | | | +> org.eclipse.jetty.servlet.NoJspServlet -| | | | +> org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> org.eclipse.jetty.servlets.PushCacheFilter -| | | | +> org.eclipse.jetty.servlets.PushSessionCacheFilter -| | | | +> org.eclipse.jetty.util.annotations. -| | | | +> org.eclipse.jetty.websocket.api. -| | | | +> org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> org.eclipse.jetty.websocket.javax.server.config. -| | | | +> org.eclipse.jetty.websocket.server. -| | | | +> org.eclipse.jetty.websocket.servlet. -| | | | +> org.w3c. -| | | | +> org.xml. -| | | +> Serverclasses Test Annotations WebApp@5b7a8434 size=23 -| | | | +> -org.eclipse.jetty.apache. -| | | | +> -org.eclipse.jetty.jaas. -| | | | +> -org.eclipse.jetty.jndi. -| | | | +> -org.eclipse.jetty.jsp. -| | | | +> -org.eclipse.jetty.servlet.DefaultServlet -| | | | +> -org.eclipse.jetty.servlet.NoJspServlet -| | | | +> -org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> -org.eclipse.jetty.servlet.listener. -| | | | +> -org.eclipse.jetty.servlets. -| | | | +> -org.eclipse.jetty.util.annotations. -| | | | +> -org.eclipse.jetty.websocket.api. -| | | | +> -org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> -org.eclipse.jetty.websocket.javax.server.config. -| | | | +> -org.eclipse.jetty.websocket.server. -| | | | +> -org.eclipse.jetty.websocket.servlet. -| | | | +> org.eclipse.jdt. -| | | | +> org.eclipse.jetty. -| | | | +> org.eclipse.jetty.logging. -| | | | +> org.eclipse.jetty.server.config. -| | | | +> org.eclipse.jetty.server.internal. -| | | | +> org.eclipse.jetty.websocket.javax.server.internal -| | | | +> org.objectweb.asm. -| | | | +> org.slf4j. -| | | +> Configurations Test Annotations WebApp@5b7a8434 size=15 -| | | | +> org.eclipse.jetty.webapp.WebInfConfiguration -| | | | +> org.eclipse.jetty.webapp.WebXmlConfiguration -| | | | +> org.eclipse.jetty.webapp.MetaInfConfiguration -| | | | +> org.eclipse.jetty.webapp.FragmentConfiguration -| | | | +> org.eclipse.jetty.webapp.JaasConfiguration -| | | | +> org.eclipse.jetty.webapp.JndiConfiguration -| | | | +> org.eclipse.jetty.webapp.JspConfiguration -| | | | +> org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration -| | | | +> org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration -| | | | +> org.eclipse.jetty.webapp.WebAppConfiguration -| | | | +> org.eclipse.jetty.webapp.ServletsConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.EnvConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.PlusConfiguration -| | | | +> org.eclipse.jetty.annotations.AnnotationConfiguration -| | | | +> org.eclipse.jetty.webapp.JettyWebXmlConfiguration -| | | +> Handler attributes Test Annotations WebApp@5b7a8434 size=12 -| | | | +> javax.servlet.context.tempdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any- -| | | | +> response-character-encoding=utf-8 -| | | | +> org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/jetty-servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$ -| | | | +> org.eclipse.jetty.lifecyleCallbackCollection=org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection@6f667ad1 -| | | | +> org.eclipse.jetty.webapp.tmpResourceBase=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp -| | | | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] -| | | | +> org.eclipse.jetty.injectionCollection=org.eclipse.jetty.plus.annotation.InjectionCollection@566d0c69 -| | | | +> org.apache.catalina.jsp_classpath=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/classes:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/lib/demo-container-initializer-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/lib/demo-web-fragment-{VERSION}.jar -| | | | +> default-context-path=/test-spec -| | | | +> org.eclipse.jetty.jndi.EnvConfiguration=[org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@388b401d, org.eclipse.jetty.plus.webapp.EnvConfiguration$Bound@2bcec6a6] -| | | | +> javax.servlet.context.orderedLibs=[demo-container-initializer-{VERSION}.jar, demo-web-fragment-{VERSION}.jar] -| | | | +> request-character-encoding=utf-8 -| | | +> Context attributes Test Annotations WebApp@5b7a8434 size=20 -| | | | +> com.acme.AnnotationTest.listenerRegoTest=true -| | | | +> org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=3] -| | | | +> org.eclipse.jetty.websocket.api.WebSocketContainer=JettyWebSocketServerContainer@24097e9b{STARTED} -| | | | +> resourceCache=ResourceCache[null,org.eclipse.jetty.servlet.DefaultServlet@31ddd4a4]@2007138812 -| | | | +> org.apache.tomcat.InstanceManager=org.apache.tomcat.SimpleInstanceManager@4912d525 -| | | | +> com.acme.AnnotationTest.sclInjectTest=true -| | | | +> org.eclipse.jetty.websocket.core.WebSocketComponents=WebSocketServerComponents@8a62297{STARTED} -| | | | +> com.acme.AnnotationTest.complete=true -| | | | +> org.apache.jasper.compiler.TldCache=org.apache.jasper.compiler.TldCache@2bfbffb2 -| | | | +> com.acme.AnnotationTest.sclInjectWebListenerTest=true -| | | | +> com.acme.Foo=[class com.acme.test.ClassLoaderServlet, class javax.servlet.GenericServlet, class com.acme.test.AsyncListenerServlet, class com.acme.test.Bar, class com.acme.test.SecuredServlet, class javax.servlet.http.HttpServlet, class com.acme.test.MultiPartTest, class com.acme.test.RoleAnnotationTest, class com.acme.test.AnnotationTest, class com.acme.fragment.FragmentServlet, class com.acme.test.TestListener] -| | | | +> com.acme.AnnotationTest.listenerTest=true -| | | | +> com.acme.AnnotationTest.programListenerInjectTest=true -| | | | +> com.acme.AnnotationTest.sclGetSessionTimeout=true -| | | | +> javax.websocket.server.ServerContainer=JavaxWebSocketServerContainer@226b143b{STARTED} -| | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings=org.eclipse.jetty.websocket.core.server.WebSocketMappings@3e48e859 -| | | | +> com.acme.AnnotationTest.invalidListenerRegoTest=true -| | | | +> com.acme.jsp.file=true -| | | | +> com.acme.AnnotationTest.sclFromSclRegoTest=true -| | | | +> com.acme.AnnotationTest.sclSetSessionTimeout=true -| | | +> EventListeners o.e.j.w.WebAppContext@5b7a8434{Test Annotations WebApp,/test-spec,[file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/, jar:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-spec_war-_test-spec-any-/webapp/WEB-INF/lib/demo-web-fragment-{VERSION}.jar!/META-INF/resources],AVAILABLE}{/home/user/my-base/webapps/demo-spec.war} size=8 -| | | | +> JavaxWebSocketServerContainer@226b143b{STARTED} - STARTED -| | | | | += SessionTracker@682bd3c4{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> JettyServerFrameHandlerFactory@f2e4acf{STARTED} - STARTED -| | | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | | +> JettyWebSocketServerContainer@24097e9b{STARTED} - STARTED -| | | | | += SessionTracker@5eb97ced{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@68ba310d -| | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@153f66e7 -| | | | +> com.acme.test.TestListener@393881f0 -| | | | +> com.acme.test.AnnotatedListener@4af46df3 -| | | | +> com.acme.initializer.FooInitializer$FooListener@7aad3f7d -| | | +> Initparams Test Annotations WebApp@5b7a8434 size=0 -| | += o.e.j.w.WebAppContext@1fb669c3{Test WebApp,/test,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jetty.war} - STARTED -| | | += ErrorPageErrorHandler@765df79d{STARTED} - STARTED -| | | += GzipHandler@151335cb{STARTED,min=2048,inflate=-1} - STARTED -| | | | += org.eclipse.jetty.server.session.SessionHandler1249337777==dftMaxIdleSec=3240 - STARTED -| | | | += ConstraintSecurityHandler@3e850122{STARTED} - STARTED -| | | | | +- knownAuthenticatorFactories size=1 -| | | | | | +> org.eclipse.jetty.security.DefaultAuthenticatorFactory@34523d46 -| | | | | += ServletHandler@27fde870{STARTED} - STARTED -| | | | | | +> listeners ServletHandler@27fde870{STARTED} size=5 -| | | | | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@2b4c3c29{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@5ac7aa18{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> com.acme.TestListener@4cdd2c73{src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | +> com.acme.TagListener@4abf3f0{src=JAVAX_API:null} - STARTED -| | | | | | | +> com.acme.AddListServletRequestListener@4e4c3a38{src=JAVAX_API:null} - STARTED -| | | | | | +> filters ServletHandler@27fde870{STARTED} size=4 -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter==org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@3961a41a{inst=true,async=true,src=EMBEDDED:null} - STARTED -| | | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@293cde83 -| | | | | | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings@c27d163 -| | | | | | | | +> PathMappings[size=1] -| | | | | | | | +> java.util.TreeSet@71c94a0d(size=1) -| | | | | | | | +: MappedResource[pathSpec=UriTemplatePathSpec@71c949ee{/javax.websocket/},resource=CreatorNegotiator@57c88764{JsrCreator[@com.acme.JavaxWebSocketChat],org.eclipse.jetty.websocket.javax.server.internal.JavaxWebSocketServerFrameHandlerFactory@78faea5f}] -| | | | | | | +> PushFilter==org.eclipse.jetty.servlets.PushCacheFilter@37fdfb05{inst=true,async=true,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> org.eclipse.jetty.servlets.PushCacheFilter@5e39850 -| | | | | | | +> QoSFilter==org.eclipse.jetty.servlets.QoSFilter@1603dc2f{inst=true,async=true,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> org.eclipse.jetty.servlets.QoSFilter@143d9a93 -| | | | | | | | +> initParams size=2 -| | | | | | | | +> maxRequests=10000 -| | | | | | | | +> managedAttr=true -| | | | | | | +> TestFilter==com.acme.TestFilter@398474a2{inst=true,async=true,src=JAVAX_API:null} - STARTED -| | | | | | | +> com.acme.TestFilter@61799544 -| | | | | | | +> initParams size=1 -| | | | | | | +> remote=false -| | | | | | +> filterMappings ServletHandler@27fde870{STARTED} size=4 -| | | | | | | +> [/*]/[]/[REQUEST]=>org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter -| | | | | | | +> [/*]/[]/[ASYNC, REQUEST]=>PushFilter -| | | | | | | +> [/*]/[]/[ASYNC, REQUEST]=>QoSFilter -| | | | | | | +> [/*]/[]/[ASYNC, INCLUDE, REQUEST, FORWARD, ERROR]=>TestFilter -| | | | | | +> servlets ServletHandler@27fde870{STARTED} size=17 -| | | | | | | +> default==org.eclipse.jetty.servlet.DefaultServlet@5c13d641{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.servlet.DefaultServlet@325bb9a6 -| | | | | | | | +> initParams size=10 -| | | | | | | | +> dirAllowed=true -| | | | | | | | +> maxCacheSize=256000000 -| | | | | | | | +> maxCachedFileSize=200000000 -| | | | | | | | +> welcomeServlets=false -| | | | | | | | +> precompressed=true -| | | | | | | | +> useFileMappedBuffer=true -| | | | | | | | +> acceptRanges=true -| | | | | | | | +> etags=false -| | | | | | | | +> maxCachedFiles=2048 -| | | | | | | | +> redirectWelcome=false -| | | | | | | +> jsp==org.eclipse.jetty.jsp.JettyJspServlet@19c47{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.jsp.JettyJspServlet@1d12b024 -| | | | | | | | +> initParams size=4 -| | | | | | | | +> compilerSourceVM=1.8 -| | | | | | | | +> compilerTargetVM=1.8 -| | | | | | | | +> scratchdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/jsp -| | | | | | | | +> xpoweredBy=false -| | | | | | | +> Login==com.acme.LoginServlet@462ff49{jsp=null,order=1,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.LoginServlet@72fe8a4f -| | | | | | | +> Hello==com.acme.HelloWorld@42628b2{jsp=null,order=1,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.HelloWorld@43effd89 -| | | | | | | +> Dump==com.acme.Dump@20ae14{jsp=null,order=1,inst=true,async=true,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> RunAs:com.acme.Dump@2c16fadb -| | | | | | | | +> initParams size=1 -| | | | | | | | +> servlet-override-example=a servlet value -| | | | | | | +> Session==com.acme.SessionDump@d9891a76{jsp=null,order=5,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.SessionDump@248deced -| | | | | | | +> Cookie==com.acme.CookieDump@78a4f684{jsp=null,order=1,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.CookieDump@2227a6c1 -| | | | | | | +> Dispatch==com.acme.DispatchServlet@14d3a89a{jsp=null,order=1,inst=true,async=true,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> com.acme.DispatchServlet@1e9804b9 -| | | | | | | +> CGI==org.eclipse.jetty.servlets.CGI@10465{jsp=null,order=1,inst=true,async=true,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> org.eclipse.jetty.servlets.CGI@543e593 -| | | | | | | +> Chat==com.acme.ChatServlet@200778{jsp=null,order=1,inst=true,async=true,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> com.acme.ChatServlet@4e628b52 -| | | | | | | +> WSChat==com.acme.WebSocketChatServlet@99274454{jsp=null,order=1,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.WebSocketChatServlet@51ec2df1 -| | | | | | | +> Rewrite==com.acme.RewriteServlet@a4dac96c{jsp=null,order=-1,inst=false,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> class com.acme.RewriteServlet -| | | | | | | +> SecureMode==com.acme.SecureModeServlet@d45951da{jsp=null,order=1,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.SecureModeServlet@f8f56b9 -| | | | | | | +> foo.jsp==org.eclipse.jetty.jsp.JettyJspServlet@d7583f1f{jsp=/jsp/foo/foo.jsp,order=-1,inst=false,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> class org.eclipse.jetty.jsp.JettyJspServlet -| | | | | | | | +> initParams size=4 -| | | | | | | | +> compilerSourceVM=1.8 -| | | | | | | | +> compilerTargetVM=1.8 -| | | | | | | | +> jspFile=/jsp/foo/foo.jsp -| | | | | | | | +> xpoweredBy=false -| | | | | | | +> TestServlet==com.acme.TestServlet@c246e533{jsp=null,order=10,inst=true,async=false,src=DESCRIPTOR:file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/web.xml} - STARTED -| | | | | | | | +> NotAsync:com.acme.TestServlet@15fa55a6 -| | | | | | | +> RegoTest==com.acme.RegTest@dafcd1ad{jsp=null,order=-1,inst=false,async=false,src=JAVAX_API:null} - STARTED -| | | | | | | | +> class com.acme.RegTest -| | | | | | | +> RegoTest2==com.acme.RegTest@849d6425{jsp=null,order=-1,inst=false,async=false,src=JAVAX_API:null} - STARTED -| | | | | | | +> class com.acme.RegTest -| | | | | | +> servletMappings ServletHandler@27fde870{STARTED} size=18 -| | | | | | +> [/]=>default -| | | | | | +> [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp -| | | | | | +> [/login/*]=>Login -| | | | | | +> [/hello/*]=>Hello -| | | | | | +> [/dump/*, *.dump]=>Dump -| | | | | | +> [/session/*]=>Session -| | | | | | +> [/cookie/*]=>Cookie -| | | | | | +> [/dispatch/*]=>Dispatch -| | | | | | +> [/cgi-bin/*]=>CGI -| | | | | | +> [/chat/*]=>Chat -| | | | | | +> [/ws/*]=>WSChat -| | | | | | +> [/rewritten/*, /redirected/*]=>Rewrite -| | | | | | +> [/secureMode/*]=>SecureMode -| | | | | | +> [/jsp/foo/]=>foo.jsp -| | | | | | +> [/testservlet/*]=>TestServlet -| | | | | | +> [*.more]=>Dump -| | | | | | +> [/rego/*]=>RegoTest -| | | | | | +> [/rego2/*]=>RegoTest2 -| | | | | +~ HashLoginService@2eb79cbe[Test Realm] - STARTED -| | | | | +~ org.eclipse.jetty.security.DefaultIdentityService@2ca6546f -| | | | | +- org.eclipse.jetty.security.authentication.FormAuthenticator@4f186450 -| | | | | +> roles size=1 -| | | | | | +> java.util.concurrent.CopyOnWriteArraySet@7e49e0dd(size=3) -| | | | | | +: server-administrator -| | | | | | +: admin -| | | | | | +: user -| | | | | +> constraints size=1 -| | | | | +> java.util.concurrent.CopyOnWriteArrayList@528618f2(size=13) -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@7fab4be7 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@a64e035 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@4d74c3ba -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@41c204a0 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@64138b0c -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@49dbaaf3 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@22d9c961 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@736f3e9e -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@bdc8014 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@1f443fae -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@73ba6fe6 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@79ab34c1 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@1698d7c0 -| | | | +- com.acme.TestListener@281f23f2 -| | | | +- com.acme.TagListener@87abc48 -| | | | += org.eclipse.jetty.server.session.DefaultSessionCache@28d79cba[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false] - STARTED -| | | | | += org.eclipse.jetty.server.session.NullSessionDataStore@782168b7[passivating=false,graceSec=3600] - STARTED -| | | | +~ DefaultSessionIdManager@6fca2a8f{STARTED}[worker=node0] - STARTED -| | | +- java:comp org.eclipse.jetty.jndi.NamingContext@29f0c4f2[name=comp,parent=org.eclipse.jetty.jndi.NamingContext@2cfbeac4,bindings.size=2] -| | | | +@ UserTransaction = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: UserTransaction| -| | | | +@ env = org.eclipse.jetty.jndi.NamingContext@7435a578[name=env,parent=org.eclipse.jetty.jndi.NamingContext@29f0c4f2,bindings.size=2] -| | | | +@ __ = org.eclipse.jetty.jndi.NamingContext@6093d508[name=__,parent=org.eclipse.jetty.jndi.NamingContext@7435a578,bindings.size=1] -| | | | | +@ woggle = org.eclipse.jetty.plus.jndi.EnvEntry@41f35f7c{name=woggle,OverrideWebXml=false} -| | | | +@ woggle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: woggle| -| | | += JettyServerFrameHandlerFactory@13047d7d{STARTED} - STARTED -| | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | += JettyWebSocketServerContainer@3c7cfcbb{STARTED} - STARTED -| | | | += SessionTracker@65bb9029{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | += JavaxWebSocketServerContainer@1bfe3203{STARTED} - STARTED -| | | | += SessionTracker@2b214b94{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | +- org.eclipse.jetty.servlet.listener.ELContextCleaner@70e3f36f -| | | +- org.eclipse.jetty.servlet.listener.IntrospectorCleaner@49601f82 -| | | +- com.acme.TestListener@281f23f2 -| | | +- com.acme.TagListener@87abc48 -| | | +- org.eclipse.jetty.server.handler.ManagedAttributeListener@23e44287 -| | | +- com.acme.AddListServletRequestListener@2b8d084 -| | | +~ org.eclipse.jetty.servlets.PushCacheFilter@5e39850 -| | | +~ org.eclipse.jetty.servlets.QoSFilter@143d9a93 -| | | +> WebAppClassLoader{Test WebApp}@410e94e -| | | | +> URLs size=3 -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/classes/ -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/lib/jetty-slf4j-impl-{VERSION}.jar -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/lib/slf4j-api-2.0.0-alpha1.jar -| | | | +> startJarLoader@3d012ddd -| | | +> Systemclasses Test WebApp@1fb669c3 size=18 -| | | | +> java. -| | | | +> javax. -| | | | +> org.eclipse.jetty.jaas. -| | | | +> org.eclipse.jetty.jndi. -| | | | +> org.eclipse.jetty.jsp. -| | | | +> org.eclipse.jetty.servlet.DefaultServlet -| | | | +> org.eclipse.jetty.servlet.NoJspServlet -| | | | +> org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> org.eclipse.jetty.servlets.PushCacheFilter -| | | | +> org.eclipse.jetty.servlets.PushSessionCacheFilter -| | | | +> org.eclipse.jetty.util.annotations. -| | | | +> org.eclipse.jetty.websocket.api. -| | | | +> org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> org.eclipse.jetty.websocket.javax.server.config. -| | | | +> org.eclipse.jetty.websocket.server. -| | | | +> org.eclipse.jetty.websocket.servlet. -| | | | +> org.w3c. -| | | | +> org.xml. -| | | +> Serverclasses Test WebApp@1fb669c3 size=24 -| | | | +> -org.eclipse.jetty.apache. -| | | | +> -org.eclipse.jetty.jaas. -| | | | +> -org.eclipse.jetty.jndi. -| | | | +> -org.eclipse.jetty.jsp. -| | | | +> -org.eclipse.jetty.servlet.DefaultServlet -| | | | +> -org.eclipse.jetty.servlet.NoJspServlet -| | | | +> -org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> -org.eclipse.jetty.servlet.listener. -| | | | +> -org.eclipse.jetty.servlets. -| | | | +> -org.eclipse.jetty.util. -| | | | +> -org.eclipse.jetty.util.annotations. -| | | | +> -org.eclipse.jetty.websocket.api. -| | | | +> -org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> -org.eclipse.jetty.websocket.javax.server.config. -| | | | +> -org.eclipse.jetty.websocket.server. -| | | | +> -org.eclipse.jetty.websocket.servlet. -| | | | +> org.eclipse.jdt. -| | | | +> org.eclipse.jetty. -| | | | +> org.eclipse.jetty.logging. -| | | | +> org.eclipse.jetty.server.config. -| | | | +> org.eclipse.jetty.server.internal. -| | | | +> org.eclipse.jetty.websocket.javax.server.internal -| | | | +> org.objectweb.asm. -| | | | +> org.slf4j. -| | | +> Configurations Test WebApp@1fb669c3 size=15 -| | | | +> org.eclipse.jetty.webapp.WebInfConfiguration -| | | | +> org.eclipse.jetty.webapp.WebXmlConfiguration -| | | | +> org.eclipse.jetty.webapp.MetaInfConfiguration -| | | | +> org.eclipse.jetty.webapp.FragmentConfiguration -| | | | +> org.eclipse.jetty.webapp.JaasConfiguration -| | | | +> org.eclipse.jetty.webapp.JndiConfiguration -| | | | +> org.eclipse.jetty.webapp.JspConfiguration -| | | | +> org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration -| | | | +> org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration -| | | | +> org.eclipse.jetty.webapp.WebAppConfiguration -| | | | +> org.eclipse.jetty.webapp.ServletsConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.EnvConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.PlusConfiguration -| | | | +> org.eclipse.jetty.annotations.AnnotationConfiguration -| | | | +> org.eclipse.jetty.webapp.JettyWebXmlConfiguration -| | | +> Handler attributes Test WebApp@1fb669c3 size=8 -| | | | +> javax.servlet.context.tempdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any- -| | | | +> org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/jetty-servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$ -| | | | +> org.eclipse.jetty.lifecyleCallbackCollection=org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection@6daf2337 -| | | | +> org.eclipse.jetty.webapp.tmpResourceBase=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp -| | | | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] -| | | | +> org.eclipse.jetty.injectionCollection=org.eclipse.jetty.plus.annotation.InjectionCollection@24fabd0f -| | | | +> org.apache.catalina.jsp_classpath=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/classes:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/lib/jetty-slf4j-impl-{VERSION}.jar:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/WEB-INF/lib/slf4j-api-2.0.0-alpha1.jar -| | | | +> org.eclipse.jetty.websocket.javax=true -| | | +> Context attributes Test WebApp@1fb669c3 size=10 -| | | | +> QoSFilter=org.eclipse.jetty.servlets.QoSFilter@143d9a93 -| | | | +> org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=3] -| | | | +> org.eclipse.jetty.websocket.api.WebSocketContainer=JettyWebSocketServerContainer@3c7cfcbb{STARTED} -| | | | +> resourceCache=ResourceCache[null,org.eclipse.jetty.servlet.DefaultServlet@325bb9a6]@621486957 -| | | | +> PushFilter=org.eclipse.jetty.servlets.PushCacheFilter@5e39850 -| | | | +> org.apache.tomcat.InstanceManager=org.apache.tomcat.SimpleInstanceManager@61f3fbb8 -| | | | +> org.eclipse.jetty.websocket.core.WebSocketComponents=WebSocketServerComponents@8a62297{STARTED} -| | | | +> javax.websocket.server.ServerContainer=JavaxWebSocketServerContainer@1bfe3203{STARTED} -| | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings=org.eclipse.jetty.websocket.core.server.WebSocketMappings@c27d163 -| | | | +> org.apache.jasper.compiler.TldCache=org.apache.jasper.compiler.TldCache@7551da2a -| | | +> EventListeners o.e.j.w.WebAppContext@1fb669c3{Test WebApp,/test,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jetty_war-_test-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jetty.war} size=9 -| | | | +> JettyServerFrameHandlerFactory@13047d7d{STARTED} - STARTED -| | | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | | +> JettyWebSocketServerContainer@3c7cfcbb{STARTED} - STARTED -| | | | | += SessionTracker@65bb9029{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> JavaxWebSocketServerContainer@1bfe3203{STARTED} - STARTED -| | | | | += SessionTracker@2b214b94{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@70e3f36f -| | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@49601f82 -| | | | +> com.acme.TestListener@281f23f2 -| | | | +> com.acme.TagListener@87abc48 -| | | | +> org.eclipse.jetty.server.handler.ManagedAttributeListener@23e44287 -| | | | +> com.acme.AddListServletRequestListener@2b8d084 -| | | +> Initparams Test WebApp@1fb669c3 size=2 -| | | +> org.eclipse.jetty.server.context.ManagedAttributes=PushFilter,QoSFilter,TransparentProxy.ThreadPool,TransparentProxy.HttpClient -| | | +> context-override-example=a context value -| | += o.e.j.w.WebAppContext@1869fbd2{JAAS Test,/test-jaas,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jaas_war-_test-jaas-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jaas.war} - STARTED -| | | += org.eclipse.jetty.server.session.SessionHandler70386506==dftMaxIdleSec=1800 - STARTED -| | | | += ConstraintSecurityHandler@78de58ea{STARTED} - STARTED -| | | | | +- knownAuthenticatorFactories size=1 -| | | | | | +> org.eclipse.jetty.security.DefaultAuthenticatorFactory@34523d46 -| | | | | += JAASLoginService@60e5272{STARTED} - STARTED -| | | | | | += PropertyUserStoreManager@7d755813{STARTED} - STARTED -| | | | | += ServletHandler@69c93ca4{STARTED} - STARTED -| | | | | | +> listeners ServletHandler@69c93ca4{STARTED} size=2 -| | | | | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@63da207f{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@173373b4{src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | +> filters ServletHandler@69c93ca4{STARTED} size=1 -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter==org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@4905c46b{inst=true,async=true,src=EMBEDDED:null} - STARTED -| | | | | | | +> org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter@40d10481 -| | | | | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings@60dd3c23 -| | | | | | | +> PathMappings[size=0] -| | | | | | | +> java.util.TreeSet@0(size=0) -| | | | | | +> filterMappings ServletHandler@69c93ca4{STARTED} size=1 -| | | | | | | +> [/*]/[]/[REQUEST]=>org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter -| | | | | | +> servlets ServletHandler@69c93ca4{STARTED} size=2 -| | | | | | | +> default==org.eclipse.jetty.servlet.DefaultServlet@5c13d641{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | | +> NotAsync:org.eclipse.jetty.servlet.DefaultServlet@52b6319f -| | | | | | | | +> initParams size=9 -| | | | | | | | +> dirAllowed=true -| | | | | | | | +> maxCacheSize=256000000 -| | | | | | | | +> maxCachedFileSize=200000000 -| | | | | | | | +> welcomeServlets=false -| | | | | | | | +> useFileMappedBuffer=true -| | | | | | | | +> acceptRanges=true -| | | | | | | | +> etags=false -| | | | | | | | +> maxCachedFiles=2048 -| | | | | | | | +> redirectWelcome=false -| | | | | | | +> jsp==org.eclipse.jetty.jsp.JettyJspServlet@19c47{jsp=null,order=0,inst=true,async=false,src=DESCRIPTOR:file:///home/user/jetty-home-{VERSION}/etc/webdefault.xml} - STARTED -| | | | | | | +> NotAsync:org.eclipse.jetty.jsp.JettyJspServlet@5e9456ae -| | | | | | | +> initParams size=4 -| | | | | | | +> compilerSourceVM=1.8 -| | | | | | | +> compilerTargetVM=1.8 -| | | | | | | +> scratchdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jaas_war-_test-jaas-any-/jsp -| | | | | | | +> xpoweredBy=false -| | | | | | +> servletMappings ServletHandler@69c93ca4{STARTED} size=2 -| | | | | | +> [/]=>default -| | | | | | +> [*.jsp, *.jspf, *.jspx, *.xsp, *.JSP, *.JSPF, *.JSPX, *.XSP]=>jsp -| | | | | +- org.eclipse.jetty.security.DefaultIdentityService@16a9a4f1 -| | | | | +- org.eclipse.jetty.security.authentication.FormAuthenticator@1f1cae23 -| | | | | +> roles size=1 -| | | | | | +> java.util.concurrent.CopyOnWriteArraySet@67a8e8b(size=1) -| | | | | | +: roleA -| | | | | +> constraints size=1 -| | | | | +> java.util.concurrent.CopyOnWriteArrayList@eea8e5f7(size=3) -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@7c455e96 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@985696 -| | | | | +: org.eclipse.jetty.security.ConstraintMapping@5bcde458 -| | | | += org.eclipse.jetty.server.session.DefaultSessionCache@215a34b4[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false] - STARTED -| | | | | += org.eclipse.jetty.server.session.NullSessionDataStore@77bd7fe7[passivating=false,graceSec=3600] - STARTED -| | | | +~ DefaultSessionIdManager@6fca2a8f{STARTED}[worker=node0] - STARTED -| | | += ErrorPageErrorHandler@35d3ab60{STARTED} - STARTED -| | | +- java:comp org.eclipse.jetty.jndi.NamingContext@10876a6[name=comp,parent=org.eclipse.jetty.jndi.NamingContext@2cfbeac4,bindings.size=2] -| | | | +@ UserTransaction = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: UserTransaction| -| | | | +@ env = org.eclipse.jetty.jndi.NamingContext@71870da7[name=env,parent=org.eclipse.jetty.jndi.NamingContext@10876a6,bindings.size=2] -| | | | +@ __ = org.eclipse.jetty.jndi.NamingContext@6dd91637[name=__,parent=org.eclipse.jetty.jndi.NamingContext@71870da7,bindings.size=1] -| | | | | +@ woggle = org.eclipse.jetty.plus.jndi.EnvEntry@41f35f7c{name=woggle,OverrideWebXml=false} -| | | | +@ woggle = Reference Class Name: javax.naming.LinkRef|Type: LinkAddress|Content: woggle| -| | | += JettyServerFrameHandlerFactory@45792847{STARTED} - STARTED -| | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | += JettyWebSocketServerContainer@706cb08{STARTED} - STARTED -| | | | += SessionTracker@4e25147a{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | += JavaxWebSocketServerContainer@6b68cb27{STARTED} - STARTED -| | | | += SessionTracker@675ffd1d{STARTED} - STARTED -| | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | +- org.eclipse.jetty.servlet.listener.ELContextCleaner@56303475 -| | | +- org.eclipse.jetty.servlet.listener.IntrospectorCleaner@30506c0d -| | | +> WebAppClassLoader{JAAS Test}@4565a70a -| | | | +> URLs size=1 -| | | | | +> file:/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jaas_war-_test-jaas-any-/webapp/WEB-INF/classes/ -| | | | +> startJarLoader@3d012ddd -| | | +> Systemclasses JAAS Test@1869fbd2 size=18 -| | | | +> java. -| | | | +> javax. -| | | | +> org.eclipse.jetty.jaas. -| | | | +> org.eclipse.jetty.jndi. -| | | | +> org.eclipse.jetty.jsp. -| | | | +> org.eclipse.jetty.servlet.DefaultServlet -| | | | +> org.eclipse.jetty.servlet.NoJspServlet -| | | | +> org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> org.eclipse.jetty.servlets.PushCacheFilter -| | | | +> org.eclipse.jetty.servlets.PushSessionCacheFilter -| | | | +> org.eclipse.jetty.util.annotations. -| | | | +> org.eclipse.jetty.websocket.api. -| | | | +> org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> org.eclipse.jetty.websocket.javax.server.config. -| | | | +> org.eclipse.jetty.websocket.server. -| | | | +> org.eclipse.jetty.websocket.servlet. -| | | | +> org.w3c. -| | | | +> org.xml. -| | | +> Serverclasses JAAS Test@1869fbd2 size=23 -| | | | +> -org.eclipse.jetty.apache. -| | | | +> -org.eclipse.jetty.jaas. -| | | | +> -org.eclipse.jetty.jndi. -| | | | +> -org.eclipse.jetty.jsp. -| | | | +> -org.eclipse.jetty.servlet.DefaultServlet -| | | | +> -org.eclipse.jetty.servlet.NoJspServlet -| | | | +> -org.eclipse.jetty.servlet.StatisticsServlet -| | | | +> -org.eclipse.jetty.servlet.listener. -| | | | +> -org.eclipse.jetty.servlets. -| | | | +> -org.eclipse.jetty.util.annotations. -| | | | +> -org.eclipse.jetty.websocket.api. -| | | | +> -org.eclipse.jetty.websocket.javax.client.JavaxWebSocketClientContainerProvider -| | | | +> -org.eclipse.jetty.websocket.javax.server.config. -| | | | +> -org.eclipse.jetty.websocket.server. -| | | | +> -org.eclipse.jetty.websocket.servlet. -| | | | +> org.eclipse.jdt. -| | | | +> org.eclipse.jetty. -| | | | +> org.eclipse.jetty.logging. -| | | | +> org.eclipse.jetty.server.config. -| | | | +> org.eclipse.jetty.server.internal. -| | | | +> org.eclipse.jetty.websocket.javax.server.internal -| | | | +> org.objectweb.asm. -| | | | +> org.slf4j. -| | | +> Configurations JAAS Test@1869fbd2 size=15 -| | | | +> org.eclipse.jetty.webapp.WebInfConfiguration -| | | | +> org.eclipse.jetty.webapp.WebXmlConfiguration -| | | | +> org.eclipse.jetty.webapp.MetaInfConfiguration -| | | | +> org.eclipse.jetty.webapp.FragmentConfiguration -| | | | +> org.eclipse.jetty.webapp.JaasConfiguration -| | | | +> org.eclipse.jetty.webapp.JndiConfiguration -| | | | +> org.eclipse.jetty.webapp.JspConfiguration -| | | | +> org.eclipse.jetty.websocket.javax.server.config.JavaxWebSocketConfiguration -| | | | +> org.eclipse.jetty.websocket.server.config.JettyWebSocketConfiguration -| | | | +> org.eclipse.jetty.webapp.WebAppConfiguration -| | | | +> org.eclipse.jetty.webapp.ServletsConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.EnvConfiguration -| | | | +> org.eclipse.jetty.plus.webapp.PlusConfiguration -| | | | +> org.eclipse.jetty.annotations.AnnotationConfiguration -| | | | +> org.eclipse.jetty.webapp.JettyWebXmlConfiguration -| | | +> Handler attributes JAAS Test@1869fbd2 size=7 -| | | | +> javax.servlet.context.tempdir=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jaas_war-_test-jaas-any- -| | | | +> org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/jetty-servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$ -| | | | +> org.eclipse.jetty.lifecyleCallbackCollection=org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection@1dcca8d3 -| | | | +> org.eclipse.jetty.webapp.tmpResourceBase=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jaas_war-_test-jaas-any-/webapp -| | | | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] -| | | | +> org.eclipse.jetty.injectionCollection=org.eclipse.jetty.plus.annotation.InjectionCollection@5631962 -| | | | +> org.apache.catalina.jsp_classpath=/home/user/my-base/work/jetty-0_0_0_0-8443-demo-jaas_war-_test-jaas-any-/webapp/WEB-INF/classes -| | | +> Context attributes JAAS Test@1869fbd2 size=8 -| | | | +> org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=3] -| | | | +> org.eclipse.jetty.websocket.api.WebSocketContainer=JettyWebSocketServerContainer@706cb08{STARTED} -| | | | +> resourceCache=ResourceCache[null,org.eclipse.jetty.servlet.DefaultServlet@52b6319f]@1386677799 -| | | | +> org.apache.tomcat.InstanceManager=org.apache.tomcat.SimpleInstanceManager@6124287a -| | | | +> org.eclipse.jetty.websocket.core.WebSocketComponents=WebSocketServerComponents@8a62297{STARTED} -| | | | +> javax.websocket.server.ServerContainer=JavaxWebSocketServerContainer@6b68cb27{STARTED} -| | | | +> org.eclipse.jetty.websocket.core.server.WebSocketMappings=org.eclipse.jetty.websocket.core.server.WebSocketMappings@60dd3c23 -| | | | +> org.apache.jasper.compiler.TldCache=org.apache.jasper.compiler.TldCache@19569ebd -| | | +> EventListeners o.e.j.w.WebAppContext@1869fbd2{JAAS Test,/test-jaas,file:///home/user/my-base/work/jetty-0_0_0_0-8443-demo-jaas_war-_test-jaas-any-/webapp/,AVAILABLE}{/home/user/my-base/webapps/demo-jaas.war} size=5 -| | | | +> JettyServerFrameHandlerFactory@45792847{STARTED} - STARTED -| | | | | +> java.util.concurrent.ConcurrentHashMap@0{size=0} -| | | | +> JettyWebSocketServerContainer@706cb08{STARTED} - STARTED -| | | | | += SessionTracker@4e25147a{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> JavaxWebSocketServerContainer@6b68cb27{STARTED} - STARTED -| | | | | += SessionTracker@675ffd1d{STARTED} - STARTED -| | | | | +> java.util.Collections$SetFromMap@0(size=0) -| | | | +> org.eclipse.jetty.servlet.listener.ELContextCleaner@56303475 -| | | | +> org.eclipse.jetty.servlet.listener.IntrospectorCleaner@30506c0d -| | | +> Initparams JAAS Test@1869fbd2 size=0 -| | += o.e.j.s.h.MovedContextHandler@632ceb35{/oldContextPath,null,AVAILABLE} - STARTED -| | += Redirector@4632cfc{STARTED} - STARTED -| | +> No ClassLoader -| | +> handler attributes o.e.j.s.h.MovedContextHandler@632ceb35{/oldContextPath,null,AVAILABLE} size=2 -| | | +> org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern=.*/jetty-servlet-api-[^/]*\.jar$|.*/javax.servlet.jsp.jstl-.*\.jar$|.*/org.apache.taglibs.taglibs-standard-impl-.*\.jar$ -| | | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] -| | +> context attributes o.e.j.s.h.MovedContextHandler@632ceb35{/oldContextPath,null,AVAILABLE} size=0 -| | +> initparams o.e.j.s.h.MovedContextHandler@632ceb35{/oldContextPath,null,AVAILABLE} size=0 -| += DefaultHandler@6e1f8469{STARTED} - STARTED -+= ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} - STARTED -| +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| +~ ScheduledExecutorScheduler@de3a06f{STARTED} - STARTED -| +- org.eclipse.jetty.io.ArrayByteBufferPool@10ec523c -| +- org.eclipse.jetty.server.AbstractConnector$1@2e380628 -| += HttpConnectionFactory@69fb6037[HTTP/1.1] - STARTED -| | +- HttpConfiguration@3b6c624{32768/8192,8192/8192,https://:0,[]} -| | +> customizers size=0 -| | +> formEncodedMethods size=2 -| | | +> POST -| | | +> PUT -| | +> outputBufferSize=32768 -| | +> outputAggregationSize=8192 -| | +> requestHeaderSize=8192 -| | +> responseHeaderSize=8192 -| | +> headerCacheSize=1024 -| | +> secureScheme=https -| | +> securePort=0 -| | +> idleTimeout=-1 -| | +> sendDateHeader=true -| | +> sendServerVersion=true -| | +> sendXPoweredBy=false -| | +> delayDispatchUntilContent=true -| | +> persistentConnectionsEnabled=true -| | +> maxErrorDispatches=10 -| | +> minRequestDataRate=0 -| | +> minResponseDataRate=0 -| | +> requestCookieCompliance=org.eclipse.jetty.http.CookieCompliance@5d1e09bc -| | +> responseCookieCompliance=org.eclipse.jetty.http.CookieCompliance@5d1e09bc -| | +> notifyRemoteAsyncErrors=true -| | +> relativeRedirectAllowed=false -| += SelectorManager@ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} - STARTED -| | += ManagedSelector@1eaf1e62{STARTED} id=0 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@c81fd12/SelectorProducer@62e6a3ec/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.180963791-06:00 - STARTED -| | | | +- SelectorProducer@62e6a3ec -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.180371329-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.180719288-06:00 size=0 -| | += ManagedSelector@5754de72{STARTED} id=1 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@31ee96f4/SelectorProducer@320494b6/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.181852504-06:00 - STARTED -| | | | +- SelectorProducer@320494b6 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.181259802-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.181625074-06:00 size=0 -| | += ManagedSelector@652ab8d9{STARTED} id=2 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@14fc5d40/SelectorProducer@51e0301d/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.182570454-06:00 - STARTED -| | | | +- SelectorProducer@51e0301d -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.18212479-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.182339266-06:00 size=0 -| | += ManagedSelector@47d7bfb3{STARTED} id=3 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@770b3be0/SelectorProducer@1eb6e1c/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.183255632-06:00 - STARTED -| | | | +- SelectorProducer@1eb6e1c -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.182822802-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.183043801-06:00 size=0 -| | += ManagedSelector@51dbd6e4{STARTED} id=4 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@2b8bd14b/SelectorProducer@5f13be1/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.183923207-06:00 - STARTED -| | | | +- SelectorProducer@5f13be1 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.183495266-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.183714712-06:00 size=0 -| | += ManagedSelector@5f303ecd{STARTED} id=5 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@50d3bf39/SelectorProducer@25a73de1/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.184567197-06:00 - STARTED -| | | | +- SelectorProducer@25a73de1 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.184219067-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.184366436-06:00 size=0 -| | += ManagedSelector@29852487{STARTED} id=6 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@771db12c/SelectorProducer@3afae281/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.185231916-06:00 - STARTED -| | | | +- SelectorProducer@3afae281 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.184816309-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.18501228-06:00 size=0 -| | += ManagedSelector@26ae880a{STARTED} id=7 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@260f2144/SelectorProducer@3c017078/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.185759465-06:00 - STARTED -| | | | +- SelectorProducer@3c017078 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.185480397-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.185621474-06:00 size=0 -| | += ManagedSelector@51827393{STARTED} id=8 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@3be4f71/SelectorProducer@5c645b43/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.186288778-06:00 - STARTED -| | | | +- SelectorProducer@5c645b43 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.18594154-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.186148001-06:00 size=0 -| | += ManagedSelector@6bd16207{STARTED} id=9 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@298d9a05/SelectorProducer@58399d82/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.186723722-06:00 - STARTED -| | | | +- SelectorProducer@58399d82 -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.186431057-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.186588666-06:00 size=0 -| | += ManagedSelector@26f96b85{STARTED} id=10 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@46d8f407/SelectorProducer@3c0036b/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.187168905-06:00 - STARTED -| | | | +- SelectorProducer@3c0036b -| | | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | | +> updates @ 2020-12-02T10:49:32.18687068-06:00 size=0 -| | | +> keys @ 2020-12-02T10:49:32.187033689-06:00 size=0 -| | += ManagedSelector@17814b1c{STARTED} id=11 keys=0 selected=0 updates=0 - STARTED -| | += EatWhatYouKill@7ac9af2a/SelectorProducer@7bb004b8/PRODUCING/p=false/QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-12-02T10:49:32.187565065-06:00 - STARTED -| | | +- SelectorProducer@7bb004b8 -| | | +~ QueuedThreadPool[qtp815992954]@30a3107a{STARTED,10<=33<=200,i=0,r=20,q=0}[ReservedThreadExecutor@6a4d7f76{s=0/20,p=0}] - STARTED -| | +> updates @ 2020-12-02T10:49:32.187307968-06:00 size=0 -| | +> keys @ 2020-12-02T10:49:32.187452382-06:00 size=0 -| +- sun.nio.ch.ServerSocketChannelImpl[/[0:0:0:0:0:0:0:0]:8080] -| +- qtp815992954-60-acceptor-0@4c1bfff-ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} -| +- qtp815992954-61-acceptor-1@41da2368-ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} -| +- qtp815992954-62-acceptor-2@33edc3bc-ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} -| +- qtp815992954-63-acceptor-3@39a862d4-ServerConnector@a064117{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} -+= ErrorHandler@78e89bfe{STARTED} - STARTED -+= InflaterPool@652ce654{STARTED,size=0,capacity=200} - STARTED -+= DeflaterPool@522ba524{STARTED,size=0,capacity=200} - STARTED -+= WebSocketServerComponents@8a62297{STARTED} - STARTED -| +~ InflaterPool@652ce654{STARTED,size=0,capacity=200} - STARTED -| +~ DeflaterPool@522ba524{STARTED,size=0,capacity=200} - STARTED -+= DefaultSessionIdManager@6fca2a8f{STARTED}[worker=node0] - STARTED -| += HouseKeeper@29c5ee1d{STARTED}[interval=600000, ownscheduler=false] - STARTED -+> startJarLoader@3d012ddd - +> URLs size=52 - | +> file:/home/user/my-base/resources/ - | +> file:/home/user/jetty-home-{VERSION}/lib/logging/slf4j-api-2.0.0-alpha1.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/logging/jetty-slf4j-impl-{VERSION}.jar - | +> file:/home/user/my-base/lib/ext/demo-mock-resources-{VERSION}.jar - | +> file:/home/user/my-base/lib/ext/jakarta.transaction-api-1.3.2.jar - | +> file:/home/user/my-base/lib/ext/javax.mail.glassfish-1.4.1.v201005082020.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-servlet-api-4.0.5.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-http-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-server-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-xml-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-util-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-io-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-alpn-java-server-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-alpn-client-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-alpn-server-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-jndi-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-security-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-servlet-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-webapp-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-plus-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jakarta.transaction-api-1.3.2.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-annotations-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/annotations/asm-9.0.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/annotations/asm-analysis-9.0.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/annotations/asm-commons-9.0.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/annotations/asm-tree-9.0.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/annotations/jakarta.annotation-api-1.3.5.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/apache-jsp/org.eclipse.jdt.ecj-3.19.0.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/apache-jsp/org.eclipse.jetty.apache-jsp-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/apache-jsp/org.mortbay.jasper.apache-el-9.0.29.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/apache-jsp/org.mortbay.jasper.apache-jsp-9.0.29.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.5.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.5.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-client-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-deploy-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-jaas-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-servlets-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-core-common-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-core-client-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-core-server-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-servlet-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/jetty-javax-websocket-api-1.1.2.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-javax-client-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-javax-common-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-javax-server-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-jetty-api-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-jetty-common-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/websocket/websocket-jetty-server-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/jetty-rewrite-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/http2/http2-common-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/http2/http2-hpack-{VERSION}.jar - | +> file:/home/user/jetty-home-{VERSION}/lib/http2/http2-server-{VERSION}.jar - +> jdk.internal.loader.ClassLoaders$AppClassLoader@5bc2b487 - +> packages size=4 - | +> package org.eclipse.jetty.start.config - | +> package org.eclipse.jetty.start.builders - | +> package org.eclipse.jetty.start.shaded.util - | +> package org.eclipse.jetty.start - +> jdk.internal.loader.ClassLoaders$PlatformClassLoader@48b22fd4 - +> packages size=13 - +> package sun.security.ec - +> package java.sql - +> package sun.security.jgss - +> package com.sun.security.sasl.gsskerb - +> package sun.util.resources.provider - +> package org.jcp.xml.dsig.internal.dom - +> package sun.util.resources.cldr.provider - +> package sun.security.smartcardio - +> package javax.sql - +> package sun.security.ec.point - +> package sun.security.pkcs11.wrapper - +> package com.sun.jndi.dns - +> package sun.security.pkcs11 -key: +- bean, += managed, +~ unmanaged, +? auto, +: iterable, +] array, +@ map, +> undefined -.... diff --git a/jetty-documentation/src/main/asciidoc/old_docs/logging/jetty-server-dump.adoc b/jetty-documentation/src/main/asciidoc/old_docs/logging/jetty-server-dump.adoc deleted file mode 100644 index 33e48d71930..00000000000 --- a/jetty-documentation/src/main/asciidoc/old_docs/logging/jetty-server-dump.adoc +++ /dev/null @@ -1,211 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. -// -// This program and the accompanying materials are made available under the -// terms of the Eclipse Public License v. 2.0 which is available at -// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 -// which is available at https://www.apache.org/licenses/LICENSE-2.0. -// -// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -// ======================================================================== -// - -[[jetty-server-dump]] -=== Jetty Server Dump - -The dump feature in Jetty provides a snapshot of the bean containment tree of the main Jetty components together with a summary of their configuration.This includes threadpool, connectors, contexts, webapplications, servlets and so forth. - -[[configuring-dump-feature]] -==== Configuring the Jetty Server Dump - -You can request that Jetty do a dump immediately after starting and just before stopping by calling the appropriate setters on the `Server` instance. -This functionality can be enabled using two properties to control this behaviour which are referenced in `jetty.xml` to call these setters. -```java -jetty.server.dumpAfterStart=true -jetty.server.dumpBeforeStop=true -``` - -The server dump can be temporarily enabled by supplying either of these properties as command line arguments, -or they can be enabled via the `server.ini` file (see xref:quick-start-configure[]). -``` shell -$ java -jar $JETTY_HOME/start.jar jetty.server.dumpAfterStart=true jetty.server.dumpBeforeStop=true -``` - -[[extra-threadpool-info]] -==== Extra ThreadPool Information - -To get maximum detail from the `QueuedThreadPool` in the dump, you need to enable a detailed dump on any instances of `QueuedThreadPool` you are using. -This extra detail in the detailed dump consists of full stack traces for every running thread, and a list of queued jobs waiting to be run. - -This can be enabled using the `threadpool` module and configuring the `jetty.threadPool.detailedDump` property. -See xref:startup-modules[] for information on how to enable a module. -This same property can also be set via the command line the same as the server dump property. - -[[dump-tool-via-jmx]] -==== Using the Dump Feature via JMX - -The `dump` method is on the Server instance and many of its nested components (Handlers, Connectors, and so forth). -Dumps may be obtained by calling these methods either in code or via JMX (see xref:using-jmx[]). - -The Server MBean has a `dump()` method, which dumps everything, plus a `dumpStdErr()` operation that dumps to StdErr rather than replying to JConsole. - -[[examing-jetty-distro-dump]] -==== Explanation of the Dump Key - -- `+- bean` is a java POJO that is contained by the parent object as a bean added with the addBean method. -- `+= managed` is a bean that is also a LifeCycle that is started and stopped with the parent object. -- `+~ unmanaged` is a bean that is also a LifeCycle that is started and stopped with the parent object. It is typically shared with other objects (hence its children are not dumped). -- `+? auto` is a bean that has been added to an unstarted parent. If it is a LifeCycle that is not started when the parent is started, then it is started and becomes a managed bean, otherwise it becomes either unmanaged or just a bean. -- `+: iterable` is an object that is contained within an iterable field of the parent (eg a list, set etc). -- `+] array` is an object that is contained within an array field of the parent. -- `+@ map` is an object that is contained within an map field of the parent. -- `+> undefined` is an object that is contained within the parent by an undefined relationship. - -==== Jetty Server Dump Example - -This is a dump of the OneServletContext embedded example with extra threadpool information: - -.... -Server@59906517{STARTED}[9.4.32-SNAPSHOT] - STARTED -+= QueuedThreadPool[qtp488044861]@1d16f93d{STARTED,8<=8<=200,i=2,r=4,q=0}[ReservedThreadExecutor@16267862{s=2/4,p=0}] - STARTED -| += ReservedThreadExecutor@16267862{s=2/4,p=0} - STARTED -| +> threads size=8 -| | +> qtp488044861-13 RUNNABLE tid=13 prio=5 SELECTING -| | +> qtp488044861-15-acceptor-0@296e0338-ServerConnector@1e6d1014{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} RUNNABLE tid=15 prio=3 ACCEPTING -| | +> qtp488044861-17 TIMED_WAITING tid=17 prio=5 RESERVED -| | +> qtp488044861-19 RUNNABLE tid=19 prio=5 -| | | +> app//org.eclipse.jetty.http.pathmap.PathMappings.getMatch(PathMappings.java:130) -| | | +> app//org.eclipse.jetty.servlet.ServletHandler.getMappedServlet(ServletHandler.java:591) -| | | +> app//org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:474) -| | | +> app//org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582) -| | | +> app//org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) -| | | +> app//org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) -| | | +> app//org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) -| | | +> app//org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) -| | | +> app//org.eclipse.jetty.server.Server.handle(Server.java:516) -| | | +> app//org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) -| | | +> app//org.eclipse.jetty.server.HttpChannel$$Lambda$102/0x000000010016d440.dispatch(Unknown Source) -| | | +> app//org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) -| | | +> app//org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) -| | | +> app//org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) -| | | +> app//org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) -| | | +> app//org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) -| | | +> app//org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) -| | | +> app//org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) -| | | +> app//org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) -| | | +> app//org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) -| | | +> app//org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) -| | | +> app//org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) -| | | +> app//org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773) -| | | +> app//org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905) -| | | +> java.base@11.0.5/java.lang.Thread.run(Thread.java:834) -| | +> qtp488044861-16 TIMED_WAITING tid=16 prio=5 RESERVED -| | +> qtp488044861-21 RUNNABLE tid=21 prio=5 SELECTING -| | +> qtp488044861-18 TIMED_WAITING tid=18 prio=5 IDLE -| | +> qtp488044861-14 TIMED_WAITING tid=14 prio=5 IDLE -| +> jobs size=0 -+= ServerConnector@1e6d1014{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} - STARTED -| +~ Server@59906517{STARTED}[9.4.32-SNAPSHOT] - STARTED -| +~ QueuedThreadPool[qtp488044861]@1d16f93d{STARTED,8<=8<=200,i=2,r=4,q=0}[ReservedThreadExecutor@16267862{s=2/4,p=0}] - STARTED -| += ScheduledExecutorScheduler@453da22c{STARTED} - STARTED -| | +> java.base@11.0.5/jdk.internal.misc.Unsafe.park(Native Method) -| | +> java.base@11.0.5/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234) -| | +> java.base@11.0.5/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123) -| | +> java.base@11.0.5/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182) -| | +> java.base@11.0.5/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899) -| | +> java.base@11.0.5/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054) -| | +> java.base@11.0.5/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114) -| | +> java.base@11.0.5/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) -| | +> java.base@11.0.5/java.lang.Thread.run(Thread.java:834) -| +- org.eclipse.jetty.io.ArrayByteBufferPool@71248c21 -| += HttpConnectionFactory@3fd7a715[HTTP/1.1] - STARTED -| | +- HttpConfiguration@442675e1{32768/8192,8192/8192,https://:0,[]} -| | +> customizers size=0 -| | +> formEncodedMethods size=2 -| | | +> POST -| | | +> PUT -| | +> outputBufferSize=32768 -| | +> outputAggregationSize=8192 -| | +> requestHeaderSize=8192 -| | +> responseHeaderSize=8192 -| | +> headerCacheSize=1024 -| | +> secureScheme=https -| | +> securePort=0 -| | +> idleTimeout=-1 -| | +> blockingTimeout=-1 -| | +> sendDateHeader=true -| | +> sendServerVersion=true -| | +> sendXPoweredBy=false -| | +> delayDispatchUntilContent=true -| | +> persistentConnectionsEnabled=true -| | +> maxErrorDispatches=10 -| | +> minRequestDataRate=0 -| | +> minResponseDataRate=0 -| | +> cookieCompliance=RFC6265 -| | +> setRequestCookieCompliance=RFC6265 -| | +> notifyRemoteAsyncErrors=true -| | +> relativeRedirectAllowed=false -| += SelectorManager@ServerConnector@1e6d1014{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} - STARTED -| | += ManagedSelector@38364841{STARTED} id=0 keys=0 selected=0 updates=0 - STARTED -| | | += EatWhatYouKill@28c4711c/SelectorProducer@59717824/PRODUCING/p=false/QueuedThreadPool[qtp488044861]@1d16f93d{STARTED,8<=8<=200,i=2,r=4,q=0}[ReservedThreadExecutor@16267862{s=2/4,p=0}][pc=0,pic=0,pec=0,epc=0]@2020-09-04T10:57:20.077669+10:00 - STARTED -| | | | +- SelectorProducer@59717824 -| | | | +~ QueuedThreadPool[qtp488044861]@1d16f93d{STARTED,8<=8<=200,i=2,r=4,q=0}[ReservedThreadExecutor@16267862{s=2/4,p=0}] - STARTED -| | | +> updates @ 2020-09-04T10:57:20.058489+10:00 size=0 -| | | +> keys @ 2020-09-04T10:57:20.061714+10:00 size=0 -| | += ManagedSelector@146044d7{STARTED} id=1 keys=1 selected=0 updates=0 - STARTED -| | += EatWhatYouKill@1e9e725a/SelectorProducer@15d9bc04/PRODUCING/p=false/QueuedThreadPool[qtp488044861]@1d16f93d{STARTED,8<=8<=200,i=2,r=4,q=0}[ReservedThreadExecutor@16267862{s=2/4,p=0}][pc=0,pic=0,pec=1,epc=14]@2020-09-04T10:57:20.082696+10:00 - STARTED -| | | +- SelectorProducer@15d9bc04 -| | | +~ QueuedThreadPool[qtp488044861]@1d16f93d{STARTED,8<=8<=200,i=2,r=4,q=0}[ReservedThreadExecutor@16267862{s=2/4,p=0}] - STARTED -| | +> updates @ 2020-09-04T10:57:20.078661+10:00 size=0 -| | +> keys @ 2020-09-04T10:57:20.082035+10:00 size=1 -| | +> SelectionKey@74bb45ed{i=0}->SocketChannelEndPoint@569ef11f{l=/127.0.0.1:8080,r=/127.0.0.1:58702,OPEN,fill=-,flush=-,to=3/30000}{io=0/0,kio=0,kro=1}->HttpConnection@25b03990[p=HttpParser{s=CONTENT,0 of -1},g=HttpGenerator@218fb9fe{s=START}]=>HttpChannelOverHttp@648d33ab{s=HttpChannelState@717b7e16{s=HANDLING rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=54,c=false/false,a=HANDLING,uri=//localhost:8080/,age=4} -| +- sun.nio.ch.ServerSocketChannelImpl[/0:0:0:0:0:0:0:0:8080] -| +- qtp488044861-15-acceptor-0@296e0338-ServerConnector@1e6d1014{HTTP/1.1, (http/1.1)}{0.0.0.0:8080} -+= AttributeContainerMap@473b46c3{size=0} - STARTED -+= o.e.j.s.ServletContextHandler@3ffcd140{/,file:///tmp/,AVAILABLE} - STARTED -| += org.eclipse.jetty.server.session.SessionHandler1089504328==dftMaxIdleSec=-1 - STARTED -| | += ServletHandler@516be40f{STARTED} - STARTED -| | | +> listeners ServletHandler@516be40f{STARTED} size=2 -| | | | +> ListenerHolder@3c0a50da{STARTED}: org.eclipse.jetty.demos.OneServletContext$InitListener - STARTED -| | | | +> ListenerHolder@646be2c3{STARTED}: org.eclipse.jetty.demos.OneServletContext$RequestListener - STARTED -| | | +> filters ServletHandler@516be40f{STARTED} size=2 -| | | | +> org.eclipse.jetty.demos.OneServletContext$TestFilter-e874448@e874448==org.eclipse.jetty.demos.OneServletContext$TestFilter,inst=true,async=true - STARTED -| | | | | +> org.eclipse.jetty.demos.OneServletContext$TestFilter@797badd3 -| | | | +> org.eclipse.jetty.demos.OneServletContext$TestFilter-60285225@60285225==org.eclipse.jetty.demos.OneServletContext$TestFilter,inst=true,async=true - STARTED -| | | | +> org.eclipse.jetty.demos.OneServletContext$TestFilter@77be656f -| | | +> filterMappings ServletHandler@516be40f{STARTED} size=2 -| | | | +> [/test/*]/[]/[REQUEST]=>org.eclipse.jetty.demos.OneServletContext$TestFilter-e874448 -| | | | +> [*.test]/[]/[ASYNC, REQUEST]=>org.eclipse.jetty.demos.OneServletContext$TestFilter-60285225 -| | | +> servlets ServletHandler@516be40f{STARTED} size=3 -| | | | +> org.eclipse.jetty.demos.HelloServlet-58c1670b@d20bf05b==org.eclipse.jetty.demos.HelloServlet,jsp=null,order=-1,inst=false,async=true - STARTED -| | | | | +> class org.eclipse.jetty.demos.HelloServlet -| | | | +> debug@5b09653==org.eclipse.jetty.demos.DumpServlet,jsp=null,order=-1,inst=false,async=true - STARTED -| | | | | +> class org.eclipse.jetty.demos.DumpServlet -| | | | +> org.eclipse.jetty.servlet.DefaultServlet-6b9651f3@8eb381d1==org.eclipse.jetty.servlet.DefaultServlet,jsp=null,order=-1,inst=true,async=true - STARTED -| | | | +> org.eclipse.jetty.servlet.DefaultServlet@78a2da20 -| | | +> servletMappings ServletHandler@516be40f{STARTED} size=4 -| | | +> [/hello/*]=>org.eclipse.jetty.demos.HelloServlet-58c1670b -| | | +> [/dump/*]=>debug -| | | +> [*.dump]=>debug -| | | +> [/]=>org.eclipse.jetty.servlet.DefaultServlet-6b9651f3 -| | += org.eclipse.jetty.server.session.DefaultSessionCache@dd3b207[evict=-1,removeUnloadable=false,saveOnCreate=false,saveOnInactiveEvict=false] - STARTED -| | | += org.eclipse.jetty.server.session.NullSessionDataStore@551bdc27[passivating=false,graceSec=3600] - STARTED -| | +~ DefaultSessionIdManager@58fdd99{STARTED}[worker=node0] - STARTED -| +> No ClassLoader -| +> eventListeners o.e.j.s.ServletContextHandler@3ffcd140{/,file:///tmp/,AVAILABLE} size=2 -| | +> org.eclipse.jetty.demos.OneServletContext$InitListener@6b1274d2 -| | +> org.eclipse.jetty.demos.OneServletContext$RequestListener@7bc1a03d -| +> handler attributes o.e.j.s.ServletContextHandler@3ffcd140{/,file:///tmp/,AVAILABLE} size=1 -| | +> org.eclipse.jetty.server.Executor=QueuedThreadPool[qtp488044861]@1d16f93d{STARTED,8<=8<=200,i=2,r=4,q=0}[ReservedThreadExecutor@16267862{s=2/4,p=0}] -| +> context attributes o.e.j.s.ServletContextHandler@3ffcd140{/,file:///tmp/,AVAILABLE} size=2 -| | +> org.eclipse.jetty.util.DecoratedObjectFactory=org.eclipse.jetty.util.DecoratedObjectFactory[decorators=1] -| | +> X-Init=true -| +> initparams o.e.j.s.ServletContextHandler@3ffcd140{/,file:///tmp/,AVAILABLE} size=0 -+= ErrorHandler@ba8d91c{STARTED} - STARTED -+= DefaultSessionIdManager@58fdd99{STARTED}[worker=node0] - STARTED -| += HouseKeeper@60438a68{STARTED}[interval=660000, ownscheduler=true] - STARTED -+> jdk.internal.loader.ClassLoaders$AppClassLoader@2c13da15 - +> jdk.internal.loader.ClassLoaders$PlatformClassLoader@7364985f -key: +- bean, += managed, +~ unmanaged, +? auto, +: iterable, +] array, +@ map, +> undefined -.... diff --git a/jetty-documentation/src/main/asciidoc/old_docs/websockets/intro/chapter.adoc b/jetty-documentation/src/main/asciidoc/old_docs/websockets/intro/chapter.adoc deleted file mode 100644 index b16fff3b236..00000000000 --- a/jetty-documentation/src/main/asciidoc/old_docs/websockets/intro/chapter.adoc +++ /dev/null @@ -1,119 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. -// -// This program and the accompanying materials are made available under the -// terms of the Eclipse Public License v. 2.0 which is available at -// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 -// which is available at https://www.apache.org/licenses/LICENSE-2.0. -// -// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -// ======================================================================== -// - -[[websocket-intro]] -== WebSocket Introduction - -WebSocket is a new protocol for bidirectional communications initiated via HTTP/1.1 upgrade and providing basic message framing, layered over TCP. -It is based on a low-level framing protocol that delivers messages in either UTF-8 TEXT or BINARY format. - -A single message in WebSocket can be of any size (the underlying framing however does have a single frame limit of http://en.wikipedia.org/wiki/9223372036854775807[63-bits]). -There can be an unlimited number of messages sent. -Messages are sent sequentially, the base protocol does not support interleaved messages. - -A WebSocket connection goes through some basic state changes: - -.WebSocket connection states -[width="50%",cols=",",options="header",] -|======================================================================= -|State |Description -|CONNECTING |A HTTP Upgrade to WebSocket is in progress -|OPEN |The HTTP Upgrade succeeded and the socket is now open and ready to read / write -|CLOSING |A WebSocket Close Handshake has been started -|CLOSED |WebSocket is now closed, no more read/write possible -|======================================================================= - -When a WebSocket is closed, a link:{JDURL}/org/eclipse/jetty/websocket/api/StatusCode.html[status code] and short reason string is provided. - -[[ws-intro-provides]] -=== What Jetty provides - -Jetty provides an implementation of the following standards and specs. - -http://tools.ietf.org/html/rfc6455[RFC-6455]:: - The WebSocket Protocol -+ -We support the version 13 of the released and final spec. -+ -Jetty tests its WebSocket protocol implementation using the http://autobahn.ws/testsuite[autobahn testsuite]. - -____ -[IMPORTANT] -The early drafts of WebSocket were supported in Jetty 7 and Jetty 8, but this support has been removed in Jetty 9. -This means that Jetty 9 will not support the old browsers that implemented the early drafts of WebSocket. (such as Safari 5.0 or Opera 12) -____ - -____ -[TIP] -Want to know if the browser you are targeting supports WebSocket? -Use http://caniuse.com/websockets[caniuse.com/websockets] to find out. -____ - -http://www.jcp.org/en/jsr/detail?id=356[JSR-356]:: - The Java WebSocket API (`javax.websocket`) -+ -This is the official Java API for working with WebSockets. - -Unstable standards and specs: - -https://datatracker.ietf.org/doc/draft-ietf-hybi-websocket-perframe-compression/[perframe-compression]:: - Per Frame Compression Extension. -+ -An early extension draft from the Google/Chromium team that would provide WebSocket frame compression. -perframe-compression using deflate algorithm is present on many versions of Chrome/Chromium. -+ -Jetty's support for perframe-compression is based on the draft-04 spec. -This standard is being replaced with permessage-compression. - -https://datatracker.ietf.org/doc/draft-tyoshino-hybi-permessage-compression/[permessage-compression]:: - Per Frame Compression Extension. -+ -This is the replacement for perframe-compression, switching the compression to being based on the entire message, not the individual frames. - -[[ws-intro-api]] -=== WebSocket APIs - -APIs and libraries to implement your WebSockets using Jetty. - -Jetty WebSocket API:: - The basic common API for creating and working with WebSockets using Jetty. -Jetty WebSocket Server API:: - Write WebSocket Server Endpoints for Jetty. -Jetty WebSocket Client API:: - Connect to WebSocket servers with Jetty. -Java WebSocket Client API:: - The new standard Java WebSocket Client API (`javax.websocket`) [JSR-356] -Java WebSocket Server API:: - The new standard Java WebSocket Server API (`javax.websocket.server`) [JSR-356] - -=== Enabling WebSocket - -To enable Websocket, you need to enable the `websocket` link:#enabling-modules[module]. - -Once this module is enabled for your Jetty base, it will apply to all webapps deployed to that base. If you want to be more selective about which webapps use Websocket, then you can: - -Disable Websocket for a particular webapp::: - You can disable jsr-356 for a particular webapp by setting the link:#context_attributes[context attribute] `org.eclipse.jetty.websocket.javax` to `false`. - This will mean that websockets are not available to your webapp, however deployment time scanning for websocket-related classes such as endpoints will still occur. - This can be a significant impost if your webapp contains a lot of classes and/or jar files. - To completely disable websockets and avoid all setup costs associated with it for a particular webapp, use instead the context attribute `org.eclipse.jetty.containerInitializerExclusionPattern`, described next, which allows you to exclude the websocket ServletContainerInitializer that causes the scanning. -Completely disable Websocket for a particular webapp::: - Set the `org.eclipse.jetty.containerInitializerExclusionPattern` link:#context_attributes[context attribute] to include `org.eclipse.jetty.websocket.javax.server.JavaxWebSocketServletContainerInitializer`. - Here's an example of doing this in code, although you can do the link:#intro-jetty-configuration-webapps[same in xml]: -+ -[source, java, subs="{sub-order}"] ----- -WebAppContext context = new WebAppContext(); -context.setAttribute("org.eclipse.jetty.containerInitializerExclusionPattern", - "org.eclipse.jetty.websocket.javax.server.JavaxWebSocketServletContainerInitializer|com.acme.*"); ----- diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-bytebufferpool.adoc b/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-bytebufferpool.adoc deleted file mode 100644 index 1fcf034f4a2..00000000000 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-bytebufferpool.adoc +++ /dev/null @@ -1,29 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. -// -// This program and the accompanying materials are made available under the -// terms of the Eclipse Public License v. 2.0 which is available at -// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 -// which is available at https://www.apache.org/licenses/LICENSE-2.0. -// -// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -// ======================================================================== -// - -[[og-module-bytebufferpool]] -==== Module `bytebufferpool` - -The `bytebufferpool` module allows you to configure the server-wide `ByteBuffer` pool. - -// TODO: expand - -The module file is `$JETTY_HOME/modules/bytebufferpool.mod`: - ----- -include::{JETTY_HOME}/modules/bytebufferpool.mod[] ----- - -Among the configurable properties, the most relevant are: - -TODO diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-threadpool.adoc b/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-threadpool.adoc deleted file mode 100644 index 062a0806438..00000000000 --- a/jetty-documentation/src/main/asciidoc/operations-guide/modules/module-threadpool.adoc +++ /dev/null @@ -1,29 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. -// -// This program and the accompanying materials are made available under the -// terms of the Eclipse Public License v. 2.0 which is available at -// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 -// which is available at https://www.apache.org/licenses/LICENSE-2.0. -// -// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -// ======================================================================== -// - -[[og-module-threadpool]] -==== Module `threadpool` - -The `threadpool` module allows you to configure the server-wide thread pool. - -// TODO: thread pool per connector should be documented here? - -The module file is `$JETTY_HOME/modules/threadpool.mod`: - ----- -include::{JETTY_HOME}/modules/threadpool.mod[] ----- - -Among the configurable properties, the most relevant are: - -TODO diff --git a/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/chapter.adoc b/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/chapter.adoc deleted file mode 100644 index 434088e0fc8..00000000000 --- a/jetty-documentation/src/main/asciidoc/operations-guide/troubleshooting/chapter.adoc +++ /dev/null @@ -1,18 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. -// -// This program and the accompanying materials are made available under the -// terms of the Eclipse Public License v. 2.0 which is available at -// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 -// which is available at https://www.apache.org/licenses/LICENSE-2.0. -// -// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 -// ======================================================================== -// - -[[og-troubleshooting]] -=== Eclipse Jetty Troubleshooting - -// TODO: see old docs under troubleshooting/* -TODO diff --git a/jetty-fcgi/fcgi-client/src/main/java/module-info.java b/jetty-fcgi/fcgi-client/src/main/java/module-info.java index a63e8190b09..56a688dc46d 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/module-info.java +++ b/jetty-fcgi/fcgi-client/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/FCGI.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/FCGI.java index 92532884a96..baef358e5a3 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/FCGI.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/FCGI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpChannelOverFCGI.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpChannelOverFCGI.java index 7d15d2dca1d..1142e1d8287 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpChannelOverFCGI.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpChannelOverFCGI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpClientTransportOverFCGI.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpClientTransportOverFCGI.java index 86c9459b982..a33fa967e10 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpClientTransportOverFCGI.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpClientTransportOverFCGI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpConnectionOverFCGI.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpConnectionOverFCGI.java index 470292b3b87..e57306b6887 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpConnectionOverFCGI.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpConnectionOverFCGI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpReceiverOverFCGI.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpReceiverOverFCGI.java index 42eebe4514c..29d28414efc 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpReceiverOverFCGI.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpReceiverOverFCGI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpSenderOverFCGI.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpSenderOverFCGI.java index f561f87cd85..0b025189ebd 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpSenderOverFCGI.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/client/http/HttpSenderOverFCGI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/ClientGenerator.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/ClientGenerator.java index e16259bb060..9d7ff87b579 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/ClientGenerator.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/ClientGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/Flusher.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/Flusher.java index 38c1b8463c5..859fb8db96d 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/Flusher.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/Flusher.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/Generator.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/Generator.java index 9ddc38f61a1..81267c5660c 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/Generator.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/Generator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/ServerGenerator.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/ServerGenerator.java index ee46d77e211..b38f5d6043d 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/ServerGenerator.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/generator/ServerGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/BeginRequestContentParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/BeginRequestContentParser.java index 2e0bf8e23c3..ad4cb9a2aef 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/BeginRequestContentParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/BeginRequestContentParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ClientParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ClientParser.java index bcbc5fc31ae..73c8f933d64 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ClientParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ClientParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ContentParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ContentParser.java index bfea952136d..add250b90d5 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ContentParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ContentParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/EndRequestContentParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/EndRequestContentParser.java index fe240418325..212eb200f7e 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/EndRequestContentParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/EndRequestContentParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/HeaderParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/HeaderParser.java index 1b107d95e9d..6ffb9fd5ffa 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/HeaderParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/HeaderParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ParamsContentParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ParamsContentParser.java index 886ae5eb466..41056c7d27f 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ParamsContentParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ParamsContentParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/Parser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/Parser.java index a9544cf8fe3..5db5a6ec9d9 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/Parser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/Parser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ResponseContentParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ResponseContentParser.java index d6c36ebaa41..d1a34250e85 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ResponseContentParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ResponseContentParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ServerParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ServerParser.java index d3f16c721eb..7d95f23e278 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ServerParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/ServerParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/StreamContentParser.java b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/StreamContentParser.java index c039215780b..815d41bf775 100644 --- a/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/StreamContentParser.java +++ b/jetty-fcgi/fcgi-client/src/main/java/org/eclipse/jetty/fcgi/parser/StreamContentParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/test/java/org/eclipse/jetty/fcgi/generator/ClientGeneratorTest.java b/jetty-fcgi/fcgi-client/src/test/java/org/eclipse/jetty/fcgi/generator/ClientGeneratorTest.java index efcace4af55..e5b776fd354 100644 --- a/jetty-fcgi/fcgi-client/src/test/java/org/eclipse/jetty/fcgi/generator/ClientGeneratorTest.java +++ b/jetty-fcgi/fcgi-client/src/test/java/org/eclipse/jetty/fcgi/generator/ClientGeneratorTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-client/src/test/java/org/eclipse/jetty/fcgi/parser/ClientParserTest.java b/jetty-fcgi/fcgi-client/src/test/java/org/eclipse/jetty/fcgi/parser/ClientParserTest.java index a909d9a5726..765283f1c91 100644 --- a/jetty-fcgi/fcgi-client/src/test/java/org/eclipse/jetty/fcgi/parser/ClientParserTest.java +++ b/jetty-fcgi/fcgi-client/src/test/java/org/eclipse/jetty/fcgi/parser/ClientParserTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/main/java/module-info.java b/jetty-fcgi/fcgi-server/src/main/java/module-info.java index 190ccda8b22..f2556a3b90a 100644 --- a/jetty-fcgi/fcgi-server/src/main/java/module-info.java +++ b/jetty-fcgi/fcgi-server/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/HttpChannelOverFCGI.java b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/HttpChannelOverFCGI.java index b27668c5f1d..3d9df9e3ad3 100644 --- a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/HttpChannelOverFCGI.java +++ b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/HttpChannelOverFCGI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/HttpTransportOverFCGI.java b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/HttpTransportOverFCGI.java index d28eaf3000c..9603f4367b3 100644 --- a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/HttpTransportOverFCGI.java +++ b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/HttpTransportOverFCGI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/ServerFCGIConnection.java b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/ServerFCGIConnection.java index 67d1821ecda..ce7d84e7c02 100644 --- a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/ServerFCGIConnection.java +++ b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/ServerFCGIConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/ServerFCGIConnectionFactory.java b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/ServerFCGIConnectionFactory.java index 30e3d438a12..74155d33943 100644 --- a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/ServerFCGIConnectionFactory.java +++ b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/ServerFCGIConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/proxy/FastCGIProxyServlet.java b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/proxy/FastCGIProxyServlet.java index 52f9fa0db9d..a543c22df22 100644 --- a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/proxy/FastCGIProxyServlet.java +++ b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/proxy/FastCGIProxyServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/proxy/TryFilesFilter.java b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/proxy/TryFilesFilter.java index b5cd018fe54..e38e83967b6 100644 --- a/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/proxy/TryFilesFilter.java +++ b/jetty-fcgi/fcgi-server/src/main/java/org/eclipse/jetty/fcgi/server/proxy/TryFilesFilter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/AbstractHttpClientServerTest.java b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/AbstractHttpClientServerTest.java index c077e757283..128bcd7b07c 100644 --- a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/AbstractHttpClientServerTest.java +++ b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/AbstractHttpClientServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/EmptyServerHandler.java b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/EmptyServerHandler.java index 5a50bb24901..1d1e1166814 100644 --- a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/EmptyServerHandler.java +++ b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/EmptyServerHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/ExternalFastCGIServerTest.java b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/ExternalFastCGIServerTest.java index f1923942a28..1dd4b95e30c 100644 --- a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/ExternalFastCGIServerTest.java +++ b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/ExternalFastCGIServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/HttpClientTest.java b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/HttpClientTest.java index bfbb1e0fb02..b45ac747af6 100644 --- a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/HttpClientTest.java +++ b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/HttpClientTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/DrupalHTTP2FastCGIProxyServer.java b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/DrupalHTTP2FastCGIProxyServer.java index 21cf22e98b0..a606ac1fbb7 100644 --- a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/DrupalHTTP2FastCGIProxyServer.java +++ b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/DrupalHTTP2FastCGIProxyServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/FastCGIProxyServletTest.java b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/FastCGIProxyServletTest.java index 8ba897281eb..6df325b4731 100644 --- a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/FastCGIProxyServletTest.java +++ b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/FastCGIProxyServletTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/TryFilesFilterTest.java b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/TryFilesFilterTest.java index 8877ff56e61..a097477565c 100644 --- a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/TryFilesFilterTest.java +++ b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/TryFilesFilterTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/WordPressHTTP2FastCGIProxyServer.java b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/WordPressHTTP2FastCGIProxyServer.java index d53cc8251db..acd36e10a81 100644 --- a/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/WordPressHTTP2FastCGIProxyServer.java +++ b/jetty-fcgi/fcgi-server/src/test/java/org/eclipse/jetty/fcgi/server/proxy/WordPressHTTP2FastCGIProxyServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-gcloud/jetty-gcloud-session-manager/src/main/java/org/eclipse/jetty/gcloud/session/GCloudSessionDataStore.java b/jetty-gcloud/jetty-gcloud-session-manager/src/main/java/org/eclipse/jetty/gcloud/session/GCloudSessionDataStore.java index b1a5dd5d62d..541116e1c12 100644 --- a/jetty-gcloud/jetty-gcloud-session-manager/src/main/java/org/eclipse/jetty/gcloud/session/GCloudSessionDataStore.java +++ b/jetty-gcloud/jetty-gcloud-session-manager/src/main/java/org/eclipse/jetty/gcloud/session/GCloudSessionDataStore.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-gcloud/jetty-gcloud-session-manager/src/main/java/org/eclipse/jetty/gcloud/session/GCloudSessionDataStoreFactory.java b/jetty-gcloud/jetty-gcloud-session-manager/src/main/java/org/eclipse/jetty/gcloud/session/GCloudSessionDataStoreFactory.java index f643071c31b..e35014296fd 100644 --- a/jetty-gcloud/jetty-gcloud-session-manager/src/main/java/org/eclipse/jetty/gcloud/session/GCloudSessionDataStoreFactory.java +++ b/jetty-gcloud/jetty-gcloud-session-manager/src/main/java/org/eclipse/jetty/gcloud/session/GCloudSessionDataStoreFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-hazelcast/src/main/java/module-info.java b/jetty-hazelcast/src/main/java/module-info.java index cf3642d5ffb..6bd8f5f4976 100644 --- a/jetty-hazelcast/src/main/java/module-info.java +++ b/jetty-hazelcast/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/HazelcastSessionDataStore.java b/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/HazelcastSessionDataStore.java index c8a96041fb4..9d2cef3dae2 100644 --- a/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/HazelcastSessionDataStore.java +++ b/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/HazelcastSessionDataStore.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/HazelcastSessionDataStoreFactory.java b/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/HazelcastSessionDataStoreFactory.java index 654e5cc25dc..0e3dc9ac117 100644 --- a/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/HazelcastSessionDataStoreFactory.java +++ b/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/HazelcastSessionDataStoreFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/SessionDataSerializer.java b/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/SessionDataSerializer.java index f6ba7d24a91..4d57b333327 100644 --- a/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/SessionDataSerializer.java +++ b/jetty-hazelcast/src/main/java/org/eclipse/jetty/hazelcast/session/SessionDataSerializer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-hazelcast/src/test/java/org/eclipse/jetty/hazelcast/session/TestHazelcastSessions.java b/jetty-hazelcast/src/test/java/org/eclipse/jetty/hazelcast/session/TestHazelcastSessions.java index 3457175798c..caeb0c535c5 100644 --- a/jetty-hazelcast/src/test/java/org/eclipse/jetty/hazelcast/session/TestHazelcastSessions.java +++ b/jetty-hazelcast/src/test/java/org/eclipse/jetty/hazelcast/session/TestHazelcastSessions.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-home/pom.xml b/jetty-home/pom.xml index 7333199363f..225f6a19511 100644 --- a/jetty-home/pom.xml +++ b/jetty-home/pom.xml @@ -532,14 +532,6 @@
      - - - org.apache.maven.plugins - maven-pmd-plugin - - true - -
      @@ -776,6 +768,12 @@ ${project.version} true + + org.eclipse.jetty + jetty-keystore + ${project.version} + true + org.eclipse.jetty.demos @@ -833,6 +831,22 @@ jar true + + org.eclipse.jetty.demos + demo-simple-webapp + ${project.version} + config + jar + true + + + org.eclipse.jetty.demos + demo-jsp-webapp + ${project.version} + config + jar + true + diff --git a/jetty-home/src/main/resources/etc/jetty-halt.xml b/jetty-home/src/main/resources/etc/jetty-halt.xml new file mode 100644 index 00000000000..570f4fe08a1 --- /dev/null +++ b/jetty-home/src/main/resources/etc/jetty-halt.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/jetty-home/src/main/resources/modules/conscrypt.mod b/jetty-home/src/main/resources/modules/conscrypt.mod index d39fe002efb..a61af57bd74 100644 --- a/jetty-home/src/main/resources/modules/conscrypt.mod +++ b/jetty-home/src/main/resources/modules/conscrypt.mod @@ -1,5 +1,3 @@ -# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html - [description] Installs the Conscrypt JSSE provider. @@ -29,6 +27,5 @@ Conscrypt is distributed under the Apache Licence 2.0 https://github.com/google/conscrypt/blob/master/LICENSE [ini] -conscrypt.version?=2.0.0 +conscrypt.version?=2.5.1 jetty.sslContext.provider?=Conscrypt - diff --git a/jetty-home/src/main/resources/modules/demo.d/root/index.html b/jetty-home/src/main/resources/modules/demo.d/root/index.html index 97c4dd36600..0ea4136fece 100644 --- a/jetty-home/src/main/resources/modules/demo.d/root/index.html +++ b/jetty-home/src/main/resources/modules/demo.d/root/index.html @@ -31,13 +31,14 @@ diff --git a/jetty-home/src/main/resources/modules/demo.mod b/jetty-home/src/main/resources/modules/demo.mod index 7da68ac6ce7..5d422f5438d 100644 --- a/jetty-home/src/main/resources/modules/demo.mod +++ b/jetty-home/src/main/resources/modules/demo.mod @@ -21,8 +21,9 @@ demo-rewrite demo-root demo-jndi demo-spec +demo-jsp [ini-template] # Websocket chat examples needs websocket enabled # Don't start for all contexts (set to true in test.xml context) -org.eclipse.jetty.websocket.jsr356=false \ No newline at end of file +org.eclipse.jetty.websocket.jsr356=false diff --git a/jetty-http-spi/src/main/java/module-info.java b/jetty-http-spi/src/main/java/module-info.java index 8a170d3ecc0..f697e755875 100644 --- a/jetty-http-spi/src/main/java/module-info.java +++ b/jetty-http-spi/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/DelegatingThreadPool.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/DelegatingThreadPool.java index 15f4f8cd094..4c8e81060d9 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/DelegatingThreadPool.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/DelegatingThreadPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/HttpSpiContextHandler.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/HttpSpiContextHandler.java index d61b132273d..f088047fd6e 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/HttpSpiContextHandler.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/HttpSpiContextHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyExchange.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyExchange.java index 58697879be3..a49b4153fd5 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyExchange.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyExchange.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpContext.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpContext.java index adfe57555d5..69e502c087f 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpContext.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpContext.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpExchange.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpExchange.java index fc8c7ebbc72..339119d8b9f 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpExchange.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpExchange.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpExchangeDelegate.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpExchangeDelegate.java index a776b36d370..285941f553e 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpExchangeDelegate.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpExchangeDelegate.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpServer.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpServer.java index 84067d32ff4..7a8900fad6d 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpServer.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpServerProvider.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpServerProvider.java index 466ef164966..594775e053f 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpServerProvider.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpServerProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpsExchange.java b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpsExchange.java index 596522305f2..0ed0bf6bf48 100644 --- a/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpsExchange.java +++ b/jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/JettyHttpsExchange.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/LoggingUtil.java b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/LoggingUtil.java index 592eb24a891..7a0e40bffcc 100644 --- a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/LoggingUtil.java +++ b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/LoggingUtil.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/SPIServerTest.java b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/SPIServerTest.java index 53b2d68afd7..f0f9db0745f 100644 --- a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/SPIServerTest.java +++ b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/SPIServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/TestEndpointMultiplePublishProblem.java b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/TestEndpointMultiplePublishProblem.java index bf41707cf5d..622719fdb47 100644 --- a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/TestEndpointMultiplePublishProblem.java +++ b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/TestEndpointMultiplePublishProblem.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/TestSPIServer.java b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/TestSPIServer.java index 9cda233f40f..83171f0635d 100644 --- a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/TestSPIServer.java +++ b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/TestSPIServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/Pool.java b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/Pool.java index d656ff6e7e6..2499ac3ddc3 100644 --- a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/Pool.java +++ b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/Pool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/PrintTask.java b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/PrintTask.java index 4c8491e17ae..eebf96294c3 100644 --- a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/PrintTask.java +++ b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/PrintTask.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/SpiConstants.java b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/SpiConstants.java index 56b7aa09821..63da9721cc6 100644 --- a/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/SpiConstants.java +++ b/jetty-http-spi/src/test/java/org/eclipse/jetty/http/spi/util/SpiConstants.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/module-info.java b/jetty-http/src/main/java/module-info.java index 7a2ba22cf9c..718a5ee88d7 100644 --- a/jetty-http/src/main/java/module-info.java +++ b/jetty-http/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/BadMessageException.java b/jetty-http/src/main/java/org/eclipse/jetty/http/BadMessageException.java index fb60a59bb21..7af9bc9068f 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/BadMessageException.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/BadMessageException.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/ComplianceViolation.java b/jetty-http/src/main/java/org/eclipse/jetty/http/ComplianceViolation.java index a3b609ffd9a..152babae13e 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/ComplianceViolation.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/ComplianceViolation.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/CompressedContentFormat.java b/jetty-http/src/main/java/org/eclipse/jetty/http/CompressedContentFormat.java index 2f6bbddc68a..28002b68db5 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/CompressedContentFormat.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/CompressedContentFormat.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCompliance.java b/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCompliance.java index ec00cb9007a..89510e7cf51 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCompliance.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCompliance.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCutter.java b/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCutter.java index 9cf53fd30ec..9ba7fa6bf99 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCutter.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/CookieCutter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/DateGenerator.java b/jetty-http/src/main/java/org/eclipse/jetty/http/DateGenerator.java index f8e778d7b68..b29e9ea15ec 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/DateGenerator.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/DateGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/DateParser.java b/jetty-http/src/main/java/org/eclipse/jetty/http/DateParser.java index 889f4c3f87a..5ffbc4d3372 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/DateParser.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/DateParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/GZIPContentDecoder.java b/jetty-http/src/main/java/org/eclipse/jetty/http/GZIPContentDecoder.java index 6aac321fa4c..229a001d3d3 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/GZIPContentDecoder.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/GZIPContentDecoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HostPortHttpField.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HostPortHttpField.java index 716a2c55383..17d58aa7f03 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HostPortHttpField.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HostPortHttpField.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/Http1FieldPreEncoder.java b/jetty-http/src/main/java/org/eclipse/jetty/http/Http1FieldPreEncoder.java index 3508ff09405..d53a384cdc5 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/Http1FieldPreEncoder.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/Http1FieldPreEncoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpCompliance.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpCompliance.java index 5f68ed6ee68..ec2e7e74b67 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpCompliance.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpCompliance.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java index d227b0e9b9d..cabbaf9e11c 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpCookie.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpCookie.java index c17955c0048..19724c7cd19 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpCookie.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpCookie.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpField.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpField.java index 1fa856e90f0..9d522374576 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpField.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpField.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -145,18 +145,16 @@ public class HttpField return false; if (_value == null) return false; - if (search.equals(_value)) + if (search.equalsIgnoreCase(_value)) return true; - search = StringUtil.asciiToLowerCase(search); - int state = 0; int match = 0; int param = 0; for (int i = 0; i < _value.length(); i++) { - char c = _value.charAt(i); + char c = StringUtil.asciiToLowerCase(_value.charAt(i)); switch (state) { case 0: // initial white space @@ -181,7 +179,7 @@ public class HttpField break; default: // character - match = Character.toLowerCase(c) == search.charAt(0) ? 1 : -1; + match = c == StringUtil.asciiToLowerCase(search.charAt(0)) ? 1 : -1; state = 1; break; } @@ -206,7 +204,7 @@ public class HttpField if (match > 0) { if (match < search.length()) - match = Character.toLowerCase(c) == search.charAt(match) ? (match + 1) : -1; + match = c == StringUtil.asciiToLowerCase(search.charAt(match)) ? (match + 1) : -1; else if (c != ' ' && c != '\t') match = -1; } @@ -229,7 +227,7 @@ public class HttpField if (match >= 0) { if (match < search.length()) - match = Character.toLowerCase(c) == search.charAt(match) ? (match + 1) : -1; + match = c == StringUtil.asciiToLowerCase(search.charAt(match)) ? (match + 1) : -1; else match = -1; } @@ -240,7 +238,7 @@ public class HttpField if (match >= 0) { if (match < search.length()) - match = Character.toLowerCase(c) == search.charAt(match) ? (match + 1) : -1; + match = c == StringUtil.asciiToLowerCase(search.charAt(match)) ? (match + 1) : -1; else match = -1; } @@ -290,7 +288,7 @@ public class HttpField if (param >= 0) { if (param < __zeroquality.length()) - param = Character.toLowerCase(c) == __zeroquality.charAt(param) ? (param + 1) : -1; + param = c == __zeroquality.charAt(param) ? (param + 1) : -1; else if (c != '0' && c != '.') param = -1; } diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFieldPreEncoder.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFieldPreEncoder.java index 4cb3501b3be..f0886422f5a 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFieldPreEncoder.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFieldPreEncoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java index 91aaf4275f2..777769774c8 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java index 91f1b723dd1..00e795a7853 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -465,6 +465,12 @@ public class HttpGenerator } } + public void servletUpgrade() + { + _noContentResponse = false; + _state = State.COMMITTED; + } + private void prepareChunk(ByteBuffer chunk, int remaining) { // if we need CRLF add this to header diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeader.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeader.java index 2627815213d..752f0dcfe8e 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeader.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeader.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeaderValue.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeaderValue.java index 650ae8ec87f..ff5e13df02b 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeaderValue.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpHeaderValue.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -15,9 +15,11 @@ package org.eclipse.jetty.http; import java.nio.ByteBuffer; import java.util.EnumSet; +import java.util.function.Function; import org.eclipse.jetty.util.BufferUtil; import org.eclipse.jetty.util.Index; +import org.eclipse.jetty.util.StringUtil; /** * @@ -71,7 +73,7 @@ public enum HttpHeaderValue return _string; } - private static EnumSet __known = + private static final EnumSet __known = EnumSet.of(HttpHeader.CONNECTION, HttpHeader.TRANSFER_ENCODING, HttpHeader.CONTENT_ENCODING); @@ -82,4 +84,89 @@ public enum HttpHeaderValue return false; return __known.contains(header); } + + /** + * Parse an unquoted comma separated list of index keys. + * @param value A string list of index keys, separated with commas and possible white space + * @param found The function to call for all found index entries. If the function returns false parsing is halted. + * @return true if parsing completed normally and all found index items returned true from the found function. + */ + public static boolean parseCsvIndex(String value, Function found) + { + return parseCsvIndex(value, found, null); + } + + /** + * Parse an unquoted comma separated list of index keys. + * @param value A string list of index keys, separated with commas and possible white space + * @param found The function to call for all found index entries. If the function returns false parsing is halted. + * @param unknown The function to call for foound unknown entries. If the function returns false parsing is halted. + * @return true if parsing completed normally and all found index items returned true from the found function. + */ + public static boolean parseCsvIndex(String value, Function found, Function unknown) + { + if (StringUtil.isBlank(value)) + return true; + int next = 0; + parsing: while (next < value.length()) + { + // Look for the best fit next token + HttpHeaderValue token = CACHE.getBest(value, next, value.length() - next); + + // if a token is found + if (token != null) + { + // check that it is only followed by whatspace, EOL and/or comma + int i = next + token.toString().length(); + loop: while (true) + { + if (i >= value.length()) + return found.apply(token); + switch (value.charAt(i)) + { + case ',': + if (!found.apply(token)) + return false; + next = i + 1; + continue parsing; + case ' ': + break; + default: + break loop; + } + i++; + } + } + + // Token was not correctly matched + if (' ' == value.charAt(next)) + { + next++; + continue; + } + + int comma = value.indexOf(',', next); + if (comma == next) + { + next++; + continue; + } + else if (comma > next) + { + if (unknown == null) + { + next = comma + 1; + continue; + } + String v = value.substring(next, comma).trim(); + if (StringUtil.isBlank(v) || unknown.apply(v)) + { + next = comma + 1; + continue; + } + } + return false; + } + return true; + } } diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpMethod.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpMethod.java index d473e9bb846..72e305aefc1 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpMethod.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpMethod.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java index 6a25b962062..52844a5d9eb 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -109,7 +109,6 @@ public class HttpParser .with(new HttpField(HttpHeader.ACCEPT_ENCODING, "gzip")) .with(new HttpField(HttpHeader.ACCEPT_ENCODING, "gzip, deflate")) .with(new HttpField(HttpHeader.ACCEPT_ENCODING, "gzip, deflate, br")) - .with(new HttpField(HttpHeader.ACCEPT_ENCODING, "gzip,deflate,sdch")) .with(new HttpField(HttpHeader.ACCEPT_LANGUAGE, "en-US,enq=0.5")) .with(new HttpField(HttpHeader.ACCEPT_LANGUAGE, "en-GB,en-USq=0.8,enq=0.6")) .with(new HttpField(HttpHeader.ACCEPT_LANGUAGE, "en-AU,enq=0.9,it-ITq=0.8,itq=0.7,en-GBq=0.6,en-USq=0.5")) @@ -1058,19 +1057,11 @@ public class HttpParser if (addToFieldCache && _header != null && _valueString != null) { if (_fieldCache == null) - { - _fieldCache = (getHeaderCacheSize() > 0 && (_version != null && _version == HttpVersion.HTTP_1_1)) - ? new Index.Builder() - .caseSensitive(false) - .mutable() - .maxCapacity(getHeaderCacheSize()) - .build() - : NO_CACHE; - } + _fieldCache = Index.buildCaseSensitiveMutableVisibleAsciiAlphabet(getHeaderCacheSize()); if (_field == null) _field = new HttpField(_header, caseInsensitiveHeader(_headerString, _header.asString()), _valueString); - if (!_fieldCache.put(_field)) + if (_field.getValue().length() < getHeaderCacheSize() && !_fieldCache.put(_field)) { _fieldCache.clear(); _fieldCache.put(_field); @@ -1694,8 +1685,8 @@ public class HttpParser { _contentChunk = buffer.asReadOnlyBuffer(); - // limit content by expected size - if (remaining > content) + // limit content by expected size if _contentLength is >= 0 (i.e.: not infinite) + if (_contentLength > -1 && remaining > content) { // We can cast remaining to an int as we know that it is smaller than // or equal to length which is already an int. @@ -1897,6 +1888,13 @@ public class HttpParser _headerComplete = false; } + public void servletUpgrade() + { + setState(State.CONTENT); + _endOfContent = EndOfContent.UNKNOWN_CONTENT; + _contentLength = -1; + } + protected void setState(State state) { if (debugEnabled) diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpScheme.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpScheme.java index 01739782190..5ad7f723aa2 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpScheme.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpScheme.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java index 457e37f740b..9c1f8ae80c2 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTester.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTester.java index 3b5968ded3f..bca798a28ac 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTester.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTester.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTokens.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTokens.java index 935359645e8..add6b6732ea 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTokens.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpTokens.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java index 8ab90535fc5..182356065a4 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpVersion.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpVersion.java index 98845afe772..9bc99b72f3b 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpVersion.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpVersion.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/MetaData.java b/jetty-http/src/main/java/org/eclipse/jetty/http/MetaData.java index 129410ecc60..82ca0fedfb1 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/MetaData.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/MetaData.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java b/jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java index 2e239f4276c..9554a3e3113 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/MimeTypes.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/PreEncodedHttpField.java b/jetty-http/src/main/java/org/eclipse/jetty/http/PreEncodedHttpField.java index e917bbd6228..adb7fd972a8 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/PreEncodedHttpField.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/PreEncodedHttpField.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/PrecompressedHttpContent.java b/jetty-http/src/main/java/org/eclipse/jetty/http/PrecompressedHttpContent.java index 9dd9af4e46e..90666bbca5d 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/PrecompressedHttpContent.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/PrecompressedHttpContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSV.java b/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSV.java index 64bdcbaeb3d..e94b2b1163b 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSV.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSV.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSVParser.java b/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSVParser.java index 24cc98b4dd3..cc90001a65b 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSVParser.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedCSVParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedQualityCSV.java b/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedQualityCSV.java index 6cbb29d939b..c9b035e4b84 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedQualityCSV.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/QuotedQualityCSV.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/ResourceHttpContent.java b/jetty-http/src/main/java/org/eclipse/jetty/http/ResourceHttpContent.java index d388ff6efd7..624d0970de5 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/ResourceHttpContent.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/ResourceHttpContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/Syntax.java b/jetty-http/src/main/java/org/eclipse/jetty/http/Syntax.java index bd99af4cbce..cfec9389ac5 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/Syntax.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/Syntax.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/package-info.java b/jetty-http/src/main/java/org/eclipse/jetty/http/package-info.java index 3ea22c0231b..677711ec176 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/package-info.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/AbstractPathSpec.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/AbstractPathSpec.java index a43ac2402fa..08ca8cbd442 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/AbstractPathSpec.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/AbstractPathSpec.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/MappedResource.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/MappedResource.java index 6504f716517..f5e46ee90b8 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/MappedResource.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/MappedResource.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathMappings.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathMappings.java index bfe8eb59e90..d31e725381e 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathMappings.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathMappings.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpec.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpec.java index 9b97dddb6fb..08b1fb833a6 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpec.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpec.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecGroup.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecGroup.java index 1f898142adf..d9cd9aa095e 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecGroup.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecGroup.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecSet.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecSet.java index e76a183a70b..d042dc48854 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecSet.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/PathSpecSet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/RegexPathSpec.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/RegexPathSpec.java index 827cef72e26..3e97ef535e8 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/RegexPathSpec.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/RegexPathSpec.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java index ac9f4cc51c0..64768304863 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/ServletPathSpec.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpec.java b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpec.java index cae22d4a017..5a0064819f1 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpec.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpec.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterLenientTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterLenientTest.java index 7b3d2e99040..5fa721f666a 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterLenientTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterLenientTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterTest.java index 0ea5cfb53d7..295c6c1c074 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/CookieCutterTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/DateParserTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/DateParserTest.java index 308cdbcdc64..93d6daf8b45 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/DateParserTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/DateParserTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java index 49bf4a2601c..12d2675b945 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/GZIPContentDecoderTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpCookieTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpCookieTest.java index 89d6266fdd5..882f984314b 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpCookieTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpCookieTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldTest.java index 55ebeb0ae18..22b5d01cb97 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java index d6d347734e4..ffdf1a6dd50 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpFieldsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorClientTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorClientTest.java index 565801f5a0f..63d104532c9 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorClientTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorClientTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java index d95e1ab3a6a..3dfce580196 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerHTTPTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerTest.java index 8a300897046..c9d70005f4c 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpGeneratorServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpParserTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpParserTest.java index e4fcf785650..6c4849b7b0b 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpParserTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpParserTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -37,6 +37,7 @@ import static org.eclipse.jetty.http.HttpCompliance.Violation.TRANSFER_ENCODING_ import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.containsString; +import static org.hamcrest.Matchers.empty; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.nullValue; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -2971,4 +2972,82 @@ public class HttpParserTest _complianceViolation.add(violation); } } + + @Test + public void testHttpHeaderValueParseCsv() + { + final List list = new ArrayList<>(); + final List unknowns = new ArrayList<>(); + + assertTrue(HttpHeaderValue.parseCsvIndex("", list::add, unknowns::add)); + assertThat(list, empty()); + assertThat(unknowns, empty()); + + assertTrue(HttpHeaderValue.parseCsvIndex(" ", list::add, unknowns::add)); + assertThat(list, empty()); + assertThat(unknowns, empty()); + + assertTrue(HttpHeaderValue.parseCsvIndex(",", list::add, unknowns::add)); + assertThat(list, empty()); + assertThat(unknowns, empty()); + + assertTrue(HttpHeaderValue.parseCsvIndex(",,", list::add, unknowns::add)); + assertThat(list, empty()); + assertThat(unknowns, empty()); + + assertTrue(HttpHeaderValue.parseCsvIndex(" , , ", list::add, unknowns::add)); + assertThat(list, empty()); + assertThat(unknowns, empty()); + + list.clear(); + assertTrue(HttpHeaderValue.parseCsvIndex("close", list::add)); + assertThat(list, contains(HttpHeaderValue.CLOSE)); + + list.clear(); + assertTrue(HttpHeaderValue.parseCsvIndex(" close ", list::add)); + assertThat(list, contains(HttpHeaderValue.CLOSE)); + + list.clear(); + assertTrue(HttpHeaderValue.parseCsvIndex(",close,", list::add)); + assertThat(list, contains(HttpHeaderValue.CLOSE)); + + list.clear(); + assertTrue(HttpHeaderValue.parseCsvIndex(" , close , ", list::add)); + assertThat(list, contains(HttpHeaderValue.CLOSE)); + + list.clear(); + assertTrue(HttpHeaderValue.parseCsvIndex(" close,GZIP, chunked , Keep-Alive ", list::add)); + assertThat(list, contains(HttpHeaderValue.CLOSE, HttpHeaderValue.GZIP, HttpHeaderValue.CHUNKED, HttpHeaderValue.KEEP_ALIVE)); + + list.clear(); + assertTrue(HttpHeaderValue.parseCsvIndex(" close,GZIP, chunked , Keep-Alive ", t -> + { + if (t.toString().startsWith("c")) + list.add(t); + return true; + })); + assertThat(list, contains(HttpHeaderValue.CLOSE, HttpHeaderValue.CHUNKED)); + + list.clear(); + assertFalse(HttpHeaderValue.parseCsvIndex(" close,GZIP, chunked , Keep-Alive ", t -> + { + if (HttpHeaderValue.CHUNKED == t) + return false; + list.add(t); + return true; + })); + assertThat(list, contains(HttpHeaderValue.CLOSE, HttpHeaderValue.GZIP)); + + list.clear(); + unknowns.clear(); + assertTrue(HttpHeaderValue.parseCsvIndex("closed,close, unknown , bytes", list::add, unknowns::add)); + assertThat(list, contains(HttpHeaderValue.CLOSE, HttpHeaderValue.BYTES)); + assertThat(unknowns, contains("closed", "unknown")); + + list.clear(); + unknowns.clear(); + assertFalse(HttpHeaderValue.parseCsvIndex("close, unknown , bytes", list::add, s -> false)); + assertThat(list, contains(HttpHeaderValue.CLOSE)); + assertThat(unknowns, empty()); + } } diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpSchemeTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpSchemeTest.java index 1d33c182fb5..a92142c5717 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpSchemeTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpSchemeTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpStatusCodeTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpStatusCodeTest.java index e5d591f2323..6c2e7c08d91 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpStatusCodeTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpStatusCodeTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpTesterTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpTesterTest.java index 369de50a8c6..2de17621691 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpTesterTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpTesterTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpURIParseTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpURIParseTest.java index 90aeb8c7685..b3f88b990c4 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpURIParseTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpURIParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java index 4c9aebfb672..16d979ca567 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpURITest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/MimeTypesTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/MimeTypesTest.java index 5219a7ea14a..b21d3c39da2 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/MimeTypesTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/MimeTypesTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/QuotedCSVTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/QuotedCSVTest.java index a5020543521..1d6ab69a8bc 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/QuotedCSVTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/QuotedCSVTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/QuotedQualityCSVTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/QuotedQualityCSVTest.java index 931a09e55d6..61bc1ff7b7a 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/QuotedQualityCSVTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/QuotedQualityCSVTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/SyntaxTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/SyntaxTest.java index d1760be1ad0..a31995cbd24 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/SyntaxTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/SyntaxTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/PathMappingsTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/PathMappingsTest.java index a582c3f98a0..859480237a3 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/PathMappingsTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/PathMappingsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/PathSpecAssert.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/PathSpecAssert.java index 8c318b925cc..5b3b855b545 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/PathSpecAssert.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/PathSpecAssert.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/RegexPathSpecTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/RegexPathSpecTest.java index ad7ba74910b..6c2273eeab7 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/RegexPathSpecTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/RegexPathSpecTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecMatchListTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecMatchListTest.java index 24c6254a670..07ff301643e 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecMatchListTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecMatchListTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java index cc5d3e75aee..a5582103954 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecTest.java index 1369a51644a..d9952e19114 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecBadSpecsTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecBadSpecsTest.java index 41c9eaecdc1..e62ad063684 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecBadSpecsTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecBadSpecsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecTest.java index e39402274e8..e9157ec4605 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/UriTemplatePathSpecTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/WebSocketUriMappingTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/WebSocketUriMappingTest.java index cfa504bce64..19d3fca9fbc 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/WebSocketUriMappingTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/WebSocketUriMappingTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/main/java/module-info.java b/jetty-http2/http2-client/src/main/java/module-info.java index 4e58b4149ff..2049c4efe6f 100644 --- a/jetty-http2/http2-client/src/main/java/module-info.java +++ b/jetty-http2/http2-client/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2Client.java b/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2Client.java index 14f244ff321..2319d9634ba 100644 --- a/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2Client.java +++ b/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2Client.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2ClientConnectionFactory.java b/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2ClientConnectionFactory.java index 43b0889bad2..228267b308f 100644 --- a/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2ClientConnectionFactory.java +++ b/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2ClientConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2ClientSession.java b/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2ClientSession.java index 5827d52ffae..c65df360bb3 100644 --- a/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2ClientSession.java +++ b/jetty-http2/http2-client/src/main/java/org/eclipse/jetty/http2/client/HTTP2ClientSession.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AbstractTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AbstractTest.java index 771441108a9..0b5b3c7115a 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AbstractTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AbstractTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AsyncIOTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AsyncIOTest.java index 9c3764c9ac3..442a6bec539 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AsyncIOTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AsyncIOTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AsyncServletTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AsyncServletTest.java index 043c359e06e..82975c4b33b 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AsyncServletTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/AsyncServletTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/BufferingFlowControlStrategyTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/BufferingFlowControlStrategyTest.java index 0816dcc8e9a..9f60dae14f6 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/BufferingFlowControlStrategyTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/BufferingFlowControlStrategyTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConcurrentStreamCreationTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConcurrentStreamCreationTest.java index eea1ac145cd..26b7f459aff 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConcurrentStreamCreationTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConcurrentStreamCreationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConnectTimeoutTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConnectTimeoutTest.java index 4c91d6254f2..228f8154ef4 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConnectTimeoutTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConnectTimeoutTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConnectTunnelTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConnectTunnelTest.java index 082cccf1b60..78be376ff3b 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConnectTunnelTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ConnectTunnelTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/DataDemandTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/DataDemandTest.java index ea1c549024d..2bebc465798 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/DataDemandTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/DataDemandTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/EmptyHttpServlet.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/EmptyHttpServlet.java index 8b329bd1c39..7ecb8782ae4 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/EmptyHttpServlet.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/EmptyHttpServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlStalledTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlStalledTest.java index 14529e7b172..a0aa3392b3e 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlStalledTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlStalledTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlStrategyTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlStrategyTest.java index a5660b148c4..6c0e3138487 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlStrategyTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlStrategyTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlWindowsTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlWindowsTest.java index 153e6e926bd..5dccb0c72ad 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlWindowsTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/FlowControlWindowsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/GoAwayTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/GoAwayTest.java index 5510dcbafb6..1cdaaa3b3cf 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/GoAwayTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/GoAwayTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/HTTP2Test.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/HTTP2Test.java index fca1119353b..faffa73e331 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/HTTP2Test.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/HTTP2Test.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/IdleTimeoutTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/IdleTimeoutTest.java index ef10909befd..0ffbf29a6ce 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/IdleTimeoutTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/IdleTimeoutTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/InterleavingTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/InterleavingTest.java index c6e69e91eef..ea6a46d24b4 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/InterleavingTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/InterleavingTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/MaxPushedStreamsTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/MaxPushedStreamsTest.java index f35b550989e..a30bda0f720 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/MaxPushedStreamsTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/MaxPushedStreamsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PingTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PingTest.java index d241cdc2351..8b5072dd7e0 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PingTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PingTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PrefaceTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PrefaceTest.java index af5107ee5a3..fcc2ab84fe1 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PrefaceTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PrefaceTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PriorityTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PriorityTest.java index c1864345159..5de08053b8d 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PriorityTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PriorityTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ProxyProtocolTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ProxyProtocolTest.java index 333e72e080d..970f67d8677 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ProxyProtocolTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ProxyProtocolTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ProxyTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ProxyTest.java index 421f11fd912..057ceeb9d57 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ProxyTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/ProxyTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PushCacheFilterTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PushCacheFilterTest.java index 13c50a0c335..7a3e7be88a8 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PushCacheFilterTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/PushCacheFilterTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/RawHTTP2ProxyTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/RawHTTP2ProxyTest.java index 2fa326fdc79..bcea4fbe0b1 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/RawHTTP2ProxyTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/RawHTTP2ProxyTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SessionFailureTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SessionFailureTest.java index 1bad81d08e8..187164e0d1b 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SessionFailureTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SessionFailureTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SimpleFlowControlStrategyTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SimpleFlowControlStrategyTest.java index d79b6648e7f..1b78a53aba4 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SimpleFlowControlStrategyTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SimpleFlowControlStrategyTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SmallThreadPoolLoadTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SmallThreadPoolLoadTest.java index 1f50ca290ee..74b8bdf0a2f 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SmallThreadPoolLoadTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/SmallThreadPoolLoadTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamCloseTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamCloseTest.java index d2b5f7a80d0..8fab8a99c7a 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamCloseTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamCloseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamCountTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamCountTest.java index e5bab86c53f..e2c9f0c1294 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamCountTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamCountTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamResetTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamResetTest.java index 00b36399d1f..7f3cca7d538 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamResetTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/StreamResetTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/TrailersTest.java b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/TrailersTest.java index 5594511250d..df1c61f25e9 100644 --- a/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/TrailersTest.java +++ b/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/TrailersTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/module-info.java b/jetty-http2/http2-common/src/main/java/module-info.java index ab89e319e52..1238a74ca80 100644 --- a/jetty-http2/http2-common/src/main/java/module-info.java +++ b/jetty-http2/http2-common/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/AbstractFlowControlStrategy.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/AbstractFlowControlStrategy.java index 6ff132d0cce..32a9ce28a92 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/AbstractFlowControlStrategy.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/AbstractFlowControlStrategy.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/BufferingFlowControlStrategy.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/BufferingFlowControlStrategy.java index 4d9583f19d6..64276725662 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/BufferingFlowControlStrategy.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/BufferingFlowControlStrategy.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/CloseState.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/CloseState.java index 4a247bec0bd..bf2c268686a 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/CloseState.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/CloseState.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ErrorCode.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ErrorCode.java index a9a2175c617..419cf964cc9 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ErrorCode.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ErrorCode.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/Flags.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/Flags.java index 823959d8c46..a9be7ed23be 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/Flags.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/Flags.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/FlowControlStrategy.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/FlowControlStrategy.java index 5eac0cb707c..b65a896be28 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/FlowControlStrategy.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/FlowControlStrategy.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Channel.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Channel.java index 17b7addc4e8..f12529963e1 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Channel.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Channel.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Cipher.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Cipher.java index 3fc044fe224..9ca8f1bb7d6 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Cipher.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Cipher.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -14,311 +14,312 @@ package org.eclipse.jetty.http2; import java.util.Comparator; +import java.util.Set; +import java.util.stream.Collectors; +import java.util.stream.Stream; -import org.eclipse.jetty.util.Index; +import org.eclipse.jetty.util.StringUtil; public class HTTP2Cipher { public static final Comparator COMPARATOR = new CipherComparator(); - private static final Index __blackProtocols = new Index.Builder() - .caseSensitive(false) - .with("TLSv1.2", Boolean.TRUE) - .with("TLSv1.1", Boolean.TRUE) - .with("TLSv1", Boolean.TRUE) - .with("SSL", Boolean.TRUE) - .with("SSLv2", Boolean.TRUE) - .with("SSLv3", Boolean.TRUE) - .build(); + private static final Set __blackProtocols = Stream.of( + "TLSv1.2", + "TLSv1.1", + "TLSv1", + "SSL", + "SSLv2", + "SSLv3" + ).map(StringUtil::asciiToUpperCase).collect(Collectors.toSet()); - private static final Index __blackCiphers = new Index.Builder() - .caseSensitive(false) - .with("TLS_NULL_WITH_NULL_NULL", Boolean.TRUE) - .with("TLS_RSA_WITH_NULL_MD5", Boolean.TRUE) - .with("TLS_RSA_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_RSA_EXPORT_WITH_RC4_40_MD5", Boolean.TRUE) - .with("TLS_RSA_WITH_RC4_128_MD5", Boolean.TRUE) - .with("TLS_RSA_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5", Boolean.TRUE) - .with("TLS_RSA_WITH_IDEA_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_EXPORT_WITH_DES40_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_WITH_DES_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_DES_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_DES_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_DES_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_DES_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_anon_EXPORT_WITH_RC4_40_MD5", Boolean.TRUE) - .with("TLS_DH_anon_WITH_RC4_128_MD5", Boolean.TRUE) - .with("TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_anon_WITH_DES_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_anon_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_KRB5_WITH_DES_CBC_SHA", Boolean.TRUE) - .with("TLS_KRB5_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_KRB5_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_KRB5_WITH_IDEA_CBC_SHA", Boolean.TRUE) - .with("TLS_KRB5_WITH_DES_CBC_MD5", Boolean.TRUE) - .with("TLS_KRB5_WITH_3DES_EDE_CBC_MD5", Boolean.TRUE) - .with("TLS_KRB5_WITH_RC4_128_MD5", Boolean.TRUE) - .with("TLS_KRB5_WITH_IDEA_CBC_MD5", Boolean.TRUE) - .with("TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", Boolean.TRUE) - .with("TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA", Boolean.TRUE) - .with("TLS_KRB5_EXPORT_WITH_RC4_40_SHA", Boolean.TRUE) - .with("TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5", Boolean.TRUE) - .with("TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5", Boolean.TRUE) - .with("TLS_KRB5_EXPORT_WITH_RC4_40_MD5", Boolean.TRUE) - .with("TLS_PSK_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_anon_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_anon_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_WITH_NULL_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_CAMELLIA_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_AES_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_AES_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_AES_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_anon_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_anon_WITH_AES_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_CAMELLIA_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA", Boolean.TRUE) - .with("TLS_PSK_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_PSK_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_WITH_SEED_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_SEED_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_SEED_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_SEED_CBC_SHA", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_SEED_CBC_SHA", Boolean.TRUE) - .with("TLS_DH_anon_WITH_SEED_CBC_SHA", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_AES_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_AES_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_AES_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_AES_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_anon_WITH_AES_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_anon_WITH_AES_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_AES_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_AES_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_PSK_WITH_NULL_SHA256", Boolean.TRUE) - .with("TLS_PSK_WITH_NULL_SHA384", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_AES_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_NULL_SHA256", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_NULL_SHA384", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_AES_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_NULL_SHA256", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_NULL_SHA384", Boolean.TRUE) - .with("TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256", Boolean.TRUE) - .with("TLS_EMPTY_RENEGOTIATION_INFO_SCSV", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDH_anon_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_ECDH_anon_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDH_anon_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDH_anon_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_RC4_128_SHA", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_NULL_SHA", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_NULL_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_NULL_SHA384", Boolean.TRUE) - .with("TLS_RSA_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_DH_anon_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DH_anon_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_RSA_WITH_ARIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_ARIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_anon_WITH_ARIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_anon_WITH_ARIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_PSK_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_PSK_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_PSK_WITH_ARIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_PSK_WITH_ARIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384", Boolean.TRUE) - .with("TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256", Boolean.TRUE) - .with("TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_128_CCM", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_256_CCM", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_128_CCM_8", Boolean.TRUE) - .with("TLS_RSA_WITH_AES_256_CCM_8", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_128_CCM", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_256_CCM", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_128_CCM_8", Boolean.TRUE) - .with("TLS_PSK_WITH_AES_256_CCM_8", Boolean.TRUE) - .build(); + private static final Set __blackCiphers = Stream.of( + "TLS_NULL_WITH_NULL_NULL", + "TLS_RSA_WITH_NULL_MD5", + "TLS_RSA_WITH_NULL_SHA", + "TLS_RSA_EXPORT_WITH_RC4_40_MD5", + "TLS_RSA_WITH_RC4_128_MD5", + "TLS_RSA_WITH_RC4_128_SHA", + "TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5", + "TLS_RSA_WITH_IDEA_CBC_SHA", + "TLS_RSA_EXPORT_WITH_DES40_CBC_SHA", + "TLS_RSA_WITH_DES_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA", + "TLS_DH_DSS_WITH_DES_CBC_SHA", + "TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA", + "TLS_DH_RSA_WITH_DES_CBC_SHA", + "TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA", + "TLS_DHE_DSS_WITH_DES_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA", + "TLS_DHE_RSA_WITH_DES_CBC_SHA", + "TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DH_anon_EXPORT_WITH_RC4_40_MD5", + "TLS_DH_anon_WITH_RC4_128_MD5", + "TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA", + "TLS_DH_anon_WITH_DES_CBC_SHA", + "TLS_DH_anon_WITH_3DES_EDE_CBC_SHA", + "TLS_KRB5_WITH_DES_CBC_SHA", + "TLS_KRB5_WITH_3DES_EDE_CBC_SHA", + "TLS_KRB5_WITH_RC4_128_SHA", + "TLS_KRB5_WITH_IDEA_CBC_SHA", + "TLS_KRB5_WITH_DES_CBC_MD5", + "TLS_KRB5_WITH_3DES_EDE_CBC_MD5", + "TLS_KRB5_WITH_RC4_128_MD5", + "TLS_KRB5_WITH_IDEA_CBC_MD5", + "TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", + "TLS_KRB5_EXPORT_WITH_RC2_CBC_40_SHA", + "TLS_KRB5_EXPORT_WITH_RC4_40_SHA", + "TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5", + "TLS_KRB5_EXPORT_WITH_RC2_CBC_40_MD5", + "TLS_KRB5_EXPORT_WITH_RC4_40_MD5", + "TLS_PSK_WITH_NULL_SHA", + "TLS_DHE_PSK_WITH_NULL_SHA", + "TLS_RSA_PSK_WITH_NULL_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_DH_DSS_WITH_AES_128_CBC_SHA", + "TLS_DH_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DH_anon_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_DH_DSS_WITH_AES_256_CBC_SHA", + "TLS_DH_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DH_anon_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_NULL_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_DH_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DH_RSA_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_CAMELLIA_128_CBC_SHA", + "TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA", + "TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA", + "TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA", + "TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA", + "TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_DH_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DH_RSA_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256", + "TLS_DH_anon_WITH_AES_128_CBC_SHA256", + "TLS_DH_anon_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_CAMELLIA_256_CBC_SHA", + "TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA", + "TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA", + "TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA", + "TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA", + "TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA", + "TLS_PSK_WITH_RC4_128_SHA", + "TLS_PSK_WITH_3DES_EDE_CBC_SHA", + "TLS_PSK_WITH_AES_128_CBC_SHA", + "TLS_PSK_WITH_AES_256_CBC_SHA", + "TLS_DHE_PSK_WITH_RC4_128_SHA", + "TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_PSK_WITH_AES_128_CBC_SHA", + "TLS_DHE_PSK_WITH_AES_256_CBC_SHA", + "TLS_RSA_PSK_WITH_RC4_128_SHA", + "TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA", + "TLS_RSA_PSK_WITH_AES_128_CBC_SHA", + "TLS_RSA_PSK_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_SEED_CBC_SHA", + "TLS_DH_DSS_WITH_SEED_CBC_SHA", + "TLS_DH_RSA_WITH_SEED_CBC_SHA", + "TLS_DHE_DSS_WITH_SEED_CBC_SHA", + "TLS_DHE_RSA_WITH_SEED_CBC_SHA", + "TLS_DH_anon_WITH_SEED_CBC_SHA", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DH_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DH_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DH_DSS_WITH_AES_128_GCM_SHA256", + "TLS_DH_DSS_WITH_AES_256_GCM_SHA384", + "TLS_DH_anon_WITH_AES_128_GCM_SHA256", + "TLS_DH_anon_WITH_AES_256_GCM_SHA384", + "TLS_PSK_WITH_AES_128_GCM_SHA256", + "TLS_PSK_WITH_AES_256_GCM_SHA384", + "TLS_RSA_PSK_WITH_AES_128_GCM_SHA256", + "TLS_RSA_PSK_WITH_AES_256_GCM_SHA384", + "TLS_PSK_WITH_AES_128_CBC_SHA256", + "TLS_PSK_WITH_AES_256_CBC_SHA384", + "TLS_PSK_WITH_NULL_SHA256", + "TLS_PSK_WITH_NULL_SHA384", + "TLS_DHE_PSK_WITH_AES_128_CBC_SHA256", + "TLS_DHE_PSK_WITH_AES_256_CBC_SHA384", + "TLS_DHE_PSK_WITH_NULL_SHA256", + "TLS_DHE_PSK_WITH_NULL_SHA384", + "TLS_RSA_PSK_WITH_AES_128_CBC_SHA256", + "TLS_RSA_PSK_WITH_AES_256_CBC_SHA384", + "TLS_RSA_PSK_WITH_NULL_SHA256", + "TLS_RSA_PSK_WITH_NULL_SHA384", + "TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256", + "TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256", + "TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256", + "TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256", + "TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256", + "TLS_EMPTY_RENEGOTIATION_INFO_SCSV", + "TLS_ECDH_ECDSA_WITH_NULL_SHA", + "TLS_ECDH_ECDSA_WITH_RC4_128_SHA", + "TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_NULL_SHA", + "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", + "TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDH_RSA_WITH_NULL_SHA", + "TLS_ECDH_RSA_WITH_RC4_128_SHA", + "TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDH_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDH_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_NULL_SHA", + "TLS_ECDHE_RSA_WITH_RC4_128_SHA", + "TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDH_anon_WITH_NULL_SHA", + "TLS_ECDH_anon_WITH_RC4_128_SHA", + "TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDH_anon_WITH_AES_128_CBC_SHA", + "TLS_ECDH_anon_WITH_AES_256_CBC_SHA", + "TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA", + "TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_SRP_SHA_WITH_AES_128_CBC_SHA", + "TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA", + "TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA", + "TLS_SRP_SHA_WITH_AES_256_CBC_SHA", + "TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA", + "TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_PSK_WITH_RC4_128_SHA", + "TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_PSK_WITH_NULL_SHA", + "TLS_ECDHE_PSK_WITH_NULL_SHA256", + "TLS_ECDHE_PSK_WITH_NULL_SHA384", + "TLS_RSA_WITH_ARIA_128_CBC_SHA256", + "TLS_RSA_WITH_ARIA_256_CBC_SHA384", + "TLS_DH_DSS_WITH_ARIA_128_CBC_SHA256", + "TLS_DH_DSS_WITH_ARIA_256_CBC_SHA384", + "TLS_DH_RSA_WITH_ARIA_128_CBC_SHA256", + "TLS_DH_RSA_WITH_ARIA_256_CBC_SHA384", + "TLS_DHE_DSS_WITH_ARIA_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_ARIA_256_CBC_SHA384", + "TLS_DHE_RSA_WITH_ARIA_128_CBC_SHA256", + "TLS_DHE_RSA_WITH_ARIA_256_CBC_SHA384", + "TLS_DH_anon_WITH_ARIA_128_CBC_SHA256", + "TLS_DH_anon_WITH_ARIA_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_ARIA_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_ARIA_256_CBC_SHA384", + "TLS_ECDH_ECDSA_WITH_ARIA_128_CBC_SHA256", + "TLS_ECDH_ECDSA_WITH_ARIA_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_ARIA_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_ARIA_256_CBC_SHA384", + "TLS_ECDH_RSA_WITH_ARIA_128_CBC_SHA256", + "TLS_ECDH_RSA_WITH_ARIA_256_CBC_SHA384", + "TLS_RSA_WITH_ARIA_128_GCM_SHA256", + "TLS_RSA_WITH_ARIA_256_GCM_SHA384", + "TLS_DH_RSA_WITH_ARIA_128_GCM_SHA256", + "TLS_DH_RSA_WITH_ARIA_256_GCM_SHA384", + "TLS_DH_DSS_WITH_ARIA_128_GCM_SHA256", + "TLS_DH_DSS_WITH_ARIA_256_GCM_SHA384", + "TLS_DH_anon_WITH_ARIA_128_GCM_SHA256", + "TLS_DH_anon_WITH_ARIA_256_GCM_SHA384", + "TLS_ECDH_ECDSA_WITH_ARIA_128_GCM_SHA256", + "TLS_ECDH_ECDSA_WITH_ARIA_256_GCM_SHA384", + "TLS_ECDH_RSA_WITH_ARIA_128_GCM_SHA256", + "TLS_ECDH_RSA_WITH_ARIA_256_GCM_SHA384", + "TLS_PSK_WITH_ARIA_128_CBC_SHA256", + "TLS_PSK_WITH_ARIA_256_CBC_SHA384", + "TLS_DHE_PSK_WITH_ARIA_128_CBC_SHA256", + "TLS_DHE_PSK_WITH_ARIA_256_CBC_SHA384", + "TLS_RSA_PSK_WITH_ARIA_128_CBC_SHA256", + "TLS_RSA_PSK_WITH_ARIA_256_CBC_SHA384", + "TLS_PSK_WITH_ARIA_128_GCM_SHA256", + "TLS_PSK_WITH_ARIA_256_GCM_SHA384", + "TLS_RSA_PSK_WITH_ARIA_128_GCM_SHA256", + "TLS_RSA_PSK_WITH_ARIA_256_GCM_SHA384", + "TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256", + "TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384", + "TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384", + "TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384", + "TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256", + "TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384", + "TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256", + "TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384", + "TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256", + "TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384", + "TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256", + "TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384", + "TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256", + "TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384", + "TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256", + "TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384", + "TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256", + "TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384", + "TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256", + "TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384", + "TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384", + "TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384", + "TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384", + "TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256", + "TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384", + "TLS_RSA_WITH_AES_128_CCM", + "TLS_RSA_WITH_AES_256_CCM", + "TLS_RSA_WITH_AES_128_CCM_8", + "TLS_RSA_WITH_AES_256_CCM_8", + "TLS_PSK_WITH_AES_128_CCM", + "TLS_PSK_WITH_AES_256_CCM", + "TLS_PSK_WITH_AES_128_CCM_8", + "TLS_PSK_WITH_AES_256_CCM_8" + ).map(StringUtil::asciiToUpperCase).collect(Collectors.toSet()); public static boolean isBlackListProtocol(String tlsProtocol) { - return __blackProtocols.get(tlsProtocol) != null; + return __blackProtocols.contains(StringUtil.asciiToUpperCase(tlsProtocol)); } public static boolean isBlackListCipher(String tlsCipher) { - return __blackCiphers.get(tlsCipher) != null; + return __blackCiphers.contains(StringUtil.asciiToUpperCase(tlsCipher)); } /** diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Connection.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Connection.java index 28629d56390..5b9a7b691fb 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Connection.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Connection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Flusher.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Flusher.java index b0fe361f9f7..d0e9df4cc50 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Flusher.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Flusher.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Session.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Session.java index c2a1eacb2d0..e72e980e1c5 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Session.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Session.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Stream.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Stream.java index d3b4074cf86..8805fcb3a63 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Stream.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2Stream.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2StreamEndPoint.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2StreamEndPoint.java index 3394ab1dd61..8ac0b5581e3 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2StreamEndPoint.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/HTTP2StreamEndPoint.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ISession.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ISession.java index 5d0720c1bc9..d420f17771c 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ISession.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/ISession.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java index d4afada8c8a..2ef24ef9c25 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/SimpleFlowControlStrategy.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/SimpleFlowControlStrategy.java index dfdc6f01f46..9bc9f4513f4 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/SimpleFlowControlStrategy.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/SimpleFlowControlStrategy.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Session.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Session.java index cd69515b3fb..65db4401ee4 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Session.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Session.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Stream.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Stream.java index 77c6ece06f0..465d012ad98 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Stream.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/Stream.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/server/ServerSessionListener.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/server/ServerSessionListener.java index 8b7198867b8..bd9b583381b 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/server/ServerSessionListener.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/api/server/ServerSessionListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/ContinuationFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/ContinuationFrame.java index f18151af9fb..4d2c898f518 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/ContinuationFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/ContinuationFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/DataFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/DataFrame.java index 7c4fa16955c..bf5eb4a9051 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/DataFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/DataFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/DisconnectFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/DisconnectFrame.java index d6353a359c9..02aaca01bbf 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/DisconnectFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/DisconnectFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/FailureFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/FailureFrame.java index 05cd7cb7853..0ec1be9f55e 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/FailureFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/FailureFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/Frame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/Frame.java index 918d8382ed6..c3dd134e68d 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/Frame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/Frame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/FrameType.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/FrameType.java index 3e8ca4a7fb0..92f227e8a01 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/FrameType.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/FrameType.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/GoAwayFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/GoAwayFrame.java index 9ccc5f0c062..ed16f3d2392 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/GoAwayFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/GoAwayFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/HeadersFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/HeadersFrame.java index b7f991aa7f1..9905921243c 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/HeadersFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/HeadersFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PingFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PingFrame.java index ecd611d7a7c..6c34e493c2d 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PingFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PingFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PrefaceFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PrefaceFrame.java index 4772281583e..26982fb6c11 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PrefaceFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PrefaceFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PriorityFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PriorityFrame.java index c7ef0c68d9b..4c58457cc12 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PriorityFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PriorityFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PushPromiseFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PushPromiseFrame.java index 76f6fb8408e..f0b38910b24 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PushPromiseFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/PushPromiseFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/ResetFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/ResetFrame.java index a3de46143cc..812849df668 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/ResetFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/ResetFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/SettingsFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/SettingsFrame.java index 51f0304b9f2..446e9f80e0f 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/SettingsFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/SettingsFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/StreamFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/StreamFrame.java index cddee94b665..406c1ff3e6f 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/StreamFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/StreamFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/UnknownFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/UnknownFrame.java index 07e47ddf920..7cc75123170 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/UnknownFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/UnknownFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/WindowUpdateFrame.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/WindowUpdateFrame.java index 3ad2a7e97a5..4f5949d18c5 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/WindowUpdateFrame.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/frames/WindowUpdateFrame.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/DataGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/DataGenerator.java index cef2cd8c576..8f1f2804773 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/DataGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/DataGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/FrameGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/FrameGenerator.java index b8dca66a563..62997a07af6 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/FrameGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/FrameGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/Generator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/Generator.java index b6f33ee658f..77141ff9898 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/Generator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/Generator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/GoAwayGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/GoAwayGenerator.java index ab46a0f99c1..04b079094f7 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/GoAwayGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/GoAwayGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/HeaderGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/HeaderGenerator.java index 99efae8b3f2..72e8cf0fa17 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/HeaderGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/HeaderGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/HeadersGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/HeadersGenerator.java index c9b03093d1b..a39d7583b2d 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/HeadersGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/HeadersGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/NoOpGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/NoOpGenerator.java index 7024c7b51e4..ac5d3cae365 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/NoOpGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/NoOpGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PingGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PingGenerator.java index 6bb6394f7ec..1e030787647 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PingGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PingGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PrefaceGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PrefaceGenerator.java index 534455b5a26..dcbc822f91a 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PrefaceGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PrefaceGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PriorityGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PriorityGenerator.java index 0bb672f4462..bfedcc73c0f 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PriorityGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PriorityGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PushPromiseGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PushPromiseGenerator.java index 5904a079642..42f80dc648f 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PushPromiseGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/PushPromiseGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/ResetGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/ResetGenerator.java index 882b46f2475..c9699505d52 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/ResetGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/ResetGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/SettingsGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/SettingsGenerator.java index 95a9e22e9a4..6d82f9bba79 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/SettingsGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/SettingsGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/WindowUpdateGenerator.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/WindowUpdateGenerator.java index 9803cbcea00..d14ade13048 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/WindowUpdateGenerator.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/generator/WindowUpdateGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/BodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/BodyParser.java index 30a1670a6a6..a7047ca88a5 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/BodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/BodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ContinuationBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ContinuationBodyParser.java index 57f613ea67e..67dec0ce6d9 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ContinuationBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ContinuationBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/DataBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/DataBodyParser.java index 5e912ebe8fa..e2f03085f0c 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/DataBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/DataBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/GoAwayBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/GoAwayBodyParser.java index a9c5b1a59f2..23ac6d19516 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/GoAwayBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/GoAwayBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockFragments.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockFragments.java index b52e3436bef..dee36907a53 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockFragments.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockFragments.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockParser.java index f1b487751ba..eaae0e47011 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderBlockParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderParser.java index b7f8d89b7db..d90deecf52b 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeaderParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeadersBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeadersBodyParser.java index 0380edb90ce..f53435c979f 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeadersBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/HeadersBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/Parser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/Parser.java index ee5e7986270..3c7ad6072c9 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/Parser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/Parser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PingBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PingBodyParser.java index 7c7574c8e5b..556578d7785 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PingBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PingBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PrefaceParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PrefaceParser.java index 46d82b76393..87b289ba6f9 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PrefaceParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PrefaceParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PriorityBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PriorityBodyParser.java index 300ca7b3485..aa7119725eb 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PriorityBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PriorityBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PushPromiseBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PushPromiseBodyParser.java index 62aa4e94cd6..ffd91785ed0 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PushPromiseBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/PushPromiseBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/RateControl.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/RateControl.java index cffa6235470..0bcb556ed97 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/RateControl.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/RateControl.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ResetBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ResetBodyParser.java index d2626919c75..51fc8aed501 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ResetBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ResetBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ServerParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ServerParser.java index e81da7be526..16ad2efe137 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ServerParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/ServerParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/SettingsBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/SettingsBodyParser.java index a2777ae85ad..44d3507db2c 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/SettingsBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/SettingsBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/UnknownBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/UnknownBodyParser.java index 26b03c841a6..7b57b2e6aac 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/UnknownBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/UnknownBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/WindowRateControl.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/WindowRateControl.java index 0e2a30ad7e6..62c24119197 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/WindowRateControl.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/WindowRateControl.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/WindowUpdateBodyParser.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/WindowUpdateBodyParser.java index a30367179ea..f50afe0a02b 100644 --- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/WindowUpdateBodyParser.java +++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/parser/WindowUpdateBodyParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/ContinuationParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/ContinuationParseTest.java index d9c137eb9b8..929027a9005 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/ContinuationParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/ContinuationParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/DataGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/DataGenerateParseTest.java index c526cca144e..e01a3dbd453 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/DataGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/DataGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/FrameFloodTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/FrameFloodTest.java index f076f68eef9..2a55a0c8f3e 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/FrameFloodTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/FrameFloodTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/GoAwayGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/GoAwayGenerateParseTest.java index c6756081a17..fada3937134 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/GoAwayGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/GoAwayGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/HeadersGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/HeadersGenerateParseTest.java index 148d2e7f2a3..3b633a22ccf 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/HeadersGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/HeadersGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/MaxFrameSizeParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/MaxFrameSizeParseTest.java index 4c1b4a5656a..bd785c4b2b7 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/MaxFrameSizeParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/MaxFrameSizeParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PingGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PingGenerateParseTest.java index 97353fc6338..a35b2112991 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PingGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PingGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PriorityGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PriorityGenerateParseTest.java index 5279e16d554..6d9fea14408 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PriorityGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PriorityGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PushPromiseGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PushPromiseGenerateParseTest.java index c6a4ad9840b..b1196c343fc 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PushPromiseGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/PushPromiseGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/ResetGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/ResetGenerateParseTest.java index e9c0921cf5b..3c59662da01 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/ResetGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/ResetGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/SettingsGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/SettingsGenerateParseTest.java index ded36467598..6eeef472a47 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/SettingsGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/SettingsGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/UnknownParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/UnknownParseTest.java index 253d1538365..1f563d550fc 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/UnknownParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/UnknownParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/WindowUpdateGenerateParseTest.java b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/WindowUpdateGenerateParseTest.java index 21dcd0d596c..ed2126de4fc 100644 --- a/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/WindowUpdateGenerateParseTest.java +++ b/jetty-http2/http2-common/src/test/java/org/eclipse/jetty/http2/frames/WindowUpdateGenerateParseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/module-info.java b/jetty-http2/http2-hpack/src/main/java/module-info.java index fb3af3bb1d0..2a544673e09 100644 --- a/jetty-http2/http2-hpack/src/main/java/module-info.java +++ b/jetty-http2/http2-hpack/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/AuthorityHttpField.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/AuthorityHttpField.java index 171ba7a73ac..74df73ac23e 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/AuthorityHttpField.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/AuthorityHttpField.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackContext.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackContext.java index f3532f5bc1a..e5b3e84b167 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackContext.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackContext.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackDecoder.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackDecoder.java index 30fe4116e7e..2ae3b4a6841 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackDecoder.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackDecoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackEncoder.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackEncoder.java index cfebe29b438..aac54eebd2a 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackEncoder.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackEncoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackException.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackException.java index 7765df55367..b8ffbe9bfc5 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackException.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackException.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackFieldPreEncoder.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackFieldPreEncoder.java index a64951064fa..edba33c6171 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackFieldPreEncoder.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/HpackFieldPreEncoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/Huffman.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/Huffman.java index 460c8985b0d..1ba4aa678b6 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/Huffman.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/Huffman.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/MetaDataBuilder.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/MetaDataBuilder.java index 3c2e741c3db..5d40ad9238a 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/MetaDataBuilder.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/MetaDataBuilder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/NBitInteger.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/NBitInteger.java index 441a0130746..27b53f9e1c0 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/NBitInteger.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/NBitInteger.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/StaticTableHttpField.java b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/StaticTableHttpField.java index 47e888e556f..6661f218883 100644 --- a/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/StaticTableHttpField.java +++ b/jetty-http2/http2-hpack/src/main/java/org/eclipse/jetty/http2/hpack/StaticTableHttpField.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackContextTest.java b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackContextTest.java index e94acb0c1dd..1fd71cc249a 100644 --- a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackContextTest.java +++ b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackContextTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackDecoderTest.java b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackDecoderTest.java index 24de82f1303..2f2e6f79579 100644 --- a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackDecoderTest.java +++ b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackDecoderTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackEncoderTest.java b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackEncoderTest.java index 2d21fd76655..b46814206fe 100644 --- a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackEncoderTest.java +++ b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackEncoderTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackPerfTest.java b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackPerfTest.java index 51dff11b87e..eec50a0953b 100644 --- a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackPerfTest.java +++ b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackPerfTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackTest.java b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackTest.java index 2337c58b931..a5ff43f886a 100644 --- a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackTest.java +++ b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HpackTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HuffmanTest.java b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HuffmanTest.java index 184091e2ff5..de2f5085a4b 100644 --- a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HuffmanTest.java +++ b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/HuffmanTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/NBitIntegerTest.java b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/NBitIntegerTest.java index 8d3ad4ff84a..b59dd6ac206 100644 --- a/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/NBitIntegerTest.java +++ b/jetty-http2/http2-hpack/src/test/java/org/eclipse/jetty/http2/hpack/NBitIntegerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/module-info.java b/jetty-http2/http2-http-client-transport/src/main/java/module-info.java index 11ec7c05600..4f3b5143551 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/module-info.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/ClientConnectionFactoryOverHTTP2.java b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/ClientConnectionFactoryOverHTTP2.java index b12d1dbd5cd..e18837e900d 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/ClientConnectionFactoryOverHTTP2.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/ClientConnectionFactoryOverHTTP2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/ClientHTTP2StreamEndPoint.java b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/ClientHTTP2StreamEndPoint.java index 447d4b45aab..aa4a4c9152e 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/ClientHTTP2StreamEndPoint.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/ClientHTTP2StreamEndPoint.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HTTPSessionListenerPromise.java b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HTTPSessionListenerPromise.java index f80ca5f8b7b..c8a4490fe30 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HTTPSessionListenerPromise.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HTTPSessionListenerPromise.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpChannelOverHTTP2.java b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpChannelOverHTTP2.java index 391e73182b5..9d76ea11979 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpChannelOverHTTP2.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpChannelOverHTTP2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpClientTransportOverHTTP2.java b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpClientTransportOverHTTP2.java index 4e7544488fd..fc7a28ea704 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpClientTransportOverHTTP2.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpClientTransportOverHTTP2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpConnectionOverHTTP2.java b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpConnectionOverHTTP2.java index 00ab99a8ee3..a91b876724d 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpConnectionOverHTTP2.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpConnectionOverHTTP2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.java b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.java index cf4dcdb76e2..f7135f00625 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpReceiverOverHTTP2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpSenderOverHTTP2.java b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpSenderOverHTTP2.java index 210de5bc0df..8967c4874ac 100644 --- a/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpSenderOverHTTP2.java +++ b/jetty-http2/http2-http-client-transport/src/main/java/org/eclipse/jetty/http2/client/http/HttpSenderOverHTTP2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/AbstractTest.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/AbstractTest.java index babcc7c80ce..de632ad9556 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/AbstractTest.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/AbstractTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/ContentLengthTest.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/ContentLengthTest.java index 61ccf295489..13fea57c110 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/ContentLengthTest.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/ContentLengthTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/DirectHTTP2OverTLSTest.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/DirectHTTP2OverTLSTest.java index 8527d822b46..d705c9d8ea2 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/DirectHTTP2OverTLSTest.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/DirectHTTP2OverTLSTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/EmptyServerHandler.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/EmptyServerHandler.java index a110e643f1b..63618a34dfe 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/EmptyServerHandler.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/EmptyServerHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/HttpClientTransportOverHTTP2Test.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/HttpClientTransportOverHTTP2Test.java index 7322f7c269d..5df2d13d2f7 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/HttpClientTransportOverHTTP2Test.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/HttpClientTransportOverHTTP2Test.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/MaxConcurrentStreamsTest.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/MaxConcurrentStreamsTest.java index aadc6c44a6a..4cb78cffd23 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/MaxConcurrentStreamsTest.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/MaxConcurrentStreamsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/MultiplexedConnectionPoolTest.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/MultiplexedConnectionPoolTest.java new file mode 100644 index 00000000000..7d68e961c7f --- /dev/null +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/MultiplexedConnectionPoolTest.java @@ -0,0 +1,304 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +package org.eclipse.jetty.http2.client.http; + +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.Semaphore; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicReference; +import javax.servlet.ServletException; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.eclipse.jetty.client.ConnectionPool; +import org.eclipse.jetty.client.HttpClient; +import org.eclipse.jetty.client.HttpClientTransport; +import org.eclipse.jetty.client.MultiplexConnectionPool; +import org.eclipse.jetty.client.api.Connection; +import org.eclipse.jetty.client.api.ContentResponse; +import org.eclipse.jetty.http2.client.HTTP2Client; +import org.eclipse.jetty.http2.server.HTTP2ServerConnectionFactory; +import org.eclipse.jetty.server.Handler; +import org.eclipse.jetty.server.HttpConfiguration; +import org.eclipse.jetty.server.Request; +import org.eclipse.jetty.server.Server; +import org.eclipse.jetty.server.ServerConnector; +import org.eclipse.jetty.util.Pool; +import org.hamcrest.Matchers; +import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.Test; + +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.Matchers.is; +import static org.junit.jupiter.api.Assertions.assertTrue; + +// Sibling of ConnectionPoolTest, but using H2 to multiplex connections. +public class MultiplexedConnectionPoolTest +{ + private static final int MAX_MULTIPLEX = 2; + + private Server server; + private ServerConnector connector; + private HttpClient client; + + private void startServer(Handler handler) throws Exception + { + server = new Server(); + HTTP2ServerConnectionFactory http2ServerConnectionFactory = new HTTP2ServerConnectionFactory(new HttpConfiguration()); + http2ServerConnectionFactory.setMaxConcurrentStreams(MAX_MULTIPLEX); + connector = new ServerConnector(server, 1, 1, http2ServerConnectionFactory); + server.addConnector(connector); + server.setHandler(handler); + server.start(); + } + + @AfterEach + public void disposeServer() throws Exception + { + connector = null; + if (server != null) + { + server.stop(); + server = null; + } + } + + @AfterEach + public void disposeClient() throws Exception + { + if (client != null) + { + client.stop(); + client = null; + } + } + + @Test + public void testMaxDurationConnectionsWithMultiplexedPool() throws Exception + { + final int maxDuration = 30; + AtomicInteger poolCreateCounter = new AtomicInteger(); + AtomicInteger poolRemoveCounter = new AtomicInteger(); + AtomicReference> poolRef = new AtomicReference<>(); + ConnectionPoolFactory factory = new ConnectionPoolFactory("duplex-maxDuration", destination -> + { + int maxConnections = destination.getHttpClient().getMaxConnectionsPerDestination(); + Pool pool = new Pool<>(Pool.StrategyType.FIRST, maxConnections, false); + poolRef.set(pool); + MultiplexConnectionPool connectionPool = new MultiplexConnectionPool(destination, pool, destination, MAX_MULTIPLEX) + { + @Override + protected void onCreated(Connection connection) + { + poolCreateCounter.incrementAndGet(); + } + + @Override + protected void removed(Connection connection) + { + poolRemoveCounter.incrementAndGet(); + } + }; + connectionPool.setMaxDuration(maxDuration); + return connectionPool; + }); + + startServer(new EmptyServerHandler()); + + HttpClientTransport transport = new HttpClientTransportOverHTTP2(new HTTP2Client()); + transport.setConnectionPoolFactory(factory.factory); + client = new HttpClient(transport); + client.start(); + + // Use the connection pool 5 times with a delay that is longer than the max duration in between each time. + for (int i = 0; i < 5; i++) + { + ContentResponse response = client.newRequest("localhost", connector.getLocalPort()) + .timeout(5, TimeUnit.SECONDS) + .send(); + assertThat(response.getStatus(), Matchers.is(200)); + + // Check that the pool never grows above 1. + assertThat(poolRef.get().size(), is(1)); + + Thread.sleep(maxDuration * 2); + } + + // Check that the pool created 5 and removed 4 connections; + // it must be exactly 4 removed b/c while the pool is not + // constrained, it can multiplex requests on a single connection + // so that should prevent opening more connections than needed. + assertThat(poolCreateCounter.get(), is(5)); + assertThat(poolRemoveCounter.get(), is(4)); + } + + @Test + public void testMaxDurationConnectionsWithMultiplexedPoolClosesExpiredConnectionWhileStillInUse() throws Exception + { + final int maxDuration = 1000; + final int maxIdle = 2000; + + AtomicInteger poolCreateCounter = new AtomicInteger(); + AtomicInteger poolRemoveCounter = new AtomicInteger(); + AtomicReference> poolRef = new AtomicReference<>(); + ConnectionPoolFactory factory = new ConnectionPoolFactory("duplex-maxDuration", destination -> + { + int maxConnections = destination.getHttpClient().getMaxConnectionsPerDestination(); + Pool pool = new Pool<>(Pool.StrategyType.FIRST, maxConnections, false); + poolRef.set(pool); + MultiplexConnectionPool connectionPool = new MultiplexConnectionPool(destination, pool, destination, MAX_MULTIPLEX) + { + @Override + protected void onCreated(Connection connection) + { + poolCreateCounter.incrementAndGet(); + } + + @Override + protected void removed(Connection connection) + { + poolRemoveCounter.incrementAndGet(); + } + }; + connectionPool.setMaxDuration(maxDuration); + return connectionPool; + }); + + Semaphore handlerSignalingSemaphore = new Semaphore(0); + Semaphore handlerWaitingSemaphore = new Semaphore(0); + startServer(new EmptyServerHandler() + { + @Override + protected void service(String target, Request jettyRequest, HttpServletRequest request, HttpServletResponse response) throws ServletException + { + if (!target.equals("/block")) + return; + + handlerSignalingSemaphore.release(); + + try + { + handlerWaitingSemaphore.acquire(); + } + catch (Exception e) + { + throw new ServletException(e); + } + } + }); + + HttpClientTransport transport = new HttpClientTransportOverHTTP2(new HTTP2Client()); + transport.setConnectionPoolFactory(factory.factory); + client = new HttpClient(transport); + client.setIdleTimeout(maxIdle); + client.start(); + + CountDownLatch latch1 = new CountDownLatch(1); + CountDownLatch latch2 = new CountDownLatch(2); + // create 2 requests that are going to consume all the multiplexing slots + client.newRequest("localhost", connector.getLocalPort()) + .path("/block") + .timeout(5, TimeUnit.SECONDS) + .send(result -> + { + if (result.isSucceeded()) + { + latch1.countDown(); + latch2.countDown(); + } + }); + + // wait for the 1st request to be serviced to make sure only 1 connection gets created + handlerSignalingSemaphore.acquire(); + + client.newRequest("localhost", connector.getLocalPort()) + .path("/block") + .timeout(5, TimeUnit.SECONDS) + .send(result -> + { + if (result.isSucceeded()) + { + latch1.countDown(); + latch2.countDown(); + } + }); + + // wait for both requests to start being serviced + handlerSignalingSemaphore.acquire(); + + assertThat(poolCreateCounter.get(), is(1)); + + // finalize 1 request, freeing up 1 multiplexing slot + handlerWaitingSemaphore.release(); + // wait until 1st request finished + assertTrue(latch1.await(5, TimeUnit.SECONDS)); + + assertThat(poolRef.get().getInUseCount(), is(1)); + assertThat(poolRef.get().getIdleCount(), is(0)); + assertThat(poolRef.get().getClosedCount(), is(0)); + assertThat(poolRef.get().size(), is(1)); + + // wait for the connection to expire + Thread.sleep(maxDuration + 500); + + // send a 3rd request that will close the expired multiplexed connection + ContentResponse response = client.newRequest("localhost", connector.getLocalPort()) + .path("/do-not-block") + .timeout(5, TimeUnit.SECONDS) + .send(); + assertThat(response.getStatus(), is(200)); + + assertThat(poolRef.get().getInUseCount(), is(0)); + assertThat(poolRef.get().getIdleCount(), is(1)); + assertThat(poolRef.get().getClosedCount(), is(1)); + assertThat(poolRef.get().size(), is(2)); + + // unblock 2nd request + handlerWaitingSemaphore.release(); + //wait until 2nd request finished + assertTrue(latch2.await(5, TimeUnit.SECONDS)); + + assertThat(poolRef.get().getInUseCount(), is(0)); + assertThat(poolRef.get().getIdleCount(), is(1)); + assertThat(poolRef.get().getClosedCount(), is(0)); + assertThat(poolRef.get().size(), is(1)); + assertThat(poolCreateCounter.get(), is(2)); + + // wait for idle connections to be closed + Thread.sleep(maxIdle + 500); + + assertThat(poolRef.get().getIdleCount(), is(0)); + assertThat(poolRef.get().size(), is(0)); + assertThat(poolRemoveCounter.get(), is(3)); + } + + private static class ConnectionPoolFactory + { + private final String name; + private final ConnectionPool.Factory factory; + + private ConnectionPoolFactory(String name, ConnectionPool.Factory factory) + { + this.name = name; + this.factory = factory; + } + + @Override + public String toString() + { + return name; + } + } +} diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/PushedResourcesTest.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/PushedResourcesTest.java index 5afca0b7e27..cf1e89d5a88 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/PushedResourcesTest.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/PushedResourcesTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/RequestTrailersTest.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/RequestTrailersTest.java index e069e04ff53..1d8a9b2113e 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/RequestTrailersTest.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/RequestTrailersTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/ResponseTrailerTest.java b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/ResponseTrailerTest.java index c5674fb3a17..ed7c60e3819 100644 --- a/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/ResponseTrailerTest.java +++ b/jetty-http2/http2-http-client-transport/src/test/java/org/eclipse/jetty/http2/client/http/ResponseTrailerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/module-info.java b/jetty-http2/http2-server/src/main/java/module-info.java index 98bf72373ce..ac6252dff88 100644 --- a/jetty-http2/http2-server/src/main/java/module-info.java +++ b/jetty-http2/http2-server/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/AbstractHTTP2ServerConnectionFactory.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/AbstractHTTP2ServerConnectionFactory.java index ea2823e4c69..76b91c92776 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/AbstractHTTP2ServerConnectionFactory.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/AbstractHTTP2ServerConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2CServerConnectionFactory.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2CServerConnectionFactory.java index e0d86c91902..a3ce8776d5c 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2CServerConnectionFactory.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2CServerConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnection.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnection.java index 3f1d4eaaa3a..f3037941374 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnection.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnectionFactory.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnectionFactory.java index f7a11ba4622..c743ab27256 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnectionFactory.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerSession.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerSession.java index e0d884ba967..28774d2c01e 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerSession.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HTTP2ServerSession.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpChannelOverHTTP2.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpChannelOverHTTP2.java index 71af340e7cb..659f6f6d860 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpChannelOverHTTP2.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpChannelOverHTTP2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpTransportOverHTTP2.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpTransportOverHTTP2.java index f89bf07f291..8b5565d2df8 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpTransportOverHTTP2.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpTransportOverHTTP2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/RawHTTP2ServerConnectionFactory.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/RawHTTP2ServerConnectionFactory.java index 81372f649e1..f951e1b577d 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/RawHTTP2ServerConnectionFactory.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/RawHTTP2ServerConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/ServerHTTP2StreamEndPoint.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/ServerHTTP2StreamEndPoint.java index 25047f1f362..5466ba2ac7d 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/ServerHTTP2StreamEndPoint.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/ServerHTTP2StreamEndPoint.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/AbstractServerTest.java b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/AbstractServerTest.java index 91c3a5e5a60..2fd8e7cea40 100644 --- a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/AbstractServerTest.java +++ b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/AbstractServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/CloseTest.java b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/CloseTest.java index 6aa25228b73..cb7df03887c 100644 --- a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/CloseTest.java +++ b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/CloseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/H2SpecServer.java b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/H2SpecServer.java index 44eb81d93ed..3ff8e0e2bd1 100644 --- a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/H2SpecServer.java +++ b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/H2SpecServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2CServer.java b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2CServer.java index bf8c7c0f5fe..2721716770f 100644 --- a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2CServer.java +++ b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2CServer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2CServerTest.java b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2CServerTest.java index 6b72128f153..d950a6498ca 100644 --- a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2CServerTest.java +++ b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2CServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java index 922e9d57be3..8ce55129046 100644 --- a/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java +++ b/jetty-http2/http2-server/src/test/java/org/eclipse/jetty/http2/server/HTTP2ServerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/BoundDelegatingInputStream.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/BoundDelegatingInputStream.java index 7aeacbbd7a9..790aab7205e 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/BoundDelegatingInputStream.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/BoundDelegatingInputStream.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanKeyBuilder.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanKeyBuilder.java index 0570b1aab8c..76d4a527261 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanKeyBuilder.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanKeyBuilder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionData.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionData.java index df3cd4445fa..614e518bea0 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionData.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionData.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionDataStore.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionDataStore.java index 2d7ba16d908..30688868355 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionDataStore.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionDataStore.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionDataStoreFactory.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionDataStoreFactory.java index 5f197c592fd..c0c2bcf646a 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionDataStoreFactory.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionDataStoreFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionLegacyConverter.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionLegacyConverter.java index e73bbc3ee84..03fff50bfad 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionLegacyConverter.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/InfinispanSessionLegacyConverter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/NullQueryManagerFactory.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/NullQueryManagerFactory.java index dd598336c7d..584e258bce8 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/NullQueryManagerFactory.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/NullQueryManagerFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/QueryManager.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/QueryManager.java index c6e7cc77e2a..8d4fc54c33e 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/QueryManager.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/QueryManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/QueryManagerFactory.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/QueryManagerFactory.java index ba6ed123349..8ec9436850f 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/QueryManagerFactory.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/QueryManagerFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/SessionDataMarshaller.java b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/SessionDataMarshaller.java index 1ce72d8ad1a..f470b753f73 100644 --- a/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/SessionDataMarshaller.java +++ b/jetty-infinispan/infinispan-common/src/main/java/org/eclipse/jetty/session/infinispan/SessionDataMarshaller.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-embedded-query/src/main/java/org/eclipse/jetty/session/infinispan/EmbeddedQueryManager.java b/jetty-infinispan/infinispan-embedded-query/src/main/java/org/eclipse/jetty/session/infinispan/EmbeddedQueryManager.java index 77d2a2559b7..a91c1208a75 100644 --- a/jetty-infinispan/infinispan-embedded-query/src/main/java/org/eclipse/jetty/session/infinispan/EmbeddedQueryManager.java +++ b/jetty-infinispan/infinispan-embedded-query/src/main/java/org/eclipse/jetty/session/infinispan/EmbeddedQueryManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-embedded-query/src/main/java/org/eclipse/jetty/session/infinispan/EmbeddedQueryManagerFactory.java b/jetty-infinispan/infinispan-embedded-query/src/main/java/org/eclipse/jetty/session/infinispan/EmbeddedQueryManagerFactory.java index d690ba20321..51d7f6b0b29 100644 --- a/jetty-infinispan/infinispan-embedded-query/src/main/java/org/eclipse/jetty/session/infinispan/EmbeddedQueryManagerFactory.java +++ b/jetty-infinispan/infinispan-embedded-query/src/main/java/org/eclipse/jetty/session/infinispan/EmbeddedQueryManagerFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-embedded-query/src/test/java/org/eclipse/jetty/server/session/infinispan/EmbeddedQueryManagerTest.java b/jetty-infinispan/infinispan-embedded-query/src/test/java/org/eclipse/jetty/server/session/infinispan/EmbeddedQueryManagerTest.java index 18113ff0d19..6d7c9a9c9dc 100644 --- a/jetty-infinispan/infinispan-embedded-query/src/test/java/org/eclipse/jetty/server/session/infinispan/EmbeddedQueryManagerTest.java +++ b/jetty-infinispan/infinispan-embedded-query/src/test/java/org/eclipse/jetty/server/session/infinispan/EmbeddedQueryManagerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-remote-query/src/main/java/org/eclipse/jetty/session/infinispan/RemoteQueryManager.java b/jetty-infinispan/infinispan-remote-query/src/main/java/org/eclipse/jetty/session/infinispan/RemoteQueryManager.java index 27de97a04da..96c9abcf51a 100644 --- a/jetty-infinispan/infinispan-remote-query/src/main/java/org/eclipse/jetty/session/infinispan/RemoteQueryManager.java +++ b/jetty-infinispan/infinispan-remote-query/src/main/java/org/eclipse/jetty/session/infinispan/RemoteQueryManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-remote-query/src/main/java/org/eclipse/jetty/session/infinispan/RemoteQueryManagerFactory.java b/jetty-infinispan/infinispan-remote-query/src/main/java/org/eclipse/jetty/session/infinispan/RemoteQueryManagerFactory.java index d1d7f6ee24c..96de60771ae 100644 --- a/jetty-infinispan/infinispan-remote-query/src/main/java/org/eclipse/jetty/session/infinispan/RemoteQueryManagerFactory.java +++ b/jetty-infinispan/infinispan-remote-query/src/main/java/org/eclipse/jetty/session/infinispan/RemoteQueryManagerFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-infinispan/infinispan-remote-query/src/test/java/org/eclipse/jetty/server/session/infinispan/RemoteQueryManagerTest.java b/jetty-infinispan/infinispan-remote-query/src/test/java/org/eclipse/jetty/server/session/infinispan/RemoteQueryManagerTest.java index 161e11a971b..89ec05558d4 100644 --- a/jetty-infinispan/infinispan-remote-query/src/test/java/org/eclipse/jetty/server/session/infinispan/RemoteQueryManagerTest.java +++ b/jetty-infinispan/infinispan-remote-query/src/test/java/org/eclipse/jetty/server/session/infinispan/RemoteQueryManagerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/module-info.java b/jetty-io/src/main/java/module-info.java index f72f2f3be50..ddf7a4b2162 100644 --- a/jetty-io/src/main/java/module-info.java +++ b/jetty-io/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractByteBufferPool.java b/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractByteBufferPool.java index 18532175708..db6cb7ed56c 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractByteBufferPool.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractByteBufferPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java b/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java index e4f09e4d5c6..92d34d66605 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractEndPoint.java index c693e1596c2..c30fe3652ec 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractEndPoint.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/AbstractEndPoint.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java index 384d08ffca0..7b37401be5a 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ArrayByteBufferPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteArrayEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteArrayEndPoint.java index fbee39bfd10..fd672e39912 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteArrayEndPoint.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteArrayEndPoint.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferAccumulator.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferAccumulator.java index 3a10af3d319..295cfaaaa98 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferAccumulator.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferAccumulator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferOutputStream.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferOutputStream.java index 2367e929ff8..ebab5093cd2 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferOutputStream.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferOutputStream.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferOutputStream2.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferOutputStream2.java index 7caaa91fd12..b5e4427f3cb 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferOutputStream2.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferOutputStream2.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferPool.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferPool.java index dd48b4cfcbe..e752453475e 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferPool.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ByteBufferPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnectionFactory.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnectionFactory.java index 392ccf0e6d3..1d19e666fbb 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnectionFactory.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnector.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnector.java index 21d32db78c0..f2d5ebb4ce8 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnector.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ClientConnector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/Connection.java b/jetty-io/src/main/java/org/eclipse/jetty/io/Connection.java index 3f75852937a..30493cef654 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/Connection.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/Connection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ConnectionStatistics.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ConnectionStatistics.java index 5f520e20765..e858c7a4325 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ConnectionStatistics.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ConnectionStatistics.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -14,8 +14,6 @@ package org.eclipse.jetty.io; import java.io.IOException; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.atomic.LongAdder; import org.eclipse.jetty.util.annotation.ManagedAttribute; @@ -24,6 +22,7 @@ import org.eclipse.jetty.util.annotation.ManagedOperation; import org.eclipse.jetty.util.component.AbstractLifeCycle; import org.eclipse.jetty.util.component.Dumpable; import org.eclipse.jetty.util.statistic.CounterStatistic; +import org.eclipse.jetty.util.statistic.RateCounter; import org.eclipse.jetty.util.statistic.SampleStatistic; /** @@ -38,28 +37,29 @@ public class ConnectionStatistics extends AbstractLifeCycle implements Connectio { private final CounterStatistic _connections = new CounterStatistic(); private final SampleStatistic _connectionsDuration = new SampleStatistic(); - private final LongAdder _rcvdBytes = new LongAdder(); - private final AtomicLong _bytesInStamp = new AtomicLong(); - private final LongAdder _sentBytes = new LongAdder(); - private final AtomicLong _bytesOutStamp = new AtomicLong(); + + private final LongAdder _bytesIn = new LongAdder(); + private final LongAdder _bytesOut = new LongAdder(); private final LongAdder _messagesIn = new LongAdder(); - private final AtomicLong _messagesInStamp = new AtomicLong(); private final LongAdder _messagesOut = new LongAdder(); - private final AtomicLong _messagesOutStamp = new AtomicLong(); + private final RateCounter _bytesInRate = new RateCounter(); + private final RateCounter _bytesOutRate = new RateCounter(); + private final RateCounter _messagesInRate = new RateCounter(); + private final RateCounter _messagesOutRate = new RateCounter(); @ManagedOperation(value = "Resets the statistics", impact = "ACTION") public void reset() { _connections.reset(); _connectionsDuration.reset(); - _rcvdBytes.reset(); - _bytesInStamp.set(System.nanoTime()); - _sentBytes.reset(); - _bytesOutStamp.set(System.nanoTime()); + _bytesIn.reset(); + _bytesOut.reset(); _messagesIn.reset(); - _messagesInStamp.set(System.nanoTime()); _messagesOut.reset(); - _messagesOutStamp.set(System.nanoTime()); + _bytesInRate.reset(); + _bytesOutRate.reset(); + _messagesInRate.reset(); + _messagesOutRate.reset(); } @Override @@ -84,53 +84,63 @@ public class ConnectionStatistics extends AbstractLifeCycle implements Connectio return; _connections.decrement(); - - long elapsed = System.currentTimeMillis() - connection.getCreatedTimeStamp(); - _connectionsDuration.record(elapsed); + _connectionsDuration.record(System.currentTimeMillis() - connection.getCreatedTimeStamp()); long bytesIn = connection.getBytesIn(); if (bytesIn > 0) - _rcvdBytes.add(bytesIn); + { + _bytesIn.add(bytesIn); + _bytesInRate.add(bytesIn); + } + long bytesOut = connection.getBytesOut(); if (bytesOut > 0) - _sentBytes.add(bytesOut); + { + _bytesOut.add(bytesOut); + _bytesOutRate.add(bytesOut); + } long messagesIn = connection.getMessagesIn(); if (messagesIn > 0) + { _messagesIn.add(messagesIn); + _messagesInRate.add(messagesIn); + } + long messagesOut = connection.getMessagesOut(); if (messagesOut > 0) + { _messagesOut.add(messagesOut); + _messagesOutRate.add(messagesOut); + } } @ManagedAttribute("Total number of bytes received by tracked connections") public long getReceivedBytes() { - return _rcvdBytes.sum(); + return _bytesIn.sum(); } @ManagedAttribute("Total number of bytes received per second since the last invocation of this method") public long getReceivedBytesRate() { - long now = System.nanoTime(); - long then = _bytesInStamp.getAndSet(now); - long elapsed = TimeUnit.NANOSECONDS.toMillis(now - then); - return elapsed == 0 ? 0 : getReceivedBytes() * 1000 / elapsed; + long rate = _bytesInRate.getRate(); + _bytesInRate.reset(); + return rate; } @ManagedAttribute("Total number of bytes sent by tracked connections") public long getSentBytes() { - return _sentBytes.sum(); + return _bytesOut.sum(); } @ManagedAttribute("Total number of bytes sent per second since the last invocation of this method") public long getSentBytesRate() { - long now = System.nanoTime(); - long then = _bytesOutStamp.getAndSet(now); - long elapsed = TimeUnit.NANOSECONDS.toMillis(now - then); - return elapsed == 0 ? 0 : getSentBytes() * 1000 / elapsed; + long rate = _bytesOutRate.getRate(); + _bytesOutRate.reset(); + return rate; } @ManagedAttribute("The max duration of a connection in ms") @@ -178,10 +188,9 @@ public class ConnectionStatistics extends AbstractLifeCycle implements Connectio @ManagedAttribute("Total number of messages received per second since the last invocation of this method") public long getReceivedMessagesRate() { - long now = System.nanoTime(); - long then = _messagesInStamp.getAndSet(now); - long elapsed = TimeUnit.NANOSECONDS.toMillis(now - then); - return elapsed == 0 ? 0 : getReceivedMessages() * 1000 / elapsed; + long rate = _messagesInRate.getRate(); + _messagesInRate.reset(); + return rate; } @ManagedAttribute("The total number of messages sent") @@ -193,10 +202,9 @@ public class ConnectionStatistics extends AbstractLifeCycle implements Connectio @ManagedAttribute("Total number of messages sent per second since the last invocation of this method") public long getSentMessagesRate() { - long now = System.nanoTime(); - long then = _messagesOutStamp.getAndSet(now); - long elapsed = TimeUnit.NANOSECONDS.toMillis(now - then); - return elapsed == 0 ? 0 : getSentMessages() * 1000 / elapsed; + long rate = _messagesOutRate.getRate(); + _messagesOutRate.reset(); + return rate; } @Override diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/CyclicTimeout.java b/jetty-io/src/main/java/org/eclipse/jetty/io/CyclicTimeout.java index e21a08047b0..76e1fc9dda9 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/CyclicTimeout.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/CyclicTimeout.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/EndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/EndPoint.java index 9595cd75e58..38b7ecae3b9 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/EndPoint.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/EndPoint.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/EofException.java b/jetty-io/src/main/java/org/eclipse/jetty/io/EofException.java index 46db19dd5a8..13db391cdc9 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/EofException.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/EofException.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java b/jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java index 9aac8a44a7e..3f2115f802a 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/FillInterest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/IdleTimeout.java b/jetty-io/src/main/java/org/eclipse/jetty/io/IdleTimeout.java index 4ceb0692660..360115c95c3 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/IdleTimeout.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/IdleTimeout.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/IncludeExcludeConnectionStatistics.java b/jetty-io/src/main/java/org/eclipse/jetty/io/IncludeExcludeConnectionStatistics.java index 437e6c3c070..af90aed6682 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/IncludeExcludeConnectionStatistics.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/IncludeExcludeConnectionStatistics.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/LeakTrackingByteBufferPool.java b/jetty-io/src/main/java/org/eclipse/jetty/io/LeakTrackingByteBufferPool.java index b327632907a..39150cb6438 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/LeakTrackingByteBufferPool.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/LeakTrackingByteBufferPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java index 0ff2046b1f6..9377118b6be 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ManagedSelector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -40,9 +40,12 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import org.eclipse.jetty.util.IO; +import org.eclipse.jetty.util.annotation.ManagedAttribute; +import org.eclipse.jetty.util.annotation.ManagedOperation; import org.eclipse.jetty.util.component.ContainerLifeCycle; import org.eclipse.jetty.util.component.Dumpable; import org.eclipse.jetty.util.component.DumpableCollection; +import org.eclipse.jetty.util.statistic.SampleStatistic; import org.eclipse.jetty.util.thread.AutoLock; import org.eclipse.jetty.util.thread.ExecutionStrategy; import org.eclipse.jetty.util.thread.Scheduler; @@ -84,6 +87,7 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable private Selector _selector; private Deque _updates = new ArrayDeque<>(); private Deque _updateable = new ArrayDeque<>(); + private final SampleStatistic _keyStats = new SampleStatistic(); public ManagedSelector(SelectorManager selectorManager, int id) { @@ -141,6 +145,36 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable super.doStop(); } + @ManagedAttribute(value = "Total number of keys", readonly = true) + public int getTotalKeys() + { + return _selector.keys().size(); + } + + @ManagedAttribute(value = "Average number of selected keys", readonly = true) + public double getAverageSelectedKeys() + { + return _keyStats.getMean(); + } + + @ManagedAttribute(value = "Maximum number of selected keys", readonly = true) + public double getMaxSelectedKeys() + { + return _keyStats.getMax(); + } + + @ManagedAttribute(value = "Total number of select() calls", readonly = true) + public long getSelectCount() + { + return _keyStats.getCount(); + } + + @ManagedOperation(value = "Resets the statistics", impact = "ACTION") + public void resetStats() + { + _keyStats.reset(); + } + protected int nioSelect(Selector selector, boolean now) throws IOException { return now ? selector.selectNow() : selector.select(); @@ -584,9 +618,12 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable } _keys = selector.selectedKeys(); - _cursor = _keys.isEmpty() ? Collections.emptyIterator() : _keys.iterator(); + int selectedKeys = _keys.size(); + if (selectedKeys > 0) + _keyStats.record(selectedKeys); + _cursor = selectedKeys > 0 ? _keys.iterator() : Collections.emptyIterator(); if (LOG.isDebugEnabled()) - LOG.debug("Selector {} processing {} keys, {} updates", selector, _keys.size(), updates); + LOG.debug("Selector {} processing {} keys, {} updates", selector, selectedKeys, updates); return true; } diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/MappedByteBufferPool.java b/jetty-io/src/main/java/org/eclipse/jetty/io/MappedByteBufferPool.java index 6c9cfc1d63a..e8a14c53941 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/MappedByteBufferPool.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/MappedByteBufferPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnection.java b/jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnection.java index 96f6abb0f25..552255d341e 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnection.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnectionFactory.java b/jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnectionFactory.java index 03b590562a1..2547292760e 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnectionFactory.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/NegotiatingClientConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficListener.java b/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficListener.java index a54d51fffeb..be6035dcd34 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficListener.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSocketChannelEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSocketChannelEndPoint.java index 3f3867702fd..c8c671cc52e 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSocketChannelEndPoint.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/NetworkTrafficSocketChannelEndPoint.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/NullByteBufferPool.java b/jetty-io/src/main/java/org/eclipse/jetty/io/NullByteBufferPool.java index 7a9cbec1884..92eb30ed0e2 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/NullByteBufferPool.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/NullByteBufferPool.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/QuietException.java b/jetty-io/src/main/java/org/eclipse/jetty/io/QuietException.java index 65a3cfabc23..1c2e8c9a9f7 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/QuietException.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/QuietException.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/RetainableByteBuffer.java b/jetty-io/src/main/java/org/eclipse/jetty/io/RetainableByteBuffer.java index 8f9f8f295c4..1ab6d1ffb2e 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/RetainableByteBuffer.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/RetainableByteBuffer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/RuntimeIOException.java b/jetty-io/src/main/java/org/eclipse/jetty/io/RuntimeIOException.java index e78773b4530..37b060e0ccd 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/RuntimeIOException.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/RuntimeIOException.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java b/jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java index 7df7c75b6fd..70e16c491d6 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/SelectorManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/SocketChannelEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/SocketChannelEndPoint.java index dfc81d4f7f9..2dbcb434fd0 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/SocketChannelEndPoint.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/SocketChannelEndPoint.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java b/jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java index 7b2422e5b55..49f90305956 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/WriterOutputStream.java b/jetty-io/src/main/java/org/eclipse/jetty/io/WriterOutputStream.java index cda25b578d3..8c83e18afae 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/WriterOutputStream.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/WriterOutputStream.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/package-info.java b/jetty-io/src/main/java/org/eclipse/jetty/io/package-info.java index 8d1b5c6b6f9..8c79752ea7d 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/package-info.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/ALPNProcessor.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/ALPNProcessor.java index 0d6bc0d56b6..ece7098ffd6 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/ALPNProcessor.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/ALPNProcessor.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java index 8c9220892c1..2be94195ae7 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslClientConnectionFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java index ac5ce6ff352..1e08aa38f63 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslHandshakeListener.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslHandshakeListener.java index 405b5bd0254..6bcb35af15f 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslHandshakeListener.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/SslHandshakeListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/package-info.java b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/package-info.java index 772a76631b7..0449b4a1b1f 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/package-info.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/ssl/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/ArrayByteBufferPoolTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/ArrayByteBufferPoolTest.java index 1e428d86690..d609d29380a 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/ArrayByteBufferPoolTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/ArrayByteBufferPoolTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/ByteArrayEndPointTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/ByteArrayEndPointTest.java index b97eb0f0162..af23aab13b1 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/ByteArrayEndPointTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/ByteArrayEndPointTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/ByteBufferAccumulatorTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/ByteBufferAccumulatorTest.java index 4abc56f1c7e..0f469a1773e 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/ByteBufferAccumulatorTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/ByteBufferAccumulatorTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/CyclicTimeoutTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/CyclicTimeoutTest.java index 55f2292b06b..a304ab2011a 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/CyclicTimeoutTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/CyclicTimeoutTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/IOTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/IOTest.java index c3bef763264..972e491c6a5 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/IOTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/IOTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/IdleTimeoutTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/IdleTimeoutTest.java index 3e938507107..5e2424f254e 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/IdleTimeoutTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/IdleTimeoutTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/MappedByteBufferPoolTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/MappedByteBufferPoolTest.java index cba87cb8f2f..4171f1c23a7 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/MappedByteBufferPoolTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/MappedByteBufferPoolTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/NIOTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/NIOTest.java index 8050fc9e4fa..add9c7aa48e 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/NIOTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/NIOTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/SelectorManagerTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/SelectorManagerTest.java index a916aa8c6c3..68eb13bb47e 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/SelectorManagerTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/SelectorManagerTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointInterestsTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointInterestsTest.java index 846404988c1..93f31847a72 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointInterestsTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointInterestsTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointOpenCloseTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointOpenCloseTest.java index f1baf27b8cb..e86c1560cd0 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointOpenCloseTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointOpenCloseTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointTest.java index 7daf93aa1cd..c20d731c11c 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/SocketChannelEndPointTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java index cd09469b557..2af22cd3cfc 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/SslConnectionTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-io/src/test/java/org/eclipse/jetty/io/WriteFlusherTest.java b/jetty-io/src/test/java/org/eclipse/jetty/io/WriteFlusherTest.java index 8b04a125bdc..24aa31bbe6c 100644 --- a/jetty-io/src/test/java/org/eclipse/jetty/io/WriteFlusherTest.java +++ b/jetty-io/src/test/java/org/eclipse/jetty/io/WriteFlusherTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/module-info.java b/jetty-jaas/src/main/java/module-info.java index 77bd56211d3..0cb97ebe593 100644 --- a/jetty-jaas/src/main/java/module-info.java +++ b/jetty-jaas/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASLoginService.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASLoginService.java index 89eb2b56e37..3f1a7e6fb9a 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASLoginService.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASLoginService.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASPrincipal.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASPrincipal.java index 17d8beb2332..274e04d118e 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASPrincipal.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASPrincipal.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASRole.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASRole.java index 0bf2b15f0b6..130f23d6506 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASRole.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASRole.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASUserPrincipal.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASUserPrincipal.java index 5e072597777..2d88938a334 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASUserPrincipal.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/JAASUserPrincipal.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/PropertyUserStoreManager.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/PropertyUserStoreManager.java index e371194b512..efb9a82fca2 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/PropertyUserStoreManager.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/PropertyUserStoreManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/AbstractCallbackHandler.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/AbstractCallbackHandler.java index 2d82987f49a..c9b9766d759 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/AbstractCallbackHandler.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/AbstractCallbackHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/DefaultCallbackHandler.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/DefaultCallbackHandler.java index fe972c4efcc..ffdfed09c33 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/DefaultCallbackHandler.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/DefaultCallbackHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/ObjectCallback.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/ObjectCallback.java index b6f73823336..b2a753fc5ee 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/ObjectCallback.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/ObjectCallback.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/RequestParameterCallback.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/RequestParameterCallback.java index 171ab5f0839..a8771b55fdb 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/RequestParameterCallback.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/RequestParameterCallback.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/ServletRequestCallback.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/ServletRequestCallback.java index fd43ffbbb8b..23a5419c50d 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/ServletRequestCallback.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/ServletRequestCallback.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/package-info.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/package-info.java index fda8aabf9fd..5abb98547b8 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/package-info.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/callback/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/package-info.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/package-info.java index 52de18515fc..4793fd7836d 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/package-info.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/AbstractDatabaseLoginModule.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/AbstractDatabaseLoginModule.java index 689702ad02a..a60ee8b7362 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/AbstractDatabaseLoginModule.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/AbstractDatabaseLoginModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/AbstractLoginModule.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/AbstractLoginModule.java index c8506bf40f3..3c64b7de5c3 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/AbstractLoginModule.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/AbstractLoginModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/DataSourceLoginModule.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/DataSourceLoginModule.java index 4ed46e10d94..7b27200ab16 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/DataSourceLoginModule.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/DataSourceLoginModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/JDBCLoginModule.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/JDBCLoginModule.java index aca58e53645..c4fc0f1925e 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/JDBCLoginModule.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/JDBCLoginModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/LdapLoginModule.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/LdapLoginModule.java index c3efdefae5f..26abd558fd3 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/LdapLoginModule.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/LdapLoginModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/PropertyFileLoginModule.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/PropertyFileLoginModule.java index c90ab405fd6..bc27ca7abd0 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/PropertyFileLoginModule.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/PropertyFileLoginModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/package-info.java b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/package-info.java index 445b6ce7f2a..e4206395e2a 100644 --- a/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/package-info.java +++ b/jetty-jaas/src/main/java/org/eclipse/jetty/jaas/spi/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/JAASLdapLoginServiceTest.java b/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/JAASLdapLoginServiceTest.java index e0f5eb87627..dfa09040dab 100644 --- a/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/JAASLdapLoginServiceTest.java +++ b/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/JAASLdapLoginServiceTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/JAASLoginServiceTest.java b/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/JAASLoginServiceTest.java index d228ab1417f..39029f0d7c7 100644 --- a/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/JAASLoginServiceTest.java +++ b/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/JAASLoginServiceTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/TestLoginModule.java b/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/TestLoginModule.java index cfec3f0b5f5..fd137507b90 100644 --- a/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/TestLoginModule.java +++ b/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/TestLoginModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/spi/PropertyFileLoginModuleTest.java b/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/spi/PropertyFileLoginModuleTest.java index 0c74975e456..4eb978d104f 100644 --- a/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/spi/PropertyFileLoginModuleTest.java +++ b/jetty-jaas/src/test/java/org/eclipse/jetty/jaas/spi/PropertyFileLoginModuleTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/module-info.java b/jetty-jaspi/src/main/java/module-info.java index ec98d975653..67117b0c027 100644 --- a/jetty-jaspi/src/main/java/module-info.java +++ b/jetty-jaspi/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticator.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticator.java index 00879bf55ab..2a079a01e3a 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticator.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java index edf95bc0159..7f42cff6c21 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiMessageInfo.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiMessageInfo.java index 45b82beb14e..1522d35e799 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiMessageInfo.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiMessageInfo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/ServletCallbackHandler.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/ServletCallbackHandler.java index 93008419022..0eb60389f16 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/ServletCallbackHandler.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/ServletCallbackHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/SimpleAuthConfig.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/SimpleAuthConfig.java index ba61dc83e1d..c2666943ab8 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/SimpleAuthConfig.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/SimpleAuthConfig.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/callback/CredentialValidationCallback.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/callback/CredentialValidationCallback.java index edcd49a6c5c..d8ecb25e610 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/callback/CredentialValidationCallback.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/callback/CredentialValidationCallback.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/callback/package-info.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/callback/package-info.java index cbe5569a4d6..a7cf1b0ec8a 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/callback/package-info.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/callback/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/BaseAuthModule.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/BaseAuthModule.java index ed91d29fc52..720fd11dc43 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/BaseAuthModule.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/BaseAuthModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/UserInfo.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/UserInfo.java index 11982737f1e..993389a48f9 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/UserInfo.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/UserInfo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/package-info.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/package-info.java index b24583b3063..4789d07f457 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/package-info.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/modules/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/package-info.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/package-info.java index 180eed29a54..4605ab32bba 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/package-info.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/BasicAuthModule.java b/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/BasicAuthModule.java index e69b6b0fff6..72472e00c4b 100644 --- a/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/BasicAuthModule.java +++ b/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/BasicAuthModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/HttpHeaderAuthModule.java b/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/HttpHeaderAuthModule.java index 3748dc0351b..0f8c605ee56 100644 --- a/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/HttpHeaderAuthModule.java +++ b/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/HttpHeaderAuthModule.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/JaspiTest.java b/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/JaspiTest.java index d81cb80ffe1..beffbc39455 100644 --- a/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/JaspiTest.java +++ b/jetty-jaspi/src/test/java/org/eclipse/jetty/security/jaspi/JaspiTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-jmx/src/main/config/etc/jetty-jmx.xml b/jetty-jmx/src/main/config/etc/jetty-jmx.xml index 052fa7cc506..5aadbb66a70 100644 --- a/jetty-jmx/src/main/config/etc/jetty-jmx.xml +++ b/jetty-jmx/src/main/config/etc/jetty-jmx.xml @@ -18,6 +18,12 @@ + + + + + + diff --git a/jetty-jmx/src/main/config/modules/jmx.d/jmx-remote-auth.xml b/jetty-jmx/src/main/config/modules/jmx.d/jmx-remote-auth.xml index 1b7ec95a51f..44ea5a239f4 100644 --- a/jetty-jmx/src/main/config/modules/jmx.d/jmx-remote-auth.xml +++ b/jetty-jmx/src/main/config/modules/jmx.d/jmx-remote-auth.xml @@ -2,7 +2,7 @@ - + diff --git a/jetty-keystore/pom.xml b/jetty-keystore/pom.xml new file mode 100644 index 00000000000..e50b3681226 --- /dev/null +++ b/jetty-keystore/pom.xml @@ -0,0 +1,35 @@ + + + + jetty-project + org.eclipse.jetty + 10.0.1-SNAPSHOT + + 4.0.0 + jetty-keystore + jar + Jetty :: Test Keystore + Test keystore with self-signed SSL Certificate. + + + 1.62 + + + + + org.bouncycastle + bcpkix-jdk15on + ${bouncycastle.version} + + + org.bouncycastle + bcprov-jdk15on + ${bouncycastle.version} + + + org.eclipse.jetty + jetty-util + ${project.version} + + + diff --git a/jetty-keystore/src/main/config/etc/jetty-test-keystore.xml b/jetty-keystore/src/main/config/etc/jetty-test-keystore.xml new file mode 100644 index 00000000000..3781bc57f81 --- /dev/null +++ b/jetty-keystore/src/main/config/etc/jetty-test-keystore.xml @@ -0,0 +1,9 @@ + + + + + + / + + + diff --git a/jetty-keystore/src/main/config/modules/test-keystore.mod b/jetty-keystore/src/main/config/modules/test-keystore.mod new file mode 100644 index 00000000000..6198f30e36e --- /dev/null +++ b/jetty-keystore/src/main/config/modules/test-keystore.mod @@ -0,0 +1,32 @@ +[description] +Test keystore with self-signed SSL Certificate. +DO NOT USE IN PRODUCTION!!! + +[tags] +demo +ssl + +[depend] +ssl + +[files] +maven://org.bouncycastle/bcpkix-jdk15on/${bouncycastle.version}|lib/bouncycastle/bcpkix-jdk15on-${bouncycastle.version}.jar +maven://org.bouncycastle/bcprov-jdk15on/${bouncycastle.version}|lib/bouncycastle/bcprov-jdk15on-${bouncycastle.version}.jar + +[lib] +lib/jetty-keystore-${jetty.version}.jar +lib/bouncycastle/bcpkix-jdk15on-${bouncycastle.version}.jar +lib/bouncycastle/bcprov-jdk15on-${bouncycastle.version}.jar + +[xml] +etc/jetty-test-keystore.xml + +[ini] +bouncycastle.version?=1.62 +jetty.webapp.addServerClasses+=,${jetty.base.uri}/lib/bouncycastle/ +jetty.sslContext.keyStorePath?=etc/test-keystore.p12 +jetty.sslContext.keyStoreType?=PKCS12 +jetty.sslContext.keyStorePassword?=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 +jetty.sslContext.trustStorePath?=etc/test-keystore.p12 +jetty.sslContext.trustStoreType?=PKCS12 +jetty.sslContext.keyStorePassword?=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 diff --git a/jetty-keystore/src/main/java/org/eclipse/jetty/keystore/KeystoreGenerator.java b/jetty-keystore/src/main/java/org/eclipse/jetty/keystore/KeystoreGenerator.java new file mode 100644 index 00000000000..b1452d279d1 --- /dev/null +++ b/jetty-keystore/src/main/java/org/eclipse/jetty/keystore/KeystoreGenerator.java @@ -0,0 +1,83 @@ +// +// ======================================================================== +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. +// +// This program and the accompanying materials are made available under the +// terms of the Eclipse Public License v. 2.0 which is available at +// https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 +// which is available at https://www.apache.org/licenses/LICENSE-2.0. +// +// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 +// ======================================================================== +// + +package org.eclipse.jetty.keystore; + +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.math.BigInteger; +import java.security.KeyPair; +import java.security.KeyPairGenerator; +import java.security.KeyStore; +import java.security.SecureRandom; +import java.security.cert.Certificate; +import java.security.cert.X509Certificate; +import java.time.Duration; +import java.time.Instant; +import java.util.Date; + +import org.bouncycastle.asn1.x500.X500Name; +import org.bouncycastle.cert.X509v3CertificateBuilder; +import org.bouncycastle.cert.jcajce.JcaX509CertificateConverter; +import org.bouncycastle.cert.jcajce.JcaX509v3CertificateBuilder; +import org.bouncycastle.jce.provider.BouncyCastleProvider; +import org.bouncycastle.operator.ContentSigner; +import org.bouncycastle.operator.jcajce.JcaContentSignerBuilder; +import org.eclipse.jetty.util.security.Password; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class KeystoreGenerator +{ + private static final Logger LOG = LoggerFactory.getLogger(KeystoreGenerator.class); + + @SuppressWarnings("unused") + public static File generateTestKeystore(String location, String password) throws Exception + { + LOG.warn("Generating Test Keystore: DO NOT USE IN PRODUCTION!"); + + // Generate an RSA key pair. + KeyPairGenerator keyPairGenerator = KeyPairGenerator.getInstance("RSA"); + keyPairGenerator.initialize(2048); + KeyPair keyPair = keyPairGenerator.generateKeyPair(); + + // Create a self-signed certificate. + Instant start = Instant.now().minus(Duration.ofDays(1)); + Date notBefore = Date.from(start); + Date notAfter = Date.from(start.plus(Duration.ofDays(365))); + BigInteger serial = BigInteger.valueOf(new SecureRandom().nextLong()); + X500Name x500Name = new X500Name("C=US,ST=NE,L=Omaha,O=Webtide,OU=Jetty,CN=localhost"); + X509v3CertificateBuilder certBuilder = new JcaX509v3CertificateBuilder(x500Name, serial, notBefore, notAfter, x500Name, keyPair.getPublic()); + ContentSigner contentSigner = new JcaContentSignerBuilder("SHA256withRSA").build(keyPair.getPrivate()); + X509Certificate certificate = new JcaX509CertificateConverter().setProvider(new BouncyCastleProvider()).getCertificate(certBuilder.build(contentSigner)); + + // Create a keystore using the self-signed certificate. + KeyStore keystore = KeyStore.getInstance("PKCS12"); + char[] pwdCharArray = new Password(password).toString().toCharArray(); + keystore.load(null, pwdCharArray); + keystore.setKeyEntry("jetty-test-keystore", keyPair.getPrivate(), pwdCharArray, new Certificate[]{certificate}); + + // Write keystore out to a file. + File keystoreFile = new File(location); + keystoreFile.deleteOnExit(); + File parentFile = keystoreFile.getAbsoluteFile().getParentFile(); + if (!parentFile.exists() && !parentFile.mkdirs()) + throw new IOException("Could not create directory for test keystore file"); + try (FileOutputStream fos = new FileOutputStream(keystoreFile)) + { + keystore.store(fos, pwdCharArray); + } + return keystoreFile; + } +} diff --git a/jetty-maven-plugin/src/it/javax-annotation-api/src/main/java/test/App.java b/jetty-maven-plugin/src/it/javax-annotation-api/src/main/java/test/App.java index ab9d9280f9c..01e074d1ca1 100644 --- a/jetty-maven-plugin/src/it/javax-annotation-api/src/main/java/test/App.java +++ b/jetty-maven-plugin/src/it/javax-annotation-api/src/main/java/test/App.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-cdi-start-forked/src/main/java/test/Greeter.java b/jetty-maven-plugin/src/it/jetty-cdi-start-forked/src/main/java/test/Greeter.java index e2107be26ec..0acb4a0ad23 100644 --- a/jetty-maven-plugin/src/it/jetty-cdi-start-forked/src/main/java/test/Greeter.java +++ b/jetty-maven-plugin/src/it/jetty-cdi-start-forked/src/main/java/test/Greeter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-maven-plugin-provided-module-dep/api/src/main/java/test/Api.java b/jetty-maven-plugin/src/it/jetty-maven-plugin-provided-module-dep/api/src/main/java/test/Api.java index e69dcc614db..51b6e7fd506 100755 --- a/jetty-maven-plugin/src/it/jetty-maven-plugin-provided-module-dep/api/src/main/java/test/Api.java +++ b/jetty-maven-plugin/src/it/jetty-maven-plugin-provided-module-dep/api/src/main/java/test/Api.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-maven-plugin-provided-module-dep/web/src/main/java/test/ClassLoadingTestingServletContextListener.java b/jetty-maven-plugin/src/it/jetty-maven-plugin-provided-module-dep/web/src/main/java/test/ClassLoadingTestingServletContextListener.java index 5ab4da8bb32..39bc14f537f 100755 --- a/jetty-maven-plugin/src/it/jetty-maven-plugin-provided-module-dep/web/src/main/java/test/ClassLoadingTestingServletContextListener.java +++ b/jetty-maven-plugin/src/it/jetty-maven-plugin-provided-module-dep/web/src/main/java/test/ClassLoadingTestingServletContextListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/src/main/java/jettyissue/MyAnnotation.java b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/src/main/java/jettyissue/MyAnnotation.java index 39445c97ea2..949343635a2 100644 --- a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/src/main/java/jettyissue/MyAnnotation.java +++ b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/src/main/java/jettyissue/MyAnnotation.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/src/main/java/jettyissue/MyServletContainerInitializer.java b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/src/main/java/jettyissue/MyServletContainerInitializer.java index f34acb76eb6..c27def0fc44 100644 --- a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/src/main/java/jettyissue/MyServletContainerInitializer.java +++ b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyLibrary/src/main/java/jettyissue/MyServletContainerInitializer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/src/main/java/jettyissue/NormalClass.java b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/src/main/java/jettyissue/NormalClass.java index 2474d41fdb0..9417f64e0ab 100644 --- a/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/src/main/java/jettyissue/NormalClass.java +++ b/jetty-maven-plugin/src/it/jetty-run-mojo-jar-scan-it/MyWebApp/src/main/java/jettyissue/NormalClass.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_distro_mojo_it/HelloServlet.java b/jetty-maven-plugin/src/it/jetty-start-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_distro_mojo_it/HelloServlet.java index 12825951783..e76d558473d 100644 --- a/jetty-maven-plugin/src/it/jetty-start-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_distro_mojo_it/HelloServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_distro_mojo_it/HelloServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_distro_mojo_it/PingServlet.java b/jetty-maven-plugin/src/it/jetty-start-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_distro_mojo_it/PingServlet.java index 81cfa99dcf3..293d749185c 100644 --- a/jetty-maven-plugin/src/it/jetty-start-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_distro_mojo_it/PingServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_distro_mojo_it/PingServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/Counter.java b/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/Counter.java index 180796ffce8..de978e1ee44 100644 --- a/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/Counter.java +++ b/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/Counter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/HelloServlet.java b/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/HelloServlet.java index 0b0b95931d5..d772dec15ee 100644 --- a/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/HelloServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/HelloServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/PingServlet.java b/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/PingServlet.java index 4ea89e2f192..ada454c10f8 100644 --- a/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/PingServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_forked/PingServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-client/src/main/java/org/olamy/App.java b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-client/src/main/java/org/olamy/App.java index 97176347d7a..1783dd1f8bd 100644 --- a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-client/src/main/java/org/olamy/App.java +++ b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-client/src/main/java/org/olamy/App.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-server/src/main/java/org/olamy/GreetingServiceImpl.java b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-server/src/main/java/org/olamy/GreetingServiceImpl.java index 5f72a19ceba..1ba16ee103e 100644 --- a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-server/src/main/java/org/olamy/GreetingServiceImpl.java +++ b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-server/src/main/java/org/olamy/GreetingServiceImpl.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/FieldVerifier.java b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/FieldVerifier.java index 9ef81256e74..dcf10f5906a 100644 --- a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/FieldVerifier.java +++ b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/FieldVerifier.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingResponse.java b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingResponse.java index 2b4952f02ec..795c90650a6 100644 --- a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingResponse.java +++ b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingResponse.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingService.java b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingService.java index 787448822fb..c5cfc1984cd 100644 --- a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingService.java +++ b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingService.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingServiceAsync.java b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingServiceAsync.java index 4eed890b194..790c278c981 100644 --- a/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingServiceAsync.java +++ b/jetty-maven-plugin/src/it/jetty-start-gwt-it/beer-shared/src/main/java/org/olamy/GreetingServiceAsync.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/Counter.java b/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/Counter.java index 7fc53bfa82c..53868cb023a 100644 --- a/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/Counter.java +++ b/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/Counter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/HelloServlet.java b/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/HelloServlet.java index 2adffaa6cfd..dac6563f190 100644 --- a/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/HelloServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/HelloServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/PingServlet.java b/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/PingServlet.java index 6d9cab8e3ba..19c8c9b4998 100644 --- a/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/PingServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_start_mojo_it/PingServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/common/src/main/java/mca/common/CommonService.java b/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/common/src/main/java/mca/common/CommonService.java index b70281c2e2c..0751df8bc21 100644 --- a/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/common/src/main/java/mca/common/CommonService.java +++ b/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/common/src/main/java/mca/common/CommonService.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/module/module-api/src/main/java/mca/module/ModuleApi.java b/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/module/module-api/src/main/java/mca/module/ModuleApi.java index c9a642654fd..b8c5cbe5b09 100644 --- a/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/module/module-api/src/main/java/mca/module/ModuleApi.java +++ b/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/module/module-api/src/main/java/mca/module/ModuleApi.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/module/module-impl/src/main/java/mca/module/ModuleImpl.java b/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/module/module-impl/src/main/java/mca/module/ModuleImpl.java index 169e3a3a991..244f48f300b 100644 --- a/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/module/module-impl/src/main/java/mca/module/ModuleImpl.java +++ b/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/module/module-impl/src/main/java/mca/module/ModuleImpl.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/webapp-war/src/main/java/mca/webapp/WebAppServletListener.java b/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/webapp-war/src/main/java/mca/webapp/WebAppServletListener.java index 8531ed2b3c3..2659a1936ba 100644 --- a/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/webapp-war/src/main/java/mca/webapp/WebAppServletListener.java +++ b/jetty-maven-plugin/src/it/jetty-start-mojo-multi-module-single-war-it/webapp-war/src/main/java/mca/webapp/WebAppServletListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-war-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_mojo_it/HelloServlet.java b/jetty-maven-plugin/src/it/jetty-start-war-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_mojo_it/HelloServlet.java index 692efe74ee1..284eeab9396 100644 --- a/jetty-maven-plugin/src/it/jetty-start-war-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_mojo_it/HelloServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-war-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_mojo_it/HelloServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-war-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_mojo_it/PingServlet.java b/jetty-maven-plugin/src/it/jetty-start-war-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_mojo_it/PingServlet.java index a345c245ce2..8a405041ae5 100644 --- a/jetty-maven-plugin/src/it/jetty-start-war-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_mojo_it/PingServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-war-distro-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_mojo_it/PingServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-war-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_war_exploded_mojo_it/HelloServlet.java b/jetty-maven-plugin/src/it/jetty-start-war-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_war_exploded_mojo_it/HelloServlet.java index abf72dc7e82..bfac1e70807 100644 --- a/jetty-maven-plugin/src/it/jetty-start-war-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_war_exploded_mojo_it/HelloServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-war-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_war_exploded_mojo_it/HelloServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/it/jetty-start-war-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_war_exploded_mojo_it/PingServlet.java b/jetty-maven-plugin/src/it/jetty-start-war-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_war_exploded_mojo_it/PingServlet.java index bfa22b008f4..088f236c114 100644 --- a/jetty-maven-plugin/src/it/jetty-start-war-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_war_exploded_mojo_it/PingServlet.java +++ b/jetty-maven-plugin/src/it/jetty-start-war-forked-mojo-it/jetty-simple-base/src/main/java/org/eclipse/jetty/its/jetty_run_war_exploded_mojo_it/PingServlet.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractForker.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractForker.java index 4e8f0616d27..e0a34586a38 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractForker.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractForker.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractUnassembledWebAppMojo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractUnassembledWebAppMojo.java index 0abc7804e58..d86e2174013 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractUnassembledWebAppMojo.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractUnassembledWebAppMojo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractWebAppMojo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractWebAppMojo.java index fbb78822233..3402e58b96d 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractWebAppMojo.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/AbstractWebAppMojo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ConsoleReader.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ConsoleReader.java index 12313e09e22..54ae9484333 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ConsoleReader.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ConsoleReader.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyEffectiveWebXml.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyEffectiveWebXml.java index 5c927beb39c..f6c0abd07f1 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyEffectiveWebXml.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyEffectiveWebXml.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyEmbedder.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyEmbedder.java index 2170c559f01..228ea0decc5 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyEmbedder.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyEmbedder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyForkedChild.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyForkedChild.java index c8b0f42b7e2..5561a2b2cd9 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyForkedChild.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyForkedChild.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyForker.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyForker.java index 3f443698e07..c319ca901df 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyForker.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyForker.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyHomeForker.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyHomeForker.java index 87067e2b6d8..58d3c35ff41 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyHomeForker.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyHomeForker.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java index 98eec61916f..1b3c33c658c 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunMojo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunWarMojo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunWarMojo.java index c7b17be95f2..f54a0e16fc4 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunWarMojo.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyRunWarMojo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStartMojo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStartMojo.java index 87950b96ba5..81fd48dfe77 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStartMojo.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStartMojo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStartWarMojo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStartWarMojo.java index c80eef4e555..091ae2e5a28 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStartWarMojo.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStartWarMojo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStopMojo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStopMojo.java index bc797e54aee..91bf1a9a22b 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStopMojo.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/JettyStopMojo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenMetaInfConfiguration.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenMetaInfConfiguration.java index 1b092879ff3..4ed2525cfd5 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenMetaInfConfiguration.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenMetaInfConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenQuickStartConfiguration.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenQuickStartConfiguration.java index 3abd4315b25..abf00685993 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenQuickStartConfiguration.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenQuickStartConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenServerConnector.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenServerConnector.java index 20b8ef5b5d1..49238530936 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenServerConnector.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenServerConnector.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenWebAppContext.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenWebAppContext.java index 751d0932857..c246f968851 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenWebAppContext.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenWebAppContext.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenWebInfConfiguration.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenWebInfConfiguration.java index ae190d34046..b05eec60a0f 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenWebInfConfiguration.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/MavenWebInfConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/Overlay.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/Overlay.java index a4965c690bd..31ae0488911 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/Overlay.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/Overlay.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/OverlayConfig.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/OverlayConfig.java index 98e6292e913..e08840b25f0 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/OverlayConfig.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/OverlayConfig.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/OverlayManager.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/OverlayManager.java index d6bf921415d..421c1aad43f 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/OverlayManager.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/OverlayManager.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/PluginLog.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/PluginLog.java index 2e422853f25..b1c154f50d4 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/PluginLog.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/PluginLog.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/QuickStartGenerator.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/QuickStartGenerator.java index 56cf2c0e9b8..f99ce2bd41d 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/QuickStartGenerator.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/QuickStartGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ScanPattern.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ScanPattern.java index af5f1fc988b..ed23719ad48 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ScanPattern.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ScanPattern.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ScanTargetPattern.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ScanTargetPattern.java index e111340dc72..5d6d9bfb722 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ScanTargetPattern.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ScanTargetPattern.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/SelectiveJarResource.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/SelectiveJarResource.java index 747fdc43567..a0ff34731ca 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/SelectiveJarResource.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/SelectiveJarResource.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerConnectorListener.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerConnectorListener.java index 9a5122074ef..f57579c80ca 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerConnectorListener.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerConnectorListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerListener.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerListener.java index 309c238f087..3a06c237087 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerListener.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerSupport.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerSupport.java index b435b4fe583..59629257baf 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerSupport.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/ServerSupport.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WarPluginInfo.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WarPluginInfo.java index 4d4a2118340..6d76ac222c3 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WarPluginInfo.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WarPluginInfo.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WebAppPropertyConverter.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WebAppPropertyConverter.java index 0df1ef645c2..9e33285ca04 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WebAppPropertyConverter.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/WebAppPropertyConverter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/package-info.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/package-info.java index 53f03be3a71..4ad207cb1d2 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/package-info.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/utils/MavenProjectHelper.java b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/utils/MavenProjectHelper.java index 75d4d039bd0..fabb1459390 100644 --- a/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/utils/MavenProjectHelper.java +++ b/jetty-maven-plugin/src/main/java/org/eclipse/jetty/maven/plugin/utils/MavenProjectHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestForkedChild.java b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestForkedChild.java index eaffd80748b..e64726e918d 100644 --- a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestForkedChild.java +++ b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestForkedChild.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestJettyEmbedder.java b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestJettyEmbedder.java index 35795db40ed..02613e63fc4 100644 --- a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestJettyEmbedder.java +++ b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestJettyEmbedder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestQuickStartGenerator.java b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestQuickStartGenerator.java index 6fcd094bd28..2bbcd4b61d0 100644 --- a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestQuickStartGenerator.java +++ b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestQuickStartGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestSelectiveJarResource.java b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestSelectiveJarResource.java index ed13515a38f..249e7a3cb16 100644 --- a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestSelectiveJarResource.java +++ b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestSelectiveJarResource.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestWebAppPropertyConverter.java b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestWebAppPropertyConverter.java index 1e0124affe2..d051a024e97 100644 --- a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestWebAppPropertyConverter.java +++ b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/TestWebAppPropertyConverter.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/it/IntegrationTestGetContent.java b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/it/IntegrationTestGetContent.java index d8295757471..21723b572e4 100644 --- a/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/it/IntegrationTestGetContent.java +++ b/jetty-maven-plugin/src/test/java/org/eclipse/jetty/maven/plugin/it/IntegrationTestGetContent.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-memcached/jetty-memcached-sessions/src/main/java/module-info.java b/jetty-memcached/jetty-memcached-sessions/src/main/java/module-info.java index 6495a26f557..01b313cfc3c 100644 --- a/jetty-memcached/jetty-memcached-sessions/src/main/java/module-info.java +++ b/jetty-memcached/jetty-memcached-sessions/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-memcached/jetty-memcached-sessions/src/main/java/org/eclipse/jetty/memcached/session/MemcachedSessionDataMap.java b/jetty-memcached/jetty-memcached-sessions/src/main/java/org/eclipse/jetty/memcached/session/MemcachedSessionDataMap.java index 8cd93b1be90..531da8eaf1b 100644 --- a/jetty-memcached/jetty-memcached-sessions/src/main/java/org/eclipse/jetty/memcached/session/MemcachedSessionDataMap.java +++ b/jetty-memcached/jetty-memcached-sessions/src/main/java/org/eclipse/jetty/memcached/session/MemcachedSessionDataMap.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-memcached/jetty-memcached-sessions/src/main/java/org/eclipse/jetty/memcached/session/MemcachedSessionDataMapFactory.java b/jetty-memcached/jetty-memcached-sessions/src/main/java/org/eclipse/jetty/memcached/session/MemcachedSessionDataMapFactory.java index 25bff53aaa5..2eec75f3234 100644 --- a/jetty-memcached/jetty-memcached-sessions/src/main/java/org/eclipse/jetty/memcached/session/MemcachedSessionDataMapFactory.java +++ b/jetty-memcached/jetty-memcached-sessions/src/main/java/org/eclipse/jetty/memcached/session/MemcachedSessionDataMapFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-memcached/jetty-memcached-sessions/src/test/java/org/eclipse/jetty/memcached/session/TestMemcachedSessions.java b/jetty-memcached/jetty-memcached-sessions/src/test/java/org/eclipse/jetty/memcached/session/TestMemcachedSessions.java index b053d92d2ab..4d3f25edcfa 100644 --- a/jetty-memcached/jetty-memcached-sessions/src/test/java/org/eclipse/jetty/memcached/session/TestMemcachedSessions.java +++ b/jetty-memcached/jetty-memcached-sessions/src/test/java/org/eclipse/jetty/memcached/session/TestMemcachedSessions.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-nosql/src/main/java/module-info.java b/jetty-nosql/src/main/java/module-info.java index 77eaffd5b42..2a9567fcb7b 100644 --- a/jetty-nosql/src/main/java/module-info.java +++ b/jetty-nosql/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSessionDataStore.java b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSessionDataStore.java index 8f3f47d21b8..b5db1d127d2 100644 --- a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSessionDataStore.java +++ b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/NoSqlSessionDataStore.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionDataStore.java b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionDataStore.java index 9a19b6bd241..9a4efa93e22 100644 --- a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionDataStore.java +++ b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionDataStore.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionDataStoreFactory.java b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionDataStoreFactory.java index af244706f8c..c1eb8e5f7ac 100644 --- a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionDataStoreFactory.java +++ b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionDataStoreFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoUtils.java b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoUtils.java index ff6b65ac123..d89a6d6dd0b 100644 --- a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoUtils.java +++ b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoUtils.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/package-info.java b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/package-info.java index cbe037014b1..d9442882ba0 100644 --- a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/package-info.java +++ b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/package-info.java b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/package-info.java index 84ba23cf302..27b0b5601c4 100644 --- a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/package-info.java +++ b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/package-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/module-info.java b/jetty-openid/src/main/java/module-info.java index 061d062d571..2c70122d18c 100644 --- a/jetty-openid/src/main/java/module-info.java +++ b/jetty-openid/src/main/java/module-info.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/JwtDecoder.java b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/JwtDecoder.java index c5f15e17ba0..dfdbd511f8f 100644 --- a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/JwtDecoder.java +++ b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/JwtDecoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdAuthenticator.java b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdAuthenticator.java index 5b5b6d1aedc..ce78c620f53 100644 --- a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdAuthenticator.java +++ b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdAuthenticator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdAuthenticatorFactory.java b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdAuthenticatorFactory.java index b13ebe9ef23..a63dcd1681e 100644 --- a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdAuthenticatorFactory.java +++ b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdAuthenticatorFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdConfiguration.java b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdConfiguration.java index e0445a1d6bb..a1a82fe2b0e 100644 --- a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdConfiguration.java +++ b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdCredentials.java b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdCredentials.java index 9f89f82ebd1..c87ef1604f2 100644 --- a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdCredentials.java +++ b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdCredentials.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdLoginService.java b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdLoginService.java index f09fe386970..0979eed52d5 100644 --- a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdLoginService.java +++ b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdLoginService.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdUserIdentity.java b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdUserIdentity.java index 20f1acb19b5..3730dc0023d 100644 --- a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdUserIdentity.java +++ b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdUserIdentity.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdUserPrincipal.java b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdUserPrincipal.java index 9c6a2cff7b8..b4b6700c6b2 100644 --- a/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdUserPrincipal.java +++ b/jetty-openid/src/main/java/org/eclipse/jetty/security/openid/OpenIdUserPrincipal.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/JwtDecoderTest.java b/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/JwtDecoderTest.java index d26c312ea74..bd5840d2490 100644 --- a/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/JwtDecoderTest.java +++ b/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/JwtDecoderTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/JwtEncoder.java b/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/JwtEncoder.java index 942f37fc8b5..798040bbebe 100644 --- a/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/JwtEncoder.java +++ b/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/JwtEncoder.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdAuthenticationTest.java b/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdAuthenticationTest.java index f5f0c7f6db5..602b5c0e787 100644 --- a/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdAuthenticationTest.java +++ b/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdAuthenticationTest.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdProvider.java b/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdProvider.java index ee533e22f02..62eb9ca78e1 100644 --- a/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdProvider.java +++ b/jetty-openid/src/test/java/org/eclipse/jetty/security/openid/OpenIdProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/ContainerTldBundleDiscoverer.java b/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/ContainerTldBundleDiscoverer.java index d2d6b13ca4a..33a2cf6ae47 100644 --- a/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/ContainerTldBundleDiscoverer.java +++ b/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/ContainerTldBundleDiscoverer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/JSTLBundleDiscoverer.java b/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/JSTLBundleDiscoverer.java index 751e933731c..a9ef53a1d4f 100644 --- a/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/JSTLBundleDiscoverer.java +++ b/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jasper/JSTLBundleDiscoverer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jsp/FragmentActivator.java b/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jsp/FragmentActivator.java index 38a00481468..8f746ccb3c2 100644 --- a/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jsp/FragmentActivator.java +++ b/jetty-osgi/jetty-osgi-boot-jsp/src/main/java/org/eclipse/jetty/osgi/boot/jsp/FragmentActivator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/WarUrlActivator.java b/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/WarUrlActivator.java index f7c3781127c..d8e6b3d098c 100644 --- a/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/WarUrlActivator.java +++ b/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/WarUrlActivator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/WarUrlStreamHandler.java b/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/WarUrlStreamHandler.java index d9135a0ddbe..24d3748fe4a 100644 --- a/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/WarUrlStreamHandler.java +++ b/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/WarUrlStreamHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/internal/WarBundleManifestGenerator.java b/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/internal/WarBundleManifestGenerator.java index c4298e984ba..8a58a471034 100644 --- a/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/internal/WarBundleManifestGenerator.java +++ b/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/internal/WarBundleManifestGenerator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/internal/WarURLConnection.java b/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/internal/WarURLConnection.java index 24cc97e5c2f..6f89fa9e760 100644 --- a/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/internal/WarURLConnection.java +++ b/jetty-osgi/jetty-osgi-boot-warurl/src/main/java/org/eclipse/jetty/osgi/boot/warurl/internal/WarURLConnection.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.java index cb93aeae5c7..f251d96d1af 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java index f144f146a2a..3ded13e455b 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractContextProvider.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractContextProvider.java index aa7190badcc..f0ee1f98f16 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractContextProvider.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractContextProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractOSGiApp.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractOSGiApp.java index 7089a2c7587..fa157532b19 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractOSGiApp.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractOSGiApp.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractWebAppProvider.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractWebAppProvider.java index 3dc1dc3ecd4..483e4faf6fe 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractWebAppProvider.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/AbstractWebAppProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleContextProvider.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleContextProvider.java index ff4425bfe2f..8b8e5e95fab 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleContextProvider.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleContextProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleProvider.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleProvider.java index ea815fe43f3..6da639985e3 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleProvider.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleWebAppProvider.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleWebAppProvider.java index ceab875b34f..21ac2679f76 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleWebAppProvider.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/BundleWebAppProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/JettyBootstrapActivator.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/JettyBootstrapActivator.java index fb5d749111c..2d5b5926a4e 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/JettyBootstrapActivator.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/JettyBootstrapActivator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiDeployer.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiDeployer.java index 0393f6ed39f..22f269cec95 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiDeployer.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiDeployer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiMetaInfConfiguration.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiMetaInfConfiguration.java index 4434974858c..eb1ad7c8f7d 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiMetaInfConfiguration.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiMetaInfConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiServerConstants.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiServerConstants.java index 95150f7c534..b0d4f9b8ff5 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiServerConstants.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiServerConstants.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiUndeployer.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiUndeployer.java index a9462a57902..a432454d96c 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiUndeployer.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiUndeployer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiWebInfConfiguration.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiWebInfConfiguration.java index efc5864cbea..1e746603690 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiWebInfConfiguration.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiWebInfConfiguration.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiWebappConstants.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiWebappConstants.java index b23c9df2f84..6304fd6b2b4 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiWebappConstants.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/OSGiWebappConstants.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceContextProvider.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceContextProvider.java index d3110fe565f..ecce6360ec4 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceContextProvider.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceContextProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceProvider.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceProvider.java index cb16aa6deca..d0610e42f07 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceProvider.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceWebAppProvider.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceWebAppProvider.java index 25c782187f1..45b879992f8 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceWebAppProvider.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/ServiceWebAppProvider.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/DefaultJettyAtJettyHomeHelper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/DefaultJettyAtJettyHomeHelper.java index ad56aa5869c..452452dafb2 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/DefaultJettyAtJettyHomeHelper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/DefaultJettyAtJettyHomeHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/JettyServerServiceTracker.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/JettyServerServiceTracker.java index 00849a7711c..c476fa38c8e 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/JettyServerServiceTracker.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/JettyServerServiceTracker.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/ServerInstanceWrapper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/ServerInstanceWrapper.java index 4e8432a5ad9..b79ec40f15d 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/ServerInstanceWrapper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/serverfactory/ServerInstanceWrapper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/LibExtClassLoaderHelper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/LibExtClassLoaderHelper.java index f8e0e76c254..611e9e795bc 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/LibExtClassLoaderHelper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/LibExtClassLoaderHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/OSGiWebappClassLoader.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/OSGiWebappClassLoader.java index 512a8129a4a..23e3e32c4e9 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/OSGiWebappClassLoader.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/OSGiWebappClassLoader.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleClassLoaderHelper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleClassLoaderHelper.java index 59edd0ada45..699ae8bf2fb 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleClassLoaderHelper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleClassLoaderHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleClassLoaderHelperFactory.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleClassLoaderHelperFactory.java index 5da4c24b334..d10b029281e 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleClassLoaderHelperFactory.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleClassLoaderHelperFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleFileLocatorHelper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleFileLocatorHelper.java index 662ec18282f..e90cc1723ad 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleFileLocatorHelper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleFileLocatorHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleFileLocatorHelperFactory.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleFileLocatorHelperFactory.java index 2fe5e94edc0..2033c438526 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleFileLocatorHelperFactory.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/BundleFileLocatorHelperFactory.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/EventSender.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/EventSender.java index 9f2d402ddf1..42c9eb9de6a 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/EventSender.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/EventSender.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/FakeURLClassLoader.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/FakeURLClassLoader.java index 97df9b38f59..da262533170 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/FakeURLClassLoader.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/FakeURLClassLoader.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/OSGiClassLoader.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/OSGiClassLoader.java index e1aded1ce01..4059185df36 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/OSGiClassLoader.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/OSGiClassLoader.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/ServerConnectorListener.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/ServerConnectorListener.java index ecf72b53931..9bdc55bc4ec 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/ServerConnectorListener.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/ServerConnectorListener.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/TldBundleDiscoverer.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/TldBundleDiscoverer.java index 7e04171a778..fbd818ce8c5 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/TldBundleDiscoverer.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/TldBundleDiscoverer.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/Util.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/Util.java index 10465fa403f..fe4302ec237 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/Util.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/Util.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/DefaultBundleClassLoaderHelper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/DefaultBundleClassLoaderHelper.java index bbd675618d8..056adefed06 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/DefaultBundleClassLoaderHelper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/DefaultBundleClassLoaderHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/DefaultFileLocatorHelper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/DefaultFileLocatorHelper.java index 522833c1af6..82b49543308 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/DefaultFileLocatorHelper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/DefaultFileLocatorHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/PackageAdminServiceTracker.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/PackageAdminServiceTracker.java index b5eefac259e..6a12d02c277 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/PackageAdminServiceTracker.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/utils/internal/PackageAdminServiceTracker.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-httpservice/src/main/java/org/eclipse/jetty/osgi/httpservice/HttpServiceErrorHandlerHelper.java b/jetty-osgi/jetty-osgi-httpservice/src/main/java/org/eclipse/jetty/osgi/httpservice/HttpServiceErrorHandlerHelper.java index 97538e9d0f3..77632446610 100644 --- a/jetty-osgi/jetty-osgi-httpservice/src/main/java/org/eclipse/jetty/osgi/httpservice/HttpServiceErrorHandlerHelper.java +++ b/jetty-osgi/jetty-osgi-httpservice/src/main/java/org/eclipse/jetty/osgi/httpservice/HttpServiceErrorHandlerHelper.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/jetty-osgi-httpservice/src/main/java/org/eclipse/jetty/osgi/httpservice/HttpServiceErrorPageErrorHandler.java b/jetty-osgi/jetty-osgi-httpservice/src/main/java/org/eclipse/jetty/osgi/httpservice/HttpServiceErrorPageErrorHandler.java index ee42492b1c7..3f0533d9f29 100644 --- a/jetty-osgi/jetty-osgi-httpservice/src/main/java/org/eclipse/jetty/osgi/httpservice/HttpServiceErrorPageErrorHandler.java +++ b/jetty-osgi/jetty-osgi-httpservice/src/main/java/org/eclipse/jetty/osgi/httpservice/HttpServiceErrorPageErrorHandler.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi-context/src/main/java/com/acme/osgi/Activator.java b/jetty-osgi/test-jetty-osgi-context/src/main/java/com/acme/osgi/Activator.java index 685dd376e68..1771bb25d44 100644 --- a/jetty-osgi/test-jetty-osgi-context/src/main/java/com/acme/osgi/Activator.java +++ b/jetty-osgi/test-jetty-osgi-context/src/main/java/com/acme/osgi/Activator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi-server/src/main/java/com/acme/osgi/Activator.java b/jetty-osgi/test-jetty-osgi-server/src/main/java/com/acme/osgi/Activator.java index f6b9401688c..f04c747b617 100644 --- a/jetty-osgi/test-jetty-osgi-server/src/main/java/com/acme/osgi/Activator.java +++ b/jetty-osgi/test-jetty-osgi-server/src/main/java/com/acme/osgi/Activator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi-webapp-resources/src/main/java/com/acme/HelloWorld.java b/jetty-osgi/test-jetty-osgi-webapp-resources/src/main/java/com/acme/HelloWorld.java index 393602272d3..dc2200efa0d 100644 --- a/jetty-osgi/test-jetty-osgi-webapp-resources/src/main/java/com/acme/HelloWorld.java +++ b/jetty-osgi/test-jetty-osgi-webapp-resources/src/main/java/com/acme/HelloWorld.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi-webapp/src/main/java/com/acme/osgi/Activator.java b/jetty-osgi/test-jetty-osgi-webapp/src/main/java/com/acme/osgi/Activator.java index 6c08940950f..5f74096c5e7 100644 --- a/jetty-osgi/test-jetty-osgi-webapp/src/main/java/com/acme/osgi/Activator.java +++ b/jetty-osgi/test-jetty-osgi-webapp/src/main/java/com/acme/osgi/Activator.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/pom.xml b/jetty-osgi/test-jetty-osgi/pom.xml index 828c10a88b5..3ffc9009642 100644 --- a/jetty-osgi/test-jetty-osgi/pom.xml +++ b/jetty-osgi/test-jetty-osgi/pom.xml @@ -391,6 +391,13 @@ + + org.eclipse.jetty.demos + demo-jsp-webapp + ${project.version} + webbundle + test + org.eclipse.jetty.demos demo-jetty-webapp diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SimpleEchoSocket.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SimpleEchoSocket.java index 8a7d486a61f..f6c87ae7e0f 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SimpleEchoSocket.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SimpleEchoSocket.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SimpleJavaxWebSocket.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SimpleJavaxWebSocket.java index fda715e5bbc..88d6c80087a 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SimpleJavaxWebSocket.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SimpleJavaxWebSocket.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SomeCustomBean.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SomeCustomBean.java index 219910bfb4d..12326a25a32 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SomeCustomBean.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/SomeCustomBean.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiAnnotationParser.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiAnnotationParser.java index fa6f51860bf..12274050289 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiAnnotationParser.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiAnnotationParser.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootContextAsService.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootContextAsService.java index 8e38971cc13..64577c59eef 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootContextAsService.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootContextAsService.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2Conscrypt.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2Conscrypt.java index c86181eaa2d..8c3882ed65d 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2Conscrypt.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2Conscrypt.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -73,7 +73,7 @@ public class TestJettyOSGiBootHTTP2Conscrypt options.addAll(TestOSGiUtil.coreJettyDependencies()); options.addAll(TestOSGiUtil.jspDependencies()); //deploy a test webapp - options.add(mavenBundle().groupId("org.eclipse.jetty.demos").artifactId("demo-jetty-webapp").classifier("webbundle").versionAsInProject()); + options.add(mavenBundle().groupId("org.eclipse.jetty.demos").artifactId("demo-jsp-webapp").classifier("webbundle").versionAsInProject()); options.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-alpn-conscrypt-client").versionAsInProject().start()); options.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-alpn-client").versionAsInProject().start()); options.add(mavenBundle().groupId("org.eclipse.jetty.http2").artifactId("http2-client").versionAsInProject().start()); @@ -150,7 +150,7 @@ public class TestJettyOSGiBootHTTP2Conscrypt httpClient.start(); - ContentResponse response = httpClient.GET("https://localhost:" + port + "/jsp/jstl.jsp"); + ContentResponse response = httpClient.GET("https://localhost:" + port + "/demo-jsp/jstl.jsp"); assertEquals(200, response.getStatus()); assertTrue(response.getContentAsString().contains("JSTL Example")); } diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2JDK9.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2JDK9.java index 1c5cc09c4a1..698a14eb9dc 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2JDK9.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootHTTP2JDK9.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -70,7 +70,7 @@ public class TestJettyOSGiBootHTTP2JDK9 options.addAll(TestOSGiUtil.coreJettyDependencies()); options.addAll(TestOSGiUtil.jspDependencies()); //deploy a test webapp - options.add(mavenBundle().groupId("org.eclipse.jetty.demos").artifactId("demo-jetty-webapp").classifier("webbundle").versionAsInProject()); + options.add(mavenBundle().groupId("org.eclipse.jetty.demos").artifactId("demo-jsp-webapp").classifier("webbundle").versionAsInProject()); options.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-alpn-java-client").versionAsInProject().start()); options.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-alpn-client").versionAsInProject().start()); options.add(mavenBundle().groupId("org.eclipse.jetty.http2").artifactId("http2-client").versionAsInProject().start()); @@ -132,7 +132,7 @@ public class TestJettyOSGiBootHTTP2JDK9 httpClient.setExecutor(executor); httpClient.start(); - ContentResponse response = httpClient.GET("https://localhost:" + port + "/jsp/jstl.jsp"); + ContentResponse response = httpClient.GET("https://localhost:" + port + "/demo-jsp/jstl.jsp"); assertEquals(200, response.getStatus()); assertTrue(response.getContentAsString().contains("JSTL Example")); } diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWebAppAsService.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWebAppAsService.java index 77409f60060..94f8c5dda36 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWebAppAsService.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWebAppAsService.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithAnnotations.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithAnnotations.java index cd20c6b7075..2bb0249addc 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithAnnotations.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithAnnotations.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithBundle.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithBundle.java index 6d9454c5e58..acea239bf17 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithBundle.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithBundle.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java index 82136016527..18c1e66f796 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJavaxWebSocket.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJsp.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJsp.java index 84752f1c11a..892284d3d8f 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJsp.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootWithJsp.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. +// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at @@ -69,7 +69,7 @@ public class TestJettyOSGiBootWithJsp { List
      -

      tests ...

      +

      demos ...