public final class ProxyRequestOptions extends Object
ProxyHttpClient
when handling proxy requests.Modifier and Type | Class and Description |
---|---|
static class |
ProxyRequestOptions.Builder
Builder class.
|
Modifier and Type | Method and Description |
---|---|
static ProxyRequestOptions.Builder |
builder() |
boolean |
equals(Object o) |
static ProxyRequestOptions |
getDefault() |
int |
hashCode() |
boolean |
isRetainHostHeader()
If
true , retain the host header from the given request. |
public static ProxyRequestOptions.Builder builder()
public static ProxyRequestOptions getDefault()
ProxyRequestOptions
that will behave the same way as
ProxyHttpClient.proxy(io.micronaut.http.HttpRequest)
public boolean isRetainHostHeader()
true
, retain the host header from the given request. If false
, it will be recomputed
based on the request URI (same behavior as ProxyHttpClient.proxy(io.micronaut.http.HttpRequest)
).