mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Mahoney <mike.maho...@thingworx.com>
Subject BOSH doPost() question
Date Tue, 25 Oct 2011 18:54:47 GMT
Hi Everyone,

Quick question about org.apache.vysper.xmpp.extension.xep0124.BoshServlet.doPost(). At the
very beginning of the method is the following check:


BoshResponse boshResponse = (BoshResponse) req.getAttribute("response");
if (boshResponse != null) {
        // if the continuation is resumed or expired
        writeResponse(resp, boshResponse);
        return;
}

Under what conditions is the boshResponse not null, and where does it get set? I'm just confused
as to why the check is happening at the very beginning of the method, before any other processing
occurs.

Thanks,
Mike

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message