code: @Override
      public void onStartAsync(AsyncEvent asyncEvent) throws IOException {
  
          // re-register the listener because starting async removes listeners.
          asyncEvent.getAsyncContext().addListener(this, asyncEvent.getSuppliedRequest(), asyncEvent.getSuppliedResponse());
  
      }
docs: {@inheritDoc}