class StarttlsHandlerIMAP extends Object implements StarttlsHandler
StarttlsHandler
implementation for IMAP protocol.Constructor and Description |
---|
StarttlsHandlerIMAP() |
public boolean run(String host, int port)
StarttlsHandler
run
in interface StarttlsHandler
host
- the host to connect toport
- the port to connect totrue
if getting a certificate via STARTTLS is
believed to be successful, false
otherwise