@Retention(value=RUNTIME) @Target(value=METHOD) public @interface OnClose
The method may only take the following parameters:-
Session
parameterCloseReason
parameterPathParam
annotation.The parameters may appear in any order. See
Endpoint.onClose(javax.websocket.Session, javax.websocket.CloseReason)
for more details on how the session parameter may be used during method calls
annotated with this annotation.
Copyright © 2017 JBoss by Red Hat. All rights reserved.