public enum ClientConfigUtil extends Enum<ClientConfigUtil>
Modifier and Type | Method and Description |
---|---|
static ClientConfig |
addBasicAuthCredentials(ClientConfig config,
String user,
String password) |
static ClientConfigUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientConfigUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ClientConfigUtil[] values()
for (ClientConfigUtil c : ClientConfigUtil.values()) System.out.println(c);
public static ClientConfigUtil 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 ClientConfig addBasicAuthCredentials(ClientConfig config, String user, String password)
Copyright © 2012–2016. All rights reserved.