final protected function haltOnDemand()
    {
        switch (true) {

            // If at least one of below conditions is true, then $this->halt() is called
            case $this->hasOption('secure') && $this->getOptions('secure') == true && !$this->request->isSecure():
            case $this->hasOption('ajax') && $this->getOptions('ajax') == true && !$this->request->isAjax():
            case $this->hasOption('method') && (strtoupper($this->getOptions('method')) != $this->request->getMethod()):

            $this->halt();
        }
    }