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