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