public class RequestPattern
extends java.lang.Object
Constructor and Description |
---|
RequestPattern(java.lang.String urlPattern,
ResourceType resourceType,
InterceptionStage interceptionStage) |
Modifier and Type | Method and Description |
---|---|
InterceptionStage |
getInterceptionStage()
Stage at which to begin intercepting requests.
|
ResourceType |
getResourceType()
If set, only requests for matching resource types will be intercepted.
|
java.lang.String |
getUrlPattern()
Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed.
|
void |
setInterceptionStage(InterceptionStage interceptionStage)
Stage at which to begin intercepting requests.
|
void |
setResourceType(ResourceType resourceType)
If set, only requests for matching resource types will be intercepted.
|
void |
setUrlPattern(java.lang.String urlPattern)
Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed.
|
public RequestPattern(java.lang.String urlPattern, ResourceType resourceType, InterceptionStage interceptionStage)
public java.lang.String getUrlPattern()
public void setUrlPattern(java.lang.String urlPattern)
public ResourceType getResourceType()
public void setResourceType(ResourceType resourceType)
public InterceptionStage getInterceptionStage()
public void setInterceptionStage(InterceptionStage interceptionStage)