Uses of Class
com.microsoft.playwright.Route.FulfillOptions
Packages that use Route.FulfillOptions
-
Uses of Route.FulfillOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return Route.FulfillOptionsModifier and TypeMethodDescriptionOptional response body as text.Route.FulfillOptions.setBodyBytes(byte[] bodyBytes) Optional response body as raw bytes.Route.FulfillOptions.setContentType(String contentType) If set, equals to settingContent-Typeresponse header.Route.FulfillOptions.setHeaders(Map<String, String> headers) Response headers.File path to respond with.Route.FulfillOptions.setResponse(APIResponse response) APIResponseto fulfill route's request with.Route.FulfillOptions.setStatus(int status) Response status code, defaults to200.Methods in com.microsoft.playwright with parameters of type Route.FulfillOptionsModifier and TypeMethodDescriptionvoidRoute.fulfill(Route.FulfillOptions options) Fulfills route's request with given response. -
Uses of Route.FulfillOptions in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl with parameters of type Route.FulfillOptionsModifier and TypeMethodDescriptionvoidRouteImpl.fulfill(Route.FulfillOptions options) private voidRouteImpl.fulfillImpl(Route.FulfillOptions options)