Difference between revisions of "Jetty/Feature/NPN"

From Eclipsepedia

< Jetty‎ | Feature
Jump to: navigation, search
(New page: {{Jetty Feature | introduction = The Jetty project provides an implementation of the [http://technotes.googlecode.com/git/nextprotoneg.html Next Protocol Negotiation TLS Extension] (NPN...)
 
Line 16: Line 16:
 
</source>
 
</source>
  
where <code>path_to_npn_boot_jar</code> is the path on file system for the NPN Boot jar file, for example http://repo2.maven.org/maven2/org/mortbay/jetty/npn/npn-boot/7.6.2.v20120308/npn-boot-7.6.2.v20120308.jar
+
where <code>path_to_npn_boot_jar</code> is the path on file system for the NPN Boot jar file, for example one at the following Maven coordinates [org.mortbay.jetty.npn:npn-boot http://repo2.maven.org/maven2/org/mortbay/jetty/npn/npn-boot].
  
 
==Implementation Details==
 
==Implementation Details==
 +
 +
  
 
}}
 
}}

Revision as of 04:24, 12 March 2012



Contents

Introduction

The Jetty project provides an implementation of the Next Protocol Negotiation TLS Extension (NPN) for OpenJDK 7 or greater.

The NPN implementation, although hosted under the umbrella of the Jetty project, is independent of Jetty (the Servlet Container), and can be reused in any other Java network server.

Feature

Usage

In order to enable NPN support, you need to start the JVM with:

java -Xbootclasspath/p:<path_to_npn_boot_jar> ...

where path_to_npn_boot_jar is the path on file system for the NPN Boot jar file, for example one at the following Maven coordinates [org.mortbay.jetty.npn:npn-boot http://repo2.maven.org/maven2/org/mortbay/jetty/npn/npn-boot].

Implementation Details