public class Endpoint extends Object
| Constructor and Description |
|---|
Endpoint () |
| Modifier and Type | Method and Description |
|---|---|
CredentialScope |
getCredentialScope ()
returns credential scope for the endpoint.
|
String |
getHostName ()
returns the endpoint string.
|
Set<String> |
getProtocols ()
returns the supported schemes for the endpoint.
|
Set<String> |
getSignatureVersions ()
returns the supported signature versions of the endpoint.
|
String |
getSslCommonName ()
returns the ssl common name for the endpoint.
|
boolean |
hasHttpsSupport ()
A convienient methods that returns true if the endpoint support HTTPS
scheme.
|
boolean |
hasHttpSupport ()
A convienient methods that returns true if the endpoint support HTTP
scheme.
|
static Endpoint |
merge (Endpoint defaults,
Endpoint override)
Merges the given endpoints and returns the merged one.
|
void |
setCredentialScope (CredentialScope credentialScope)
sets the credential scope for the endpoint.
|
void |
setHostName (String hostName)
sets the endpoint string.
|
void |
setProtocols (Set<String> protocols)
sets the supported schemes for the endpoint.
|
void |
setSignatureVersions (Set<String> signatureVersions)
returns the supported signature versions of the endpoint.
|
void |
setSslCommonName (String sslCommonName)
sets the ssl common name for the endpoint.
|
public Endpoint()
public static Endpoint merge(Endpoint defaults, Endpoint override)
public String getHostName()
public void setHostName(String hostName)
public CredentialScope getCredentialScope()
public void setCredentialScope(CredentialScope credentialScope)
public void setProtocols(Set<String> protocols)
public Set<String> getSignatureVersions()
public void setSignatureVersions(Set<String> signatureVersions)
public String getSslCommonName()
public void setSslCommonName(String sslCommonName)
public boolean hasHttpsSupport()
public boolean hasHttpSupport()