public synchronized boolean isClosed() {
        return isClosed;
    }
Returns true if this connection has been closed, either a response was delivered to the
client or the server closed the connection abruptly.

@return true if this connection has been closed.
xmppserver/src/main/java/org/jivesoftware/openfire/http/HttpConnection.java