Uses of Class
jakarta.websocket.CloseReason
-
Packages that use CloseReason Package Description jakarta.websocket This package contains all the Jakarta WebSocket APIs common to both the client and server side.org.glassfish.tyrus.client Common Client.org.glassfish.tyrus.core Core classes.org.glassfish.tyrus.core.cluster Cluster relates classes and interfaces.org.glassfish.tyrus.core.frame WebSocket frame representations.org.glassfish.tyrus.spi Tyrus SPI. -
-
Uses of CloseReason in jakarta.websocket
Methods in jakarta.websocket with parameters of type CloseReason Modifier and Type Method Description voidSession. close(CloseReason closeReason)Close the current conversation, giving a reason for the closure.voidEndpoint. onClose(Session session, CloseReason closeReason)This method is called immediately prior to the session with the remote peer being closed. -
Uses of CloseReason in org.glassfish.tyrus.client
Methods in org.glassfish.tyrus.client with parameters of type CloseReason Modifier and Type Method Description booleanClientManager.ReconnectHandler. onDisconnect(CloseReason closeReason)Called afterOnCloseannotated method (orEndpoint.onClose(jakarta.websocket.Session, jakarta.websocket.CloseReason)is invoked. -
Uses of CloseReason in org.glassfish.tyrus.core
Methods in org.glassfish.tyrus.core that return CloseReason Modifier and Type Method Description static CloseReasonCloseReasons. create(CloseReason.CloseCode closeCode, java.lang.String reasonPhrase)CloseReasonCloseReasons. getCloseReason()Get close reason.CloseReasonProtocolException. getCloseReason()CloseReasonUtf8DecodingException. getCloseReason()abstract CloseReasonWebSocketException. getCloseReason()Get close reason.Methods in org.glassfish.tyrus.core with parameters of type CloseReason Modifier and Type Method Description voidTyrusRemoteEndpoint. close(CloseReason cr)voidTyrusSession. close(CloseReason closeReason)voidTyrusWebSocket. close(CloseReason closeReason)Closes thisTyrusWebSocketusing theCloseReason.voidAnnotatedEndpoint. onClose(Session session, CloseReason closeReason)voidTyrusEndpointWrapper.SessionListener. onClose(TyrusSession session, CloseReason closeReason)Invoked afterOnCloseannotated method orEndpoint.onClose(jakarta.websocket.Session, jakarta.websocket.CloseReason)execution. -
Uses of CloseReason in org.glassfish.tyrus.core.cluster
Methods in org.glassfish.tyrus.core.cluster with parameters of type CloseReason Modifier and Type Method Description abstract java.util.concurrent.Future<java.lang.Void>ClusterContext. close(java.lang.String sessionId, CloseReason closeReason)Close remote session with customCloseReason.voidRemoteSession. close(CloseReason closeReason)Close the current conversation, giving a reason for the closure.voidSessionEventListener. onClose(CloseReason closeReason)Invoked on session close event. -
Uses of CloseReason in org.glassfish.tyrus.core.frame
Methods in org.glassfish.tyrus.core.frame that return CloseReason Modifier and Type Method Description CloseReasonCloseFrame. getCloseReason()Get close reason.Constructors in org.glassfish.tyrus.core.frame with parameters of type CloseReason Constructor Description CloseFrame(CloseReason closeReason)Constructor. -
Uses of CloseReason in org.glassfish.tyrus.spi
Methods in org.glassfish.tyrus.spi with parameters of type CloseReason Modifier and Type Method Description voidConnection. close(CloseReason reason)Notifies tyrus that underlying transport is closing the connection.voidConnection.CloseListener. close(CloseReason reason)Tyrus notifies that logical connection is closed.
-