public static enum TestRestTemplate.HtppClientOption extends Enum<TestRestTemplate.HtppClientOption>
Enum Constant and Description |
---|
ENABLE_COOKIES
Enable cookies.
|
ENABLE_REDIRECTS
Enable redirects.
|
Modifier and Type | Method and Description |
---|---|
static TestRestTemplate.HtppClientOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestRestTemplate.HtppClientOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestRestTemplate.HtppClientOption ENABLE_COOKIES
public static final TestRestTemplate.HtppClientOption ENABLE_REDIRECTS
public static TestRestTemplate.HtppClientOption[] values()
for (TestRestTemplate.HtppClientOption c : TestRestTemplate.HtppClientOption.values()) System.out.println(c);
public static TestRestTemplate.HtppClientOption 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 © 2014 Pivotal Software, Inc.. All rights reserved.