org.apache.geronimo.javamail.store.pop3.connection
Class POP3Response
java.lang.Object
org.apache.geronimo.javamail.store.pop3.connection.POP3Response
- All Implemented Interfaces:
- POP3Constants
- Direct Known Subclasses:
- POP3ListResponse, POP3StatusResponse
public class POP3Response
- extends Object
- implements POP3Constants
This class provides the basic implementation for the POP3Response.
- Version:
- $Rev: 597135 $ $Date: 2007-11-21 11:26:57 -0500 (Wed, 21 Nov 2007) $
- See Also:
org.apache.geronimo.javamail.store.pop3.POP3Response
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getStatus
public int getStatus()
getData
public byte[] getData()
getContentStream
public ByteArrayInputStream getContentStream()
getFirstLine
public String getFirstLine()
isError
public boolean isError()
isChallenge
public boolean isChallenge()
decodeChallengeResponse
public byte[] decodeChallengeResponse()
- Decode the message portion of a continuation challenge response.
- Returns:
- The byte array containing the decoded data.
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.