File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
client/src/main/java/org/asynchttpclient/ws Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ public WebSocketUpgradeHandler(List<WebSocketListener> listeners) {
3737 this .listeners = listeners ;
3838 }
3939
40+ protected void setWebSocket0 (NettyWebSocket webSocket ) {}
4041 protected void onStatusReceived0 (HttpResponseStatus responseStatus ) throws Exception {}
4142 protected void onHeadersReceived0 (HttpHeaders headers ) throws Exception {}
4243 protected void onBodyPartReceived0 (HttpResponseBodyPart bodyPart ) throws Exception {}
@@ -81,6 +82,7 @@ public final void onThrowable(Throwable t) {
8182
8283 public final void setWebSocket (NettyWebSocket webSocket ) {
8384 this .webSocket = webSocket ;
85+ setWebSocket0 (this .webSocket );
8486 }
8587
8688 public final void onOpen () {
You can’t perform that action at this time.
0 commit comments