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) {
37
37
this .listeners = listeners ;
38
38
}
39
39
40
+ protected void setWebSocket0 (NettyWebSocket webSocket ) {}
40
41
protected void onStatusReceived0 (HttpResponseStatus responseStatus ) throws Exception {}
41
42
protected void onHeadersReceived0 (HttpHeaders headers ) throws Exception {}
42
43
protected void onBodyPartReceived0 (HttpResponseBodyPart bodyPart ) throws Exception {}
@@ -81,6 +82,7 @@ public final void onThrowable(Throwable t) {
81
82
82
83
public final void setWebSocket (NettyWebSocket webSocket ) {
83
84
this .webSocket = webSocket ;
85
+ setWebSocket0 (this .webSocket );
84
86
}
85
87
86
88
public final void onOpen () {
You can’t perform that action at this time.
0 commit comments