Java org.apache.commons.net.pop3 POP3SClient fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.net.pop3 POP3SClient fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.net.pop3 POP3SClient.

The text is from its open source code.

Constructor

POP3SClient(String proto, boolean implicit)
Constructor for POP3SClient.
POP3SClient(boolean implicit, SSLContext ctx)
Constructor for POP3SClient, using #DEFAULT_PROTOCOL i.e.
POP3SClient(boolean implicit)
Constructor for POP3SClient, using #DEFAULT_PROTOCOL i.e.
POP3SClient(String proto)
Constructor for POP3SClient.
POP3SClient(SSLContext context)
Constructor for POP3SClient, using #DEFAULT_PROTOCOL - TLS - and isImplicit = false

Method

voidconnect(InetAddress host, int port)
Opens a Socket connected to a remote host at the specified port and originating from the current host at a system assigned port.
voidconnect(InetAddress host)
Opens a Socket connected to a remote host at the current default port and originating from the current host at a system assigned port.
voiddisconnect()
Disconnects the client from the server, and sets the state to DISCONNECTED_STATE .
booleanexecTLS()
The TLS command execution.
voidgetAdditionalReply()
Retrieves the additional lines of a multi-line server reply.
StringgetReplyString()
Returns the reply to the last command sent to the server.
String[]getReplyStrings()
Returns an array of lines received as a reply to the last command sent to the server.
booleanisConnected()
Returns true if the client is currently connected to a server.
POP3MessageInfo[]listMessages()
List all messages.
booleanlogin(String username, String password)
Login to the POP3 server with the given username and password.
intsendCommand(String command)
Sends a command with no arguments to the server and returns the reply code.
voidsetDefaultTimeout(int timeout)
Set the default timeout in milliseconds to use when opening a socket.
voidsetEnabledCipherSuites(String[] cipherSuites)
Controls which particular cipher suites are enabled for use on this connection.
voidsetEnabledProtocols(String[] protocolVersions)
Controls which particular protocol versions are enabled for use on this connection.
voidsetTrustManager(TrustManager newTrustManager)
Override the default TrustManager to use.