|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.net.websocket.Endpoint
org.glassfish.tyrus.AnnotatedEndpoint
public class AnnotatedEndpoint
AnnotatedEndpoint of a class annotated using the WebSocketEndpoint annotations
| Constructor Summary | |
|---|---|
AnnotatedEndpoint(Class<?> annotatedClass)
|
|
| Method Summary | |
|---|---|
void |
onClose(Session session,
CloseReason closeReason)
Developers may implement this method to be notified when an active conversation has just been terminated. |
void |
onError(Throwable thr,
Session session)
Developers may implement this method when a web socket connection, represented by the session, creates some kind of error that is not modeled in the web socket protocol. |
void |
onOpen(Session session)
Developers may implement this method to be notified when a new conversation has just begun. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedEndpoint(Class<?> annotatedClass)
| Method Detail |
|---|
public void onClose(Session session,
CloseReason closeReason)
Endpoint
onClose in class Endpoint
public void onError(Throwable thr,
Session session)
Endpoint
onError in class Endpointpublic void onOpen(Session session)
Endpoint
onOpen in class Endpoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||