Class UrlPatternMatcher

java.lang.Object
org.apache.myfaces.util.UrlPatternMatcher

public class UrlPatternMatcher extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    match(String path, String pattern)
    NOTE: Taken from org.apache.catalina.deploy.SecurityConstraint Does the specified request path match the specified URL pattern? This method follows the same rules (in the same order) as those used for mapping requests to servlets.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UrlPatternMatcher

      public UrlPatternMatcher()
  • Method Details

    • match

      public static boolean match(String path, String pattern)
      NOTE: Taken from org.apache.catalina.deploy.SecurityConstraint Does the specified request path match the specified URL pattern? This method follows the same rules (in the same order) as those used for mapping requests to servlets.
      Parameters:
      path - Context-relative request path to be checked (must start with '/')
      pattern - URL pattern to be compared against