protected static enum I2PTunnelHTTPClientBase.AuthResult extends Enum<I2PTunnelHTTPClientBase.AuthResult>
| Enum Constant and Description |
|---|
AUTH_BADAuthentication failed |
AUTH_BAD_REQBad request |
AUTH_GOODAuthentication successful |
AUTH_STALEStale nonce |
| Modifier and Type | Method and Description |
|---|---|
static I2PTunnelHTTPClientBase.AuthResult | valueOf(String name)Returns the enum constant of this type with the specified name. |
static I2PTunnelHTTPClientBase.AuthResult[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final I2PTunnelHTTPClientBase.AuthResult AUTH_BAD
public static final I2PTunnelHTTPClientBase.AuthResult AUTH_BAD_REQ
public static final I2PTunnelHTTPClientBase.AuthResult AUTH_GOOD
public static final I2PTunnelHTTPClientBase.AuthResult AUTH_STALE
public static I2PTunnelHTTPClientBase.AuthResult 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 static I2PTunnelHTTPClientBase.AuthResult[] values()
for (I2PTunnelHTTPClientBase.AuthResult c : I2PTunnelHTTPClientBase.AuthResult.values()) System.out.println(c);