ocket.CloseReason-">onClose</a></span>(<a href="../../../jakarta/websocket/Session.html" title="interface in jakarta.websocket">Session</a>&nbsp;session,
       <a href="../../../jakarta/websocket/CloseReason.html" title="class in jakarta.websocket">CloseReason</a>&nbsp;closeReason)</code>
<div class="block">This method is called immediately prior to the session with the remote peer being closed.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== --