ForwardingProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cdn. models. ForwardingProtocol
- com.
- com.
public final class ForwardingProtocol
extends ExpandableStringEnum<ForwardingProtocol>
Protocol this rule will use when forwarding traffic to backends.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Forwarding |
HTTPS_ONLY
Static value Https |
|
static final
Forwarding |
HTTP_ONLY
Static value Http |
|
static final
Forwarding |
MATCH_REQUEST
Static value Match |
Constructor Summary
| Constructor | Description |
|---|---|
| ForwardingProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Forwarding |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Forwarding |
fromString(String name)
Creates or finds a Forwarding |
|
static
Collection<Forwarding |
values()
Gets known Forwarding |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
HTTPS_ONLY
public static final ForwardingProtocol HTTPS_ONLY
Static value HttpsOnly for ForwardingProtocol.
HTTP_ONLY
public static final ForwardingProtocol HTTP_ONLY
Static value HttpOnly for ForwardingProtocol.
MATCH_REQUEST
public static final ForwardingProtocol MATCH_REQUEST
Static value MatchRequest for ForwardingProtocol.
Constructor Details
ForwardingProtocol
@Deprecated
public ForwardingProtocol()
Deprecated
Creates a new instance of ForwardingProtocol value.
Method Details
fromString
public static ForwardingProtocol fromString(String name)
Creates or finds a ForwardingProtocol from its string representation.
Parameters:
Returns:
values
public static Collection<ForwardingProtocol> values()
Gets known ForwardingProtocol values.
Returns: