public static enum Redirect.ConnControl extends Enum<Redirect.ConnControl>
| Enum Constant and Description | 
|---|
| CLOSE | 
| KEEP_ALIVE | 
| PROTOCOL_DEFAULT | 
| Modifier and Type | Method and Description | 
|---|---|
| static Redirect.ConnControl | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Redirect.ConnControl[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Redirect.ConnControl PROTOCOL_DEFAULT
public static final Redirect.ConnControl KEEP_ALIVE
public static final Redirect.ConnControl CLOSE
public static Redirect.ConnControl[] values()
for (Redirect.ConnControl c : Redirect.ConnControl.values()) System.out.println(c);
public static Redirect.ConnControl 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 nullCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.