public function applyPreHandle(ServletRequestInterface $request, ServletResponseInterface $response)
    {
        $interceptors = $this->getInterceptors();
        if (!empty($interceptors)) {
            for ($i = 0; $i < count($interceptors); $i++) {
                $interceptor = $interceptors[$i];
                if (!$interceptor->preHandle($request, $response, $this->handler)) {
                    $this->triggerAfterCompletion($request, $response, null);
                    return false;
                }
                $this->interceptorIndex = $i;
            }
        }
        return true;
    }