org.apache.geronimo.javamail.store.imap.connection
Class IMAPCapabilityResponse
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.IMAPCapabilityResponse
public class IMAPCapabilityResponse
- extends IMAPUntaggedResponse
Util class to represent a CAPABILITY 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 |
capabilities
protected Map capabilities
authentications
protected List authentications
IMAPCapabilityResponse
public IMAPCapabilityResponse(IMAPResponseTokenizer source,
byte[] response)
throws MessagingException
- 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.
- Throws:
MessagingException
getCapabilities
public Map getCapabilities()
- Return the capability map for the server.
- Returns:
- A map of the capability items.
getAuthentications
public List getAuthentications()
- Retrieve the map of the server-supported authentication
mechanisms.
- Returns:
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.