forked from eclipse-ee4j/grizzly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue eclipse-ee4j#2016 Add support for JDK11 ALPN
Create new phase in the handshake listener to allow registration of the custom ALPN logic. This allows the HTTP/2 filter to work correctly. Signed-off-by: Matthew Gill <matthew.gill@live.co.uk> Signed-off-by: David Matějček <dmatej@seznam.cz>
- Loading branch information
Showing
3 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
modules/grizzly/src/main/java/org/glassfish/grizzly/ssl/HandshakeListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.glassfish.grizzly.ssl; | ||
|
||
import javax.net.ssl.SSLEngine; | ||
|
||
import org.glassfish.grizzly.Connection; | ||
|
||
public interface HandshakeListener { | ||
void onInit(Connection<?> connection, SSLEngine sslEngine); | ||
void onStart(Connection<?> connection); | ||
void onComplete(Connection<?> connection); | ||
void onFailure(Connection<?> connection, Throwable t); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters