Interface ConnectionVerifier
- All Known Implementing Classes:
DefaultIncomingConnectionVerifier
public interface ConnectionVerifier
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyTimeout(long maxTimeout, ConnectionVerifier.AuthenticationType type, Properties props) getAuthenticationType(InboundMailServer mailServer) default voidoptionallyOverrideTimeout(Properties properties, String propertyName, long maxTimeout) voidverifyConnection(com.atlassian.mail.server.MailServer mailServer) Verifies connection to a mail server.
-
Method Details
-
verifyConnection
Verifies connection to a mail server.- Parameters:
mailServer- mail server to verify connection to- Throws:
Exception- if connection validation fails
-
applyTimeout
default void applyTimeout(long maxTimeout, ConnectionVerifier.AuthenticationType type, Properties props) -
optionallyOverrideTimeout
-
getAuthenticationType
-