original_string: public function setRequestOnHandler($request)
      {
          if ($this->handlerNeedsRequest()) {
              /** @var NeedRequestInterface $handler */
              $handler = $this->getHandler();
              $handler->setRequest($request);
          }
      }
code: public function setRequestOnHandler($request)
      {
          if ($this->handlerNeedsRequest()) {
              /** @var NeedRequestInterface $handler */
              $handler = $this->getHandler();
              $handler->setRequest($request);
          }
      }
code_tokens: public function setRequestOnHandler ( $ request ) { if ( $ this -> handlerNeedsRequest ( ) ) { /** @var NeedRequestInterface $handler */ $ handler = $ this -> getHandler ( ) ; $ handler -> setRequest ( $ request ) ; } }
docstring: Set the request on the handler instance.
  
  @param  \Swoft\Http\Message\Server\Request $request
  @return void
docstring_tokens: Set the request on the handler instance .