public final class ForwardProxy extends Object
| Constructor and Description |
|---|
ForwardProxy() |
| Modifier and Type | Method and Description |
|---|---|
ForwardProxyConvention |
convention()
Get the convention property: The convention used to determine the url of the request made.
|
String |
customHostHeaderName()
Get the customHostHeaderName property: The name of the header containing the host of the request.
|
String |
customProtoHeaderName()
Get the customProtoHeaderName property: The name of the header containing the scheme of the request.
|
void |
validate()
Validates the instance.
|
ForwardProxy |
withConvention(ForwardProxyConvention convention)
Set the convention property: The convention used to determine the url of the request made.
|
ForwardProxy |
withCustomHostHeaderName(String customHostHeaderName)
Set the customHostHeaderName property: The name of the header containing the host of the request.
|
ForwardProxy |
withCustomProtoHeaderName(String customProtoHeaderName)
Set the customProtoHeaderName property: The name of the header containing the scheme of the request.
|
public ForwardProxyConvention convention()
public ForwardProxy withConvention(ForwardProxyConvention convention)
convention - the convention value to set.public String customHostHeaderName()
public ForwardProxy withCustomHostHeaderName(String customHostHeaderName)
customHostHeaderName - the customHostHeaderName value to set.public String customProtoHeaderName()
public ForwardProxy withCustomProtoHeaderName(String customProtoHeaderName)
customProtoHeaderName - the customProtoHeaderName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.