public void processResponseEvent(HttpClientNIOResponseEvent event, HttpClientNIORequestActivityImpl activity) {

        HttpClientNIORequestActivityHandle ah = new HttpClientNIORequestActivityHandle(activity.getId());

        if (tracer.isFineEnabled())
            tracer.fine("==== FIRING ResponseEvent EVENT TO LOCAL SLEE, Event: " + event + " ====");

        try {
            resourceAdaptorContext.getSleeEndpoint().fireEvent(ah, fireableEventType, event, null, null, EVENT_FLAGS);
        } catch (Throwable e) {
            tracer.severe(e.getMessage(), e);
        }
    }
public void processResponseEvent ( HttpClientNIOResponseEvent event , HttpClientNIORequestActivityImpl activity ) { HttpClientNIORequestActivityHandle ah = new HttpClientNIORequestActivityHandle ( activity . getId ( ) ) ; if ( tracer . isFineEnabled ( ) ) tracer . fine ( "==== FIRING ResponseEvent EVENT TO LOCAL SLEE, Event: " + event + " ====" ) ; try { resourceAdaptorContext . getSleeEndpoint ( ) . fireEvent ( ah , fireableEventType , event , null , null , EVENT_FLAGS ) ; } catch ( Throwable e ) { tracer . severe ( e . getMessage ( ) , e ) ; } }
Receives an Event from the HTTP client and sends it to the SLEE.

@param event
@param activity