org.apache.geronimo.javamail.store.imap.connection
Class IMAPOkResponse
java.lang.Object
org.apache.geronimo.javamail.store.imap.connection.IMAPResponse
org.apache.geronimo.javamail.store.imap.connection.IMAPUntaggedResponse
org.apache.geronimo.javamail.store.imap.connection.IMAPOkResponse
public class IMAPOkResponse
- extends IMAPUntaggedResponse
Util class to represent an untagged response from a IMAP server
- Version:
- $Rev: 594520 $ $Date: 2007-11-13 07:57:39 -0500 (Tue, 13 Nov 2007) $
Fields inherited from class org.apache.geronimo.javamail.store.imap.connection.IMAPResponse |
response |
Constructor Summary |
IMAPOkResponse(String keyword,
List status,
String message,
byte[] response)
Create a reply object from a server response line (normally, untagged). |
Method Summary |
String |
getMessage()
Get any trailing message associated with this
status response. |
String |
getResponseCode()
Get the response code included with the OK
response. |
List |
getStatus()
Return the status argument values associated with
this status response. |
status
protected List status
message
protected String message
IMAPOkResponse
public IMAPOkResponse(String keyword,
List status,
String message,
byte[] response)
- Create a reply object from a server response line (normally, untagged). This includes
doing the parsing of the response line.
- Parameters:
response
- The response line used to create the reply object.
getResponseCode
public String getResponseCode()
- Get the response code included with the OK
response.
- Returns:
- The string name of the response code.
getStatus
public List getStatus()
- Return the status argument values associated with
this status response.
- Returns:
- The status value information, as a list of tokens.
getMessage
public String getMessage()
- Get any trailing message associated with this
status response.
- Returns:
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.