code: private void fireRequestSent(final AbstractBody request) {
          assertUnlocked();
  
          BOSHMessageEvent event = null;
          for (BOSHClientRequestListener listener : requestListeners) {
              if (event == null) {
                  event = BOSHMessageEvent.createRequestSentEvent(this, request);
              }
              try {
                  listener.requestSent(event);
              } catch (Exception ex) {
                  LOG.log(Level.WARNING, UNHANDLED, ex);
              }
          }
      }
docs: Notifies all request listeners that the specified request is being
  sent.
  
  @param request request being sent