Home
last modified time | relevance | path

Searched refs:CloseCodes (Results 1 – 9 of 9) sorted by relevance

/unit/src/java/javax/websocket/
H A DCloseReason.java67 CloseCodes(int code) { in CloseCodes() method in CloseReason.CloseCodes
82 return CloseCodes.NORMAL_CLOSURE; in getCloseCode()
84 return CloseCodes.GOING_AWAY; in getCloseCode()
86 return CloseCodes.PROTOCOL_ERROR; in getCloseCode()
88 return CloseCodes.CANNOT_ACCEPT; in getCloseCode()
90 return CloseCodes.RESERVED; in getCloseCode()
92 return CloseCodes.NO_STATUS_CODE; in getCloseCode()
96 return CloseCodes.NOT_CONSISTENT; in getCloseCode()
98 return CloseCodes.VIOLATED_POLICY; in getCloseCode()
100 return CloseCodes.TOO_BIG; in getCloseCode()
[all …]
/unit/src/java/nginx/unit/websocket/
H A DWsFrameBase.java29 import javax.websocket.CloseReason.CloseCodes;
155 CloseCodes.PROTOCOL_ERROR, in processInitialHeader()
162 CloseCodes.PROTOCOL_ERROR, in processInitialHeader()
169 CloseCodes.PROTOCOL_ERROR, in processInitialHeader()
217 CloseCodes.PROTOCOL_ERROR, in processInitialHeader()
268 CloseCodes.PROTOCOL_ERROR, in processRemainingHeader()
273 CloseCodes.PROTOCOL_ERROR, in processRemainingHeader()
324 CloseCodes.PROTOCOL_ERROR, in processDataControl()
366 CloseCodes.PROTOCOL_ERROR, in processDataControl()
459 CloseCodes.NOT_CONSISTENT, in processDataText()
[all …]
H A DUtil.java37 import javax.websocket.CloseReason.CloseCodes;
88 return CloseCodes.getCloseCode(code); in getCloseCode()
92 return CloseCodes.NORMAL_CLOSURE; in getCloseCode()
94 return CloseCodes.GOING_AWAY; in getCloseCode()
96 return CloseCodes.PROTOCOL_ERROR; in getCloseCode()
98 return CloseCodes.CANNOT_ACCEPT; in getCloseCode()
102 return CloseCodes.PROTOCOL_ERROR; in getCloseCode()
106 return CloseCodes.PROTOCOL_ERROR; in getCloseCode()
110 return CloseCodes.PROTOCOL_ERROR; in getCloseCode()
116 return CloseCodes.TOO_BIG; in getCloseCode()
[all …]
H A DWsSession.java40 import javax.websocket.CloseReason.CloseCodes;
466 close(new CloseReason(CloseCodes.NORMAL_CLOSURE, "")); in close()
564 CloseReason.CloseCodes.NORMAL_CLOSURE, "")); in onClose()
630 if (closeCode == CloseCodes.CLOSED_ABNORMALLY) { in sendCloseMessage()
655 if (closeCode != CloseCodes.CLOSED_ABNORMALLY) { in sendCloseMessage()
867 CloseReason.CloseCodes.getCloseCode(closeCode), in processFrame()
871 CloseReason.CloseCodes.NORMAL_CLOSURE, ""); in processFrame()
889 CloseCodes.NOT_CONSISTENT, in processFrame()
901 CloseCodes.TOO_BIG, in processFrame()
991 CloseCodes.TOO_BIG, in onMessage()
[all …]
H A DWsFrameClient.java25 import javax.websocket.CloseReason.CloseCodes;
125 cr = new CloseReason(CloseCodes.CLOSED_ABNORMALLY, t.getMessage()); in close()
H A DWsWebSocketContainer.java60 import javax.websocket.CloseReason.CloseCodes;
1029 CloseCodes.GOING_AWAY, sm.getString("wsWebSocketContainer.shutdown")); in destroy()
H A DWsRemoteEndpointImplBase.java37 import javax.websocket.CloseReason.CloseCodes;
/unit/src/java/nginx/unit/websocket/server/
H A DWsHttpUpgradeHandler.java27 import javax.websocket.CloseReason.CloseCodes;
H A DWsServerContainer.java37 import javax.websocket.CloseReason.CloseCodes;
68 new CloseReason(CloseCodes.VIOLATED_POLICY,