|
10 | 10 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
11 | 11 | * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
|
12 | 12 | */
|
13 |
| -package com.ning.http.client.websocket; |
| 13 | +package com.ning.http.client.ws; |
14 | 14 |
|
15 | 15 | import com.ning.http.client.AsyncHttpClient;
|
| 16 | +import com.ning.http.client.ws.WebSocket; |
| 17 | +import com.ning.http.client.ws.WebSocketCloseCodeReasonListener; |
| 18 | +import com.ning.http.client.ws.WebSocketListener; |
| 19 | +import com.ning.http.client.ws.WebSocketTextListener; |
| 20 | +import com.ning.http.client.ws.WebSocketUpgradeHandler; |
| 21 | + |
16 | 22 | import org.testng.annotations.Test;
|
17 | 23 |
|
18 | 24 | import java.util.concurrent.CountDownLatch;
|
@@ -75,11 +81,11 @@ public Listener(CountDownLatch latch, AtomicReference<String> text) {
|
75 | 81 | }
|
76 | 82 |
|
77 | 83 | @Override
|
78 |
| - public void onOpen(com.ning.http.client.websocket.WebSocket websocket) { |
| 84 | + public void onOpen(com.ning.http.client.ws.WebSocket websocket) { |
79 | 85 | }
|
80 | 86 |
|
81 | 87 | @Override
|
82 |
| - public void onClose(com.ning.http.client.websocket.WebSocket websocket) { |
| 88 | + public void onClose(com.ning.http.client.ws.WebSocket websocket) { |
83 | 89 | }
|
84 | 90 |
|
85 | 91 | public void onClose(WebSocket websocket, int code, String reason) {
|
@@ -108,11 +114,11 @@ public void onMessage(String message) {
|
108 | 114 | }
|
109 | 115 |
|
110 | 116 | @Override
|
111 |
| - public void onOpen(com.ning.http.client.websocket.WebSocket websocket) { |
| 117 | + public void onOpen(com.ning.http.client.ws.WebSocket websocket) { |
112 | 118 | }
|
113 | 119 |
|
114 | 120 | @Override
|
115 |
| - public void onClose(com.ning.http.client.websocket.WebSocket websocket) { |
| 121 | + public void onClose(com.ning.http.client.ws.WebSocket websocket) { |
116 | 122 | }
|
117 | 123 |
|
118 | 124 | @Override
|
@@ -144,11 +150,11 @@ public void onMessage(String message) {
|
144 | 150 | }
|
145 | 151 |
|
146 | 152 | @Override
|
147 |
| - public void onOpen(com.ning.http.client.websocket.WebSocket websocket) { |
| 153 | + public void onOpen(com.ning.http.client.ws.WebSocket websocket) { |
148 | 154 | }
|
149 | 155 |
|
150 | 156 | @Override
|
151 |
| - public void onClose(com.ning.http.client.websocket.WebSocket websocket) { |
| 157 | + public void onClose(com.ning.http.client.ws.WebSocket websocket) { |
152 | 158 | }
|
153 | 159 |
|
154 | 160 | @Override
|
|
0 commit comments