Package com.worldline.acquiring.sdk.java
Class Client
java.lang.Object
com.worldline.acquiring.sdk.java.ApiResource
com.worldline.acquiring.sdk.java.Client
- All Implemented Interfaces:
LoggingCapable,ObfuscationCapable,Closeable,AutoCloseable
Worldline Acquiring platform client.
Thread-safe.
-
Field Summary
Fields inherited from class com.worldline.acquiring.sdk.java.ApiResource
communicator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Releases any system resources associated with this object.voidUtility method that delegates the call to this client's communicator.voidcloseIdleConnections(long idleTime, TimeUnit timeUnit) Utility method that delegates the call to this client's communicator.voidTurns off logging.voidenableLogging(CommunicatorLogger communicatorLogger) Turns on logging using the given communicator logger.voidsetBodyObfuscator(BodyObfuscator bodyObfuscator) Sets the current non-nullbody obfuscator to use.voidsetHeaderObfuscator(HeaderObfuscator headerObfuscator) Sets the current non-nullheader obfuscator to use.v1()Methods inherited from class com.worldline.acquiring.sdk.java.ApiResource
instantiateUri
-
Constructor Details
-
Client
-
-
Method Details
-
closeIdleConnections
Utility method that delegates the call to this client's communicator. -
closeExpiredConnections
public void closeExpiredConnections()Utility method that delegates the call to this client's communicator. -
setBodyObfuscator
Description copied from interface:ObfuscationCapableSets the current non-nullbody obfuscator to use.- Specified by:
setBodyObfuscatorin interfaceObfuscationCapable
-
setHeaderObfuscator
Description copied from interface:ObfuscationCapableSets the current non-nullheader obfuscator to use.- Specified by:
setHeaderObfuscatorin interfaceObfuscationCapable
-
enableLogging
Description copied from interface:LoggingCapableTurns on logging using the given communicator logger.- Specified by:
enableLoggingin interfaceLoggingCapable
-
disableLogging
public void disableLogging()Description copied from interface:LoggingCapableTurns off logging.- Specified by:
disableLoggingin interfaceLoggingCapable
-
close
Releases any system resources associated with this object.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
v1
-