Class Request
java.lang.Object
org.openqa.selenium.devtools.v85.network.model.Request
HTTP request data.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRequest
(String url, Optional<String> urlFragment, String method, Headers headers, Optional<String> postData, Optional<Boolean> hasPostData, Optional<MixedContentType> mixedContentType, ResourcePriority initialPriority, Request.ReferrerPolicy referrerPolicy, Optional<Boolean> isLinkPreload) -
Method Summary
Modifier and TypeMethodDescriptionTrue when the request has POST data.HTTP request headers.Priority of the resource request at the time request is sent.Whether is loaded via link preload.HTTP request method.The mixed content type of the request.HTTP POST request data.The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/getUrl()
Request URL (without fragment).Fragment of the requested URL starting with hash, if present.
-
Constructor Details
-
Request
public Request(String url, Optional<String> urlFragment, String method, Headers headers, Optional<String> postData, Optional<Boolean> hasPostData, Optional<MixedContentType> mixedContentType, ResourcePriority initialPriority, Request.ReferrerPolicy referrerPolicy, Optional<Boolean> isLinkPreload)
-
-
Method Details
-
getUrl
Request URL (without fragment). -
getUrlFragment
Fragment of the requested URL starting with hash, if present. -
getMethod
HTTP request method. -
getHeaders
HTTP request headers. -
getPostData
HTTP POST request data. -
getHasPostData
True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long. -
getMixedContentType
The mixed content type of the request. -
getInitialPriority
Priority of the resource request at the time request is sent. -
getReferrerPolicy
The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/ -
getIsLinkPreload
Whether is loaded via link preload.
-