private static void fireResponseReceivedEvent ( OperationContext opContext , HttpURLConnection request , RequestResult result ) { if ( opContext . getResponseReceivedEventHandler ( ) . hasListeners ( ) || OperationContext . getGlobalResponseReceivedEventHandler ( ) . hasListeners ( ) ) { ResponseReceivedEvent event = new ResponseReceivedEvent ( opContext , request , result ) ; opContext . getResponseReceivedEventHandler ( ) . fireEvent ( event ) ; OperationContext . getGlobalResponseReceivedEventHandler ( ) . fireEvent ( event ) ; } }
Fires events representing that a response has been received .