-
public final class RequestPattern
-
-
Field Summary
Fields Modifier and Type Field Description private final StringurlPatternprivate final ResourceTyperesourceTypeprivate final RequestStagerequestStage
-
Constructor Summary
Constructors Constructor Description RequestPattern(String urlPattern, ResourceType resourceType, RequestStage requestStage)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final ResourceTypecomponent2()final RequestStagecomponent3()final RequestPatterncopy(String urlPattern, ResourceType resourceType, RequestStage requestStage)final StringgetUrlPattern()Wildcards ('' -> zero or more, '?' -> exactly one) are allowed. final ResourceTypegetResourceType()If set, only requests for matching resource types will be intercepted. final RequestStagegetRequestStage()Stage at wich to begin intercepting requests. -
-
Constructor Detail
-
RequestPattern
RequestPattern(String urlPattern, ResourceType resourceType, RequestStage requestStage)
-
-
Method Detail
-
component1
final String component1()
-
component2
final ResourceType component2()
-
component3
final RequestStage component3()
-
copy
final RequestPattern copy(String urlPattern, ResourceType resourceType, RequestStage requestStage)
-
getUrlPattern
final String getUrlPattern()
Wildcards ('' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "".
-
getResourceType
final ResourceType getResourceType()
If set, only requests for matching resource types will be intercepted.
-
getRequestStage
final RequestStage getRequestStage()
Stage at wich to begin intercepting requests. Default is Request.
-
-
-
-