ForwardProxy Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ForwardProxy
- com.
Implements
public final class ForwardProxy
implements JsonSerializable<ForwardProxy>
The configuration settings of a forward proxy used to make the requests.
Constructor Summary
Constructor | Description |
---|---|
ForwardProxy() |
Creates an instance of Forward |
Method Summary
Modifier and Type | Method and Description |
---|---|
Forward |
convention()
Get the convention property: The convention used to determine the url of the request made. |
String |
customHostHeaderName()
Get the custom |
String |
customProtoHeaderName()
Get the custom |
static
Forward |
fromJson(JsonReader jsonReader)
Reads an instance of Forward |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Forward |
withConvention(ForwardProxyConvention convention)
Set the convention property: The convention used to determine the url of the request made. |
Forward |
withCustomHostHeaderName(String customHostHeaderName)
Set the custom |
Forward |
withCustomProtoHeaderName(String customProtoHeaderName)
Set the custom |
Methods inherited from java.lang.Object
Constructor Details
ForwardProxy
public ForwardProxy()
Creates an instance of ForwardProxy class.
Method Details
convention
public ForwardProxyConvention convention()
Get the convention property: The convention used to determine the url of the request made.
Returns:
customHostHeaderName
public String customHostHeaderName()
Get the customHostHeaderName property: The name of the header containing the host of the request.
Returns:
customProtoHeaderName
public String customProtoHeaderName()
Get the customProtoHeaderName property: The name of the header containing the scheme of the request.
Returns:
fromJson
public static ForwardProxy fromJson(JsonReader jsonReader)
Reads an instance of ForwardProxy from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withConvention
public ForwardProxy withConvention(ForwardProxyConvention convention)
Set the convention property: The convention used to determine the url of the request made.
Parameters:
Returns:
withCustomHostHeaderName
public ForwardProxy withCustomHostHeaderName(String customHostHeaderName)
Set the customHostHeaderName property: The name of the header containing the host of the request.
Parameters:
Returns:
withCustomProtoHeaderName
public ForwardProxy withCustomProtoHeaderName(String customProtoHeaderName)
Set the customProtoHeaderName property: The name of the header containing the scheme of the request.
Parameters:
Returns:
Applies to
Azure SDK for Java