Home
last modified time | relevance | path

Searched refs:CloseCode (Results 1 – 3 of 3) sorted by relevance

/unit/src/java/javax/websocket/
H A DCloseReason.java21 private final CloseCode closeCode;
24 public CloseReason(CloseReason.CloseCode closeCode, String reasonPhrase) { in CloseReason()
29 public CloseCode getCloseCode() { in getCloseCode()
43 public interface CloseCode { interface in CloseReason
47 public enum CloseCodes implements CloseReason.CloseCode {
71 public static CloseCode getCloseCode(final int code) { in getCloseCode()
73 return new CloseCode() { in getCloseCode()
/unit/src/java/nginx/unit/websocket/
H A DUtil.java36 import javax.websocket.CloseReason.CloseCode;
86 static CloseCode getCloseCode(int code) { in getCloseCode()
H A DWsSession.java39 import javax.websocket.CloseReason.CloseCode;
628 CloseCode closeCode = closeReason.getCloseCode(); in sendCloseMessage()