Package | Description |
---|---|
com.hubspot.smtp.client |
This package contains classes to create and maintain connections to SMTP servers.
|
Modifier and Type | Method and Description |
---|---|
static SmtpSessionConfig.Builder |
SmtpSessionConfig.builder()
Creates a builder for
SmtpSessionConfig . |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.connectionId(String connectionId)
Initializes the value for the
connectionId attribute. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.connectionTimeout(Duration connectionTimeout)
Initializes the value for the
connectionTimeout attribute. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.disabledExtensions(EnumSet<Extension> disabledExtensions)
Initializes the value for the
disabledExtensions attribute. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.exceptionHandler(Consumer<Throwable> exceptionHandler)
Initializes the optional value
exceptionHandler to exceptionHandler. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.exceptionHandler(Optional<Consumer<Throwable>> exceptionHandler)
Initializes the optional value
exceptionHandler to exceptionHandler. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.from(SmtpSessionConfig instance)
Fill a builder with attribute values from the provided
SmtpSessionConfig instance. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.initialResponseReadTimeout(Duration initialResponseReadTimeout)
Initializes the optional value
initialResponseReadTimeout to initialResponseReadTimeout. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.initialResponseReadTimeout(Optional<Duration> initialResponseReadTimeout)
Initializes the optional value
initialResponseReadTimeout to initialResponseReadTimeout. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.keepAliveTimeout(Duration keepAliveTimeout)
Initializes the optional value
keepAliveTimeout to keepAliveTimeout. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.keepAliveTimeout(Optional<Duration> keepAliveTimeout)
Initializes the optional value
keepAliveTimeout to keepAliveTimeout. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.localAddress(InetSocketAddress localAddress)
Initializes the optional value
localAddress to localAddress. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.localAddress(Optional<InetSocketAddress> localAddress)
Initializes the optional value
localAddress to localAddress. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.readTimeout(Duration readTimeout)
Initializes the optional value
readTimeout to readTimeout. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.readTimeout(Optional<Duration> readTimeout)
Initializes the optional value
readTimeout to readTimeout. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.remoteAddress(InetSocketAddress remoteAddress)
Initializes the value for the
remoteAddress attribute. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.sendInterceptor(Optional<SendInterceptor> sendInterceptor)
Initializes the optional value
sendInterceptor to sendInterceptor. |
SmtpSessionConfig.Builder |
SmtpSessionConfig.Builder.sendInterceptor(SendInterceptor sendInterceptor)
Initializes the optional value
sendInterceptor to sendInterceptor. |
Copyright © 2018. All rights reserved.