final HttpTxContext context = HttpTxContext.get(ctx);
final AsyncHandler handler = context.getHandler();
if (handler != null && context.getCurrentState() != ABORT) {
try {
context.setCurrentState(handler.onBodyPartReceived(new GrizzlyResponseBodyPart(content, ctx.getConnection())));
} catch (Exception e) {
handler.onThrowable(e);
}
}