Package | Description |
---|---|
com.github.dannil.scbjavaclient.communication |
Package which contains classes related to communication, be it HTTP or any other
form supported now, or in the future, by the API.
|
Modifier and Type | Method and Description |
---|---|
static CommunicationProtocol |
CommunicationProtocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommunicationProtocol[] |
CommunicationProtocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static URLEndpoint |
URLEndpoint.getRootUrl(Locale locale,
CommunicationProtocol communicationProtocol)
Returns the root URL for the API for a specific
Locale and
CommunicationProtocol . |
URLEndpoint |
URLEndpoint.toURL(String language,
CommunicationProtocol communicationProtocol)
Generates a new URL to the API by replacing the current language tag and
communication protocol in the URL with the specified language tag and
CommunicationProtocol . |
Copyright © 2018. All rights reserved.