Uses of Class
com.github.dannil.scbjavaclient.communication.CommunicationProtocol
-
Packages that use CommunicationProtocol Package Description com.github.dannil.scbjavaclient.client Package which contains all clients.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. -
-
Uses of CommunicationProtocol in com.github.dannil.scbjavaclient.client
Methods in com.github.dannil.scbjavaclient.client that return CommunicationProtocol Modifier and Type Method Description CommunicationProtocol
AbstractClient. getCommunicationProtocol()
Returns the communication protocol for this client instance.Methods in com.github.dannil.scbjavaclient.client with parameters of type CommunicationProtocol Modifier and Type Method Description void
AbstractClient. setCommunicationProtocol(CommunicationProtocol communicationProtocol)
Sets the communication protocol for this client instance.SCBClientBuilder
SCBClientBuilder. setCommunicationProtocol(CommunicationProtocol communicationProtocol)
Sets theCommunicationProtocol
for this builder, and therefore the client generated from this builder. -
Uses of CommunicationProtocol in com.github.dannil.scbjavaclient.communication
Methods in com.github.dannil.scbjavaclient.communication that return CommunicationProtocol Modifier and Type Method 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.Methods in com.github.dannil.scbjavaclient.communication with parameters of type CommunicationProtocol Modifier and Type Method Description static URLEndpoint
URLEndpoint. getRootUrl(Locale locale, CommunicationProtocol communicationProtocol)
Returns the root URL for the API for a specificLocale
andCommunicationProtocol
.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 andCommunicationProtocol
.
-