
com.global.api.gateways.events.SslHandshakeEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk-BETA Show documentation
Show all versions of globalpayments-sdk-BETA Show documentation
API for processing payments through Global Payments
The newest version!
package com.global.api.gateways.events;
public class SslHandshakeEvent extends GatewayEvent {
private Exception sslException;
public String getEventMessage() {
String rvalue = super.getEventMessage();
if(sslException != null) {
rvalue = rvalue.concat(String.format("SSL Handshake Failed: %s", sslException.getMessage()));
}
else {
rvalue = rvalue.concat("SSL Handshake Success");
}
return rvalue;
}
public SslHandshakeEvent(String connectorName, Exception exc) {
super(connectorName, GatewayEventType.SslHandshake);
sslException = exc;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy