private static void fireRequestCompletedEvent(OperationContext opContext, HttpURLConnection request,
            RequestResult result) {
    """
	Fires events representing that a response received from the service is fully processed.
    """
        if (opContext.getRequestCompletedEventHandler().hasListeners()
                || OperationContext.getGlobalRequestCompletedEventHandler().hasListeners()) {
            RequestCompletedEvent event = new RequestCompletedEvent(opContext, request, result);
            opContext.getRequestCompletedEventHandler().fireEvent(event);
            OperationContext.getGlobalRequestCompletedEventHandler().fireEvent(event);
        }
    }
private static void fireRequestCompletedEvent(OperationContext opContext, HttpURLConnection request,
            RequestResult result) {
        if (opContext.getRequestCompletedEventHandler().hasListeners()
                || OperationContext.getGlobalRequestCompletedEventHandler().hasListeners()) {
            RequestCompletedEvent event = new RequestCompletedEvent(opContext, request, result);
            opContext.getRequestCompletedEventHandler().fireEvent(event);
            OperationContext.getGlobalRequestCompletedEventHandler().fireEvent(event);
        }
    }
private static void fireRequestCompletedEvent ( OperationContext opContext , HttpURLConnection request , RequestResult result ) { if ( opContext . getRequestCompletedEventHandler ( ) . hasListeners ( ) || OperationContext . getGlobalRequestCompletedEventHandler ( ) . hasListeners ( ) ) { RequestCompletedEvent event = new RequestCompletedEvent ( opContext , request , result ) ; opContext . getRequestCompletedEventHandler ( ) . fireEvent ( event ) ; OperationContext . getGlobalRequestCompletedEventHandler ( ) . fireEvent ( event ) ; } }
Fires events representing that a response received from the service is fully processed.
Fires events representing that a response received from the service is fully processed .