@Override
    public String toString()
    {
        return "WebSocketConnection{" +
            "jid=" + (getStanzaHandler() == null ? "(null)" : getStanzaHandler().getAddress()) +
            ", remotePeer=" + remotePeer +
            ", socket=" + socket +
            ", connectionType=" + connectionType +
            '}';
    }
Following the conventions of the BOSH implementation, this class extends {@link VirtualConnection}
and delegates the expected XMPP connection behaviors to the corresponding {@link WebSocketClientConnectionHandler}.
xmppserver/src/main/java/org/jivesoftware/openfire/websocket/WebSocketConnection.java