Interface URIMatcher

    • Method Detail

      • matches

        boolean matches​(MatchInfo matchInfo)
                 throws java.net.UnknownHostException,
                        java.net.SocketException,
                        java.net.MalformedURLException
        Check if the uri is matching.
        Parameters:
        matchInfo - the matching information to check
        Returns:
        true if the uri is matching or false otherwise
        Throws:
        java.net.UnknownHostException
        java.net.SocketException
        java.net.MalformedURLException
      • isReject

        boolean isReject()
        If true and the matcher accepts the uri, the request needs to be rejected.