|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.util.AwsHostNameUtils
public class AwsHostNameUtils
Constructor Summary | |
---|---|
AwsHostNameUtils()
|
Method Summary | |
---|---|
static String |
localHostName()
Returns the host name for the local host. |
static String |
parseRegionName(String host,
String serviceHint)
Attempts to parse the region name from an endpoint based on conventions about the endpoint format. |
static String |
parseRegionName(URI endpoint)
Deprecated. in favor of parseRegionName(String, String) . |
static String |
parseServiceName(URI endpoint)
Deprecated. because it's no longer needed by the SDK, and therefore not maintained. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AwsHostNameUtils()
Method Detail |
---|
@Deprecated public static String parseRegionName(URI endpoint)
parseRegionName(String, String)
.
public static String parseRegionName(String host, String serviceHint)
host
- the hostname to parseserviceHint
- an optional hint about the service for the endpoint
@Deprecated public static String parseServiceName(URI endpoint)
public static String localHostName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |