AppserverIo\Appserver\ServletEngine\Security\Mapping::match PHP Метод

match() публичный Метод

Return's TRUE if the passed request matches the mappings URL patter.
public match ( AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest ) : boolean
$servletRequest AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface The request to match
Результат boolean TRUE if the request matches, else FALSE
    public function match(HttpServletRequestInterface $servletRequest)
    {
        return fnmatch($this->getUrlPattern(), $servletRequest->getServletPath() . $servletRequest->getPathInfo());
    }