erface <span class="memberNameLabel">OnOpen</span></pre>
<div class="block">This method level annotation can be used to decorate a Java method that wishes to be called when a new web socket
 session is open.

 <p>
 The method may only take the following parameters:-
 <ul>
 <li>optional <a href="Session.html" title="interface in jakarta.websocket"><code>Session</code></a> parameter</li>
 <li>optional <a href="EndpointConfig.html" title="interface in jakarta.websocket"><code>EndpointConfig</code></a> paramete