public static interface InterceptRequestCallback.Params
InterceptRequestCallback
.Modifier and Type | Method and Description |
---|---|
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 java.util.Optional<UploadData> |
uploadData()
Returns an
Optional that contains the upload data in the request or an empty
Optional if the request does not have any upload data. |
default UrlRequest |
urlRequest()
Returns the URL request.
|
default UrlRequest urlRequest()
default java.util.Optional<UploadData> uploadData()
Optional
that contains the upload data in the request or an empty
Optional
if the request does not have any upload data.default java.util.List<HttpHeader> httpHeaders()