Skip to content

Commit

Permalink
Issue eclipse-ee4j#2016 Fixed Tyrus dependency on HandshakeListener i…
Browse files Browse the repository at this point in the history
…nterface

- moving this interface out is a breaking change

Signed-off-by: David Matejcek <dmatej@seznam.cz>
  • Loading branch information
dmatej committed Nov 19, 2020
1 parent 75bec1e commit 603aa80
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1000,4 +1000,15 @@ public Buffer clone(final Connection connection, final Buffer originalMessage) {
return originalMessage;
}
}


// don't move to own file, Tyrus has a dependency on this interface
public interface HandshakeListener {
default void onInit(Connection<?> connection, SSLEngine sslEngine) {
// nothing
}
void onStart(Connection<?> connection);
void onComplete(Connection<?> connection);
void onFailure(Connection<?> connection, Throwable t);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
import org.glassfish.grizzly.npn.AlpnClientNegotiator;
import org.glassfish.grizzly.npn.AlpnServerNegotiator;
import org.glassfish.grizzly.npn.NegotiationSupport;
import org.glassfish.grizzly.ssl.HandshakeListener;
import org.glassfish.grizzly.ssl.SSLBaseFilter;
import org.glassfish.grizzly.ssl.SSLBaseFilter.HandshakeListener;
import org.glassfish.grizzly.ssl.SSLUtils;

/**
Expand Down

0 comments on commit 603aa80

Please sign in to comment.