Enum Constant and Description |
---|
ALTERNATE_TO_DOWNSTREAM
We answer to downstream directly with a proxy-build response
|
ALTERNATE_TO_UPSTREAM
A proxy-generated Buffer should be passed to upstream
|
DISCONNECT
Disconnect the client
|
EXPECT_MORE
Buffer was saved and we expect more data to make a decision
|
PASS_THROUGH
Buffer can be passed as-is to upstream server
|
STARTTLS
Initiate ssl handshake after sending response
|
Modifier and Type | Method and Description |
---|---|
static Routing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Routing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Routing DISCONNECT
public static final Routing STARTTLS
public static final Routing EXPECT_MORE
public static final Routing PASS_THROUGH
public static final Routing ALTERNATE_TO_UPSTREAM
public static final Routing ALTERNATE_TO_DOWNSTREAM
public static Routing[] values()
for (Routing c : Routing.values()) System.out.println(c);
public static Routing valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2021. All Rights Reserved.