< prev index next >

src/java.net.http/share/classes/jdk/internal/net/http/websocket/FailWebSocketException.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 21,33 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package jdk.incubator.http.internal.websocket; ! import static jdk.incubator.http.internal.websocket.StatusCodes.PROTOCOL_ERROR; /* * Used as a marker for protocol issues in the incoming data, so that the * implementation could "Fail the WebSocket Connection" with a status code in * the Close message that fits the situation the most. --- 21,33 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package jdk.internal.net.http.websocket; ! import static jdk.internal.net.http.websocket.StatusCodes.PROTOCOL_ERROR; /* * Used as a marker for protocol issues in the incoming data, so that the * implementation could "Fail the WebSocket Connection" with a status code in * the Close message that fits the situation the most.
< prev index next >