Skip to content

Commit 6c0e69a

Browse files
WebSocketServerProtocolHandler: make HandshakeComplete constructor public (#13202)
Motivation: alternative websocket implementations may prefer to use netty's server handshake lifecycle events. Modification: make HandshakeComplete constructor public Result: alternative websocket implementations may use netty's server handshake lifecycle events.
1 parent 06f70a4 commit 6c0e69a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static final class HandshakeComplete {
8080
private final HttpHeaders requestHeaders;
8181
private final String selectedSubprotocol;
8282

83-
HandshakeComplete(String requestUri, HttpHeaders requestHeaders, String selectedSubprotocol) {
83+
public HandshakeComplete(String requestUri, HttpHeaders requestHeaders, String selectedSubprotocol) {
8484
this.requestUri = requestUri;
8585
this.requestHeaders = requestHeaders;
8686
this.selectedSubprotocol = selectedSubprotocol;

0 commit comments

Comments
 (0)