Class RequestPattern
- java.lang.Object
-
- org.openqa.selenium.devtools.v103.fetch.model.RequestPattern
-
public class RequestPattern extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RequestPattern(java.util.Optional<java.lang.String> urlPattern, java.util.Optional<ResourceType> resourceType, java.util.Optional<RequestStage> requestStage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<RequestStage>
getRequestStage()
Stage at which to begin intercepting requests.java.util.Optional<ResourceType>
getResourceType()
If set, only requests for matching resource types will be intercepted.java.util.Optional<java.lang.String>
getUrlPattern()
Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed.
-
-
-
Constructor Detail
-
RequestPattern
public RequestPattern(java.util.Optional<java.lang.String> urlPattern, java.util.Optional<ResourceType> resourceType, java.util.Optional<RequestStage> requestStage)
-
-
Method Detail
-
getUrlPattern
public java.util.Optional<java.lang.String> getUrlPattern()
Wildcards (`'*'` -> zero or more, `'?'` -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to `"*"`.
-
getResourceType
public java.util.Optional<ResourceType> getResourceType()
If set, only requests for matching resource types will be intercepted.
-
getRequestStage
public java.util.Optional<RequestStage> getRequestStage()
Stage at which to begin intercepting requests. Default is Request.
-
-