public static interface BeforeSendProxyHeadersCallback.Params
BeforeSendProxyHeadersCallback
.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 boolean |
isDidBypassProxy()
Returns
true if the request is using a direct connection due to proxy
exceptions. |
default boolean |
isDidUsePacScript()
Returns
true if the proxy configuration was done using a PAC script. |
default HostPort |
proxyServerAddress()
Returns the host-port pair representing the proxy server bound to this request.
|
default ProxyType |
proxyType()
Returns the type of the proxy bound to the request.
|
default UrlRequest |
urlRequest()
Returns the URL request.
|
default UrlRequest urlRequest()
default java.util.List<HttpHeader> httpHeaders()
default boolean isDidBypassProxy()
true
if the request is using a direct connection due to proxy
exceptions.default boolean isDidUsePacScript()
true
if the proxy configuration was done using a PAC script.default ProxyType proxyType()
default HostPort proxyServerAddress()