public static enum CommonsHttpTransport.CachingBehavior extends Enum<CommonsHttpTransport.CachingBehavior>
CommonsHttpTransport.createHttpClient(com.atlassian.marketplace.client.http.HttpConfiguration, com.atlassian.fugue.Option<java.net.URI>) to indicate whether or not to
enable HTTP caching.| Enum Constant and Description |
|---|
CACHING |
NO_CACHING |
| Modifier and Type | Method and Description |
|---|---|
static CommonsHttpTransport.CachingBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonsHttpTransport.CachingBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonsHttpTransport.CachingBehavior NO_CACHING
public static final CommonsHttpTransport.CachingBehavior CACHING
public static CommonsHttpTransport.CachingBehavior[] values()
for (CommonsHttpTransport.CachingBehavior c : CommonsHttpTransport.CachingBehavior.values()) System.out.println(c);
public static CommonsHttpTransport.CachingBehavior 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 © 2016 Atlassian. All rights reserved.