public enum InboundInterceptionMode extends Enum<InboundInterceptionMode>
iptables REDIRECT is always used for outbound connections.| Enum Constant and Description |
|---|
REDIRECT
The REDIRECT mode uses iptables REDIRECT to NAT and redirect to Envoy.
|
TPROXY
The TPROXY mode uses iptables TPROXY to redirect to Envoy.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static InboundInterceptionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InboundInterceptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InboundInterceptionMode REDIRECT
public static final InboundInterceptionMode TPROXY
public static InboundInterceptionMode[] values()
for (InboundInterceptionMode c : InboundInterceptionMode.values()) System.out.println(c);
public static InboundInterceptionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int value()
Copyright © 2017–2018 Red Hat. All rights reserved.