et">CloseReason.CloseCode</a>&nbsp;getCloseCode()</pre>
<div class="block">Returns the close code.
 If this returns <code>null</code>, then it was <a href="../../../javax/faces/event/WebsocketEvent.Opened.html" title="annotation in javax.faces.event"><code>WebsocketEvent.Opened</code></a>.
 If this returns non-<code>null</code>, then it was <a href="../../../javax/faces/event/WebsocketEvent.Closed.html" title="annotation in javax.faces.event"><code>WebsocketEvent.Closed</code></a>.</div>
<dl>
<dt><span clas