Package com.wavemaker.commons.pattern
Class URLPattern
- java.lang.Object
-
- com.wavemaker.commons.pattern.URLPattern
-
- Direct Known Subclasses:
DirectoryURLPattern,ExactURLPattern,ExtensionURLPattern
public abstract class URLPattern extends java.lang.ObjectCreated by sunilp on 7/10/15.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedURLPattern(java.lang.String pattern)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static URLPatternconstructPattern(java.lang.String requestPattern)java.lang.StringgetPatternString()abstract booleanmatches(java.lang.String requestURI)This method, takes a request URI, and checks whether this uri matches this pattern or not.
-
-
-
Method Detail
-
constructPattern
public static URLPattern constructPattern(java.lang.String requestPattern)
-
getPatternString
public java.lang.String getPatternString()
-
matches
public abstract boolean matches(java.lang.String requestURI)
This method, takes a request URI, and checks whether this uri matches this pattern or not. if matches will return true. else returns false.
-
-