Package com.microsoft.playwright
Class Route.ResumeOptions
java.lang.Object
com.microsoft.playwright.Route.ResumeOptions
- Enclosing interface:
Route
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetHeaders(Map<String, String> headers) If set changes the request HTTP headers.If set changes the request method (e.g.setPostData(byte[] postData) If set changes the post data of request.setPostData(String postData) If set changes the post data of request.If set changes the request URL.
-
Field Details
-
headers
If set changes the request HTTP headers. Header values will be converted to a string. -
method
If set changes the request method (e.g. GET or POST). -
postData
If set changes the post data of request. -
url
If set changes the request URL. New URL must have same protocol as original one.
-
-
Constructor Details
-
ResumeOptions
public ResumeOptions()
-
-
Method Details
-
setHeaders
If set changes the request HTTP headers. Header values will be converted to a string. -
setMethod
If set changes the request method (e.g. GET or POST). -
setPostData
If set changes the post data of request. -
setPostData
If set changes the post data of request. -
setUrl
If set changes the request URL. New URL must have same protocol as original one.
-