public abstract class CallingFormat extends Object
Modifier and Type | Field and Description |
---|---|
static CallingFormat |
PATH
Call by using a path.
|
static CallingFormat |
SUBDOMAIN
Call by using a sub-domain of the bucket name.
|
static CallingFormat |
VANITY
Call using a "vanity" or user-provided hostname.
|
Constructor and Description |
---|
CallingFormat() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getEndpoint(String server,
int port,
Bucket bucket) |
abstract String |
getPathBase(Bucket bucket,
String key) |
abstract org.apache.commons.httpclient.URI |
getURI(boolean isSecure,
String server,
int port,
Bucket bucket,
String key,
Map<String,String> pathArgs) |
abstract boolean |
supportsLocatedBuckets() |
public static final CallingFormat PATH
public static final CallingFormat SUBDOMAIN
public static final CallingFormat VANITY
Copyright © 2013. All Rights Reserved.