public function match(HttpServletRequestInterface $servletRequest)
    {
        return fnmatch($this->getUrlPattern(), $servletRequest->getServletPath() . $servletRequest->getPathInfo());
    }
public function match(HttpServletRequestInterface $servletRequest)
    {
        return fnmatch($this->getUrlPattern(), $servletRequest->getServletPath() . $servletRequest->getPathInfo());
    }
public function match ( HttpServletRequestInterface $ servletRequest ) { return fnmatch ( $ this -> getUrlPattern ( ) , $ servletRequest -> getServletPath ( ) . $ servletRequest -> getPathInfo ( ) ) ; }
Return's TRUE if the passed request matches the mappings URL patter.

@param \AppserverIo\Psr\Servlet\Http\HttpServletRequestInterface $servletRequest The request to match

@return boolean TRUE if the request matches, else FALSE
Return s TRUE if the passed request matches the mappings URL patter .