docs: public void invalidate ()
    {
      if (m_bInvalidated)
        throw new IllegalStateException ("Request scope already invalidated!");
      m_bInvalidated = true;
  
      if (m_aServletContext != null)
      {
        final ServletRequestEvent aSRE = new ServletRequestEvent (m_aServletContext, this);
        for (final ServletRequestListener aListener : MockHttpListener.getAllServletRequestListeners ())
          aListener.requestDestroyed (aSRE);
      }
  
      close ();
      clearAttributes ();
    }