diff --git a/aggregates/jetty-all/pom.xml b/aggregates/jetty-all/pom.xml index ed74863742f..61e14f0ae71 100644 --- a/aggregates/jetty-all/pom.xml +++ b/aggregates/jetty-all/pom.xml @@ -28,7 +28,7 @@ **/MANIFEST.MF,javax/** javax - javax,org.eclipse.jetty.orbit,org.mortbay.jetty.npn,org.slf4j,org.ow2.asm + javax,org.eclipse.jetty.orbit,org.mortbay.jetty.alpn,org.slf4j,org.ow2.asm ${project.build.directory}/classes false true @@ -46,7 +46,7 @@ META-INF/**,**/Servlet3Continuation*,**/Jetty6Continuation* org.eclipse.jetty,org.eclipse.jetty.websocket javax - javax,org.eclipse.jetty.orbit,org.mortbay.jetty.npn,org.slf4j,org.ow2.asm + javax,org.eclipse.jetty.orbit,org.mortbay.jetty.alpn,org.slf4j,org.ow2.asm ${project.build.directory}/sources true true diff --git a/aggregates/jetty-websocket-all/pom.xml b/aggregates/jetty-websocket-all/pom.xml index 26138eee168..3c9c2689b83 100644 --- a/aggregates/jetty-websocket-all/pom.xml +++ b/aggregates/jetty-websocket-all/pom.xml @@ -24,7 +24,7 @@ **/MANIFEST.MF - org.slf4j,org.eclipse.jetty.orbit,org.mortbay.jetty.npn + org.slf4j,org.eclipse.jetty.orbit,org.mortbay.jetty.alpn ${project.build.directory}/classes false true @@ -42,7 +42,7 @@ META-INF/**,**/Servlet3Continuation*,**/Jetty6Continuation* org.eclipse.jetty,org.eclipse.jetty.websocket javax - javax,org.eclipse.jetty.orbit,org.mortbay.jetty.npn + javax,org.eclipse.jetty.orbit,org.mortbay.jetty.alpn ${project.build.directory}/sources true true diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnectionFactory.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnectionFactory.java index ca7c58db953..577a9f82c95 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnectionFactory.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnectionFactory.java @@ -24,7 +24,7 @@ import org.eclipse.jetty.io.EndPoint; import org.eclipse.jetty.util.annotation.Name; /** A Connection Factory for HTTP Connections. - *

Accepts connections either directly or via SSL and/or NPN chained connection factories. The accepted + *

Accepts connections either directly or via SSL and/or ALPN chained connection factories. The accepted * {@link HttpConnection}s are configured by a {@link HttpConfiguration} instance that is either created by * default or passed in to the constructor. */ diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/NegotiatingServerConnectionFactory.java b/jetty-server/src/main/java/org/eclipse/jetty/server/NegotiatingServerConnectionFactory.java index aa3e3f39eb6..918e6e261fa 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/NegotiatingServerConnectionFactory.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/NegotiatingServerConnectionFactory.java @@ -32,9 +32,8 @@ public abstract class NegotiatingServerConnectionFactory extends AbstractConnect { public static void checkProtocolNegotiationAvailable() { - if (!isAvailableInBootClassPath("org.eclipse.jetty.alpn.ALPN") && - !isAvailableInBootClassPath("org.eclipse.jetty.npn.NextProtoNego")) - throw new IllegalStateException("No ALPN nor NPN classes available"); + if (!isAvailableInBootClassPath("org.eclipse.jetty.alpn.ALPN")) + throw new IllegalStateException("No ALPN classes available"); } private static boolean isAvailableInBootClassPath(String className)