public static interface BeforeSendHeadersCallback.Params
BeforeSendHeadersCallback
.Modifier and Type | Method and Description |
---|---|
default java.util.Optional<Browser> |
browser()
Returns an
Optional that contains the Browser instance initiated this
request or an empty Optional if it has not been determined or not available
anymore. |
default java.util.List<HttpHeader> |
httpHeaders()
Returns an immutable list of the HTTP headers of the request or an empty list if the
request does not have any HTTP headers.
|
default UrlRequest |
urlRequest()
Returns the URL request.
|
default UrlRequest urlRequest()
default java.util.List<HttpHeader> httpHeaders()
default java.util.Optional<Browser> browser()
Optional
that contains the Browser
instance initiated this
request or an empty Optional
if it has not been determined or not available
anymore.