Home
last modified time | relevance | path

Searched refs:CloseReason (Results 1 – 15 of 15) sorted by relevance

/unit/src/java/nginx/unit/websocket/
H A DWsIOException.java21 import javax.websocket.CloseReason;
32 private final CloseReason closeReason;
34 public WsIOException(CloseReason closeReason) { in WsIOException()
38 public CloseReason getCloseReason() { in getCloseReason()
H A DWsFrameBase.java28 import javax.websocket.CloseReason;
29 import javax.websocket.CloseReason.CloseCodes;
154 throw new WsIOException(new CloseReason( in processInitialHeader()
161 throw new WsIOException(new CloseReason( in processInitialHeader()
168 throw new WsIOException(new CloseReason( in processInitialHeader()
216 throw new WsIOException(new CloseReason( in processInitialHeader()
267 throw new WsIOException(new CloseReason( in processRemainingHeader()
272 throw new WsIOException(new CloseReason( in processRemainingHeader()
365 throw new WsIOException(new CloseReason( in processDataControl()
515 CloseReason cr = new CloseReason(CloseCodes.TOO_BIG, in processDataBinary()
[all …]
H A DWsSession.java38 import javax.websocket.CloseReason;
39 import javax.websocket.CloseReason.CloseCode;
40 import javax.websocket.CloseReason.CloseCodes;
484 public void doClose(CloseReason closeReasonMessage, CloseReason closeReasonLocal) { in doClose()
527 public void onClose(CloseReason closeReason) { in onClose()
563 fireEndpointOnClose(new CloseReason( in onClose()
861 CloseReason closeReason; in processFrame()
866 closeReason = new CloseReason( in processFrame()
870 closeReason = new CloseReason( in processFrame()
888 throw new WsIOException(new CloseReason( in processFrame()
[all …]
H A DWsFrameClient.java24 import javax.websocket.CloseReason;
25 import javax.websocket.CloseReason.CloseCodes;
121 CloseReason cr; in close()
125 cr = new CloseReason(CloseCodes.CLOSED_ABNORMALLY, t.getMessage()); in close()
H A DWsWebSocketContainer.java59 import javax.websocket.CloseReason;
60 import javax.websocket.CloseReason.CloseCodes;
1028 CloseReason cr = new CloseReason( in destroy()
H A DUtil.java36 import javax.websocket.CloseReason.CloseCode;
37 import javax.websocket.CloseReason.CloseCodes;
H A DWsRemoteEndpointImplBase.java36 import javax.websocket.CloseReason;
37 import javax.websocket.CloseReason.CloseCodes;
/unit/src/java/javax/websocket/
H A DCloseReason.java19 public class CloseReason { class
24 public CloseReason(CloseReason.CloseCode closeCode, String reasonPhrase) { in CloseReason() method in CloseReason
47 public enum CloseCodes implements CloseReason.CloseCode {
H A DEndpoint.java36 public void onClose(Session session, CloseReason closeReason) { in onClose()
H A DSession.java135 void close(CloseReason closeReason) throws IOException; in close()
/unit/src/java/nginx/unit/websocket/server/
H A DWsHttpUpgradeHandler.java26 import javax.websocket.CloseReason;
27 import javax.websocket.CloseReason.CloseCodes;
161 private void close(CloseReason cr) { in close()
H A DWsServerContainer.java36 import javax.websocket.CloseReason;
37 import javax.websocket.CloseReason.CloseCodes;
67 private static final CloseReason AUTHENTICATED_HTTP_SESSION_CLOSED =
68 new CloseReason(CloseCodes.VIOLATED_POLICY,
/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoEndpointBase.java24 import javax.websocket.CloseReason;
99 public final void onClose(Session session, CloseReason closeReason) { in onClose()
H A DPojoMethodMapping.java33 import javax.websocket.CloseReason;
241 Session session, CloseReason closeReason) throws DecodeException { in getOnCloseArgs()
297 type.equals(CloseReason.class)) { in getPathParams()
337 EndpointConfig config, Throwable throwable, CloseReason closeReason) in buildArgs()
348 } else if (type.equals(CloseReason.class)) { in buildArgs()
/unit/auto/modules/
H A Djava482 src/java/javax/websocket/CloseReason.java \