code: public void setDispatch(Dispatcher.DispatcherRequest request, Dispatcher.DispatcherResponse response)
      {
          ThreadState state=state();
          state.dispatchRequest=request;
          state.dispatchResponse=response;
      }
docs: /* ------------------------------------------------------------