public class URLPatternMatcher extends Object
Constructor and Description |
---|
URLPatternMatcher()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
match(String pattern,
String httpMethod,
URLPattern urlPattern)
Test to see if a string pattern and HTTP method matches a URLPattern.
|
boolean |
match(String pattern,
URLPattern urlPattern)
Test to see if a string pattern matches a URLPattern.
|
public boolean match(String pattern, URLPattern urlPattern) throws Exception
pattern
- a String pattern to check for a matchurlPattern
- a URLPattern object to match againstException
public boolean match(String pattern, String httpMethod, URLPattern urlPattern) throws Exception
pattern
- a String pattern to check for a matchhttpMethod
- an HTTP pattern to check for a matchurlPattern
- a URLPattern object to match againstException
Copyright © 2020 B3Partners B.V.. All rights reserved.