Uses of Interface
com.microsoft.playwright.options.RequestOptions
Packages that use RequestOptions
Package
Description
-
Uses of RequestOptions in com.microsoft.playwright
Methods in com.microsoft.playwright with parameters of type RequestOptionsModifier and TypeMethodDescriptionAPIRequestContext.delete(String url, RequestOptions params) Sends HTTP(S) DELETE request and returns its response.APIRequestContext.fetch(Request urlOrRequest, RequestOptions params) Sends HTTP(S) request and returns its response.APIRequestContext.fetch(String urlOrRequest, RequestOptions params) Sends HTTP(S) request and returns its response.APIRequestContext.get(String url, RequestOptions params) Sends HTTP(S) GET request and returns its response.APIRequestContext.head(String url, RequestOptions params) Sends HTTP(S) HEAD request and returns its response.APIRequestContext.patch(String url, RequestOptions params) Sends HTTP(S) PATCH request and returns its response.APIRequestContext.post(String url, RequestOptions params) Sends HTTP(S) POST request and returns its response.APIRequestContext.put(String url, RequestOptions params) Sends HTTP(S) PUT request and returns its response. -
Uses of RequestOptions in com.microsoft.playwright.impl
Classes in com.microsoft.playwright.impl that implement RequestOptionsMethods in com.microsoft.playwright.impl that return RequestOptionsModifier and TypeMethodDescriptionRequestOptionsImpl.setData(byte[] data) RequestOptionsImpl.setFailOnStatusCode(boolean failOnStatusCode) RequestOptionsImpl.setIgnoreHTTPSErrors(boolean ignoreHTTPSErrors) RequestOptionsImpl.setMaxRedirects(int maxRedirects) RequestOptionsImpl.setMultipart(FormData form) RequestOptionsImpl.setQueryParam(String name, boolean value) RequestOptionsImpl.setQueryParam(String name, int value) RequestOptionsImpl.setQueryParam(String name, String value) private RequestOptionsRequestOptionsImpl.setQueryParamImpl(String name, Object value) RequestOptionsImpl.setTimeout(double timeout) Methods in com.microsoft.playwright.impl with parameters of type RequestOptionsModifier and TypeMethodDescriptionAPIRequestContextImpl.delete(String url, RequestOptions options) private static RequestOptionsImplAPIRequestContextImpl.ensureOptions(RequestOptions options, String method) APIRequestContextImpl.fetch(Request request, RequestOptions optionsArg) APIRequestContextImpl.fetch(String urlOrRequest, RequestOptions options) APIRequestContextImpl.get(String url, RequestOptions options) APIRequestContextImpl.head(String url, RequestOptions options) APIRequestContextImpl.patch(String url, RequestOptions options) APIRequestContextImpl.post(String url, RequestOptions options) APIRequestContextImpl.put(String url, RequestOptions options) -
Uses of RequestOptions in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options that return RequestOptionsModifier and TypeMethodDescriptionstatic RequestOptionsRequestOptions.create()Creates new instance ofRequestOptions.RequestOptions.setData(byte[] data) Sets the request's post data.Sets the request's post data.Sets the request's post data.RequestOptions.setFailOnStatusCode(boolean failOnStatusCode) ProvidesFormDataobject that will be serialized as html form usingapplication/x-www-form-urlencodedencoding and sent as this request body.Sets an HTTP header to the request.RequestOptions.setIgnoreHTTPSErrors(boolean ignoreHTTPSErrors) RequestOptions.setMaxRedirects(int maxRedirects) Changes the request method (e.g.RequestOptions.setMultipart(FormData form) ProvidesFormDataobject that will be serialized as html form usingmultipart/form-dataencoding and sent as this request body.RequestOptions.setQueryParam(String name, boolean value) Adds a query parameter to the request URL.RequestOptions.setQueryParam(String name, int value) Adds a query parameter to the request URL.RequestOptions.setQueryParam(String name, String value) Adds a query parameter to the request URL.RequestOptions.setTimeout(double timeout) Sets request timeout in milliseconds.