@@ -0,0 +1,1198 @@
+/*%0A * Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved.%0A *%0A * This program is licensed to you under the Apache License Version 2.0,%0A * and you may not use this file except in compliance with the Apache License Version 2.0.%0A * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.%0A *%0A * Unless required by applicable law or agreed to in writing,%0A * software distributed under the Apache License Version 2.0 is distributed on an%0A * %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.%0A */%0Apackage com.ning.http.client.websocket;%0A%0A/**%0A * Extend the normal close listener with one that support the WebSocket's code and reason.%0A * @See http://tools.ietf.org/html/rfc6455#section-5.5.1%0A *%0A * NOTE: This listener is currently only supported by the NettyAsyncHttpProvider%0A *%0A */%0Apublic interface WebSocketCloseCodeReasonListener %7B%0A%0A    /**%0A     * Invoked when the %7B@link WebSocket%7D is close.%0A     *%0A     * @param websocket%0A     */%0A    void onClose(WebSocket websocket, int code, String reason);%0A%7D%0A

Add a test for #91