Home
last modified time | relevance | path

Searched refs:closeCode (Results 1 – 2 of 2) sorted by relevance

/unit/src/java/javax/websocket/
H A DCloseReason.java21 private final CloseCode closeCode; field in CloseReason
24 public CloseReason(CloseReason.CloseCode closeCode, String reasonPhrase) { in CloseReason() argument
25 this.closeCode = closeCode; in CloseReason()
30 return closeCode; in getCloseCode()
39 return "CloseReason: code [" + closeCode.getCode() + in toString()
/unit/src/java/nginx/unit/websocket/
H A DWsSession.java628 CloseCode closeCode = closeReason.getCloseCode(); in sendCloseMessage() local
630 if (closeCode == CloseCodes.CLOSED_ABNORMALLY) { in sendCloseMessage()
634 msg.putShort((short) closeCode.getCode()); in sendCloseMessage()
655 if (closeCode != CloseCodes.CLOSED_ABNORMALLY) { in sendCloseMessage()
864 short closeCode = buf.order(ByteOrder.BIG_ENDIAN).getShort(); in processFrame() local
867 CloseReason.CloseCodes.getCloseCode(closeCode), in processFrame()