code: 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);
          }
      }
docs: Fires events representing that a response received from the service is fully processed.