public class POP3Response extends AbstractResponse
Modifier and Type | Field and Description |
---|---|
static Response |
ERR
ERR_RESPONSE with no description |
static String |
ERR_RESPONSE
Error response.
|
static Response |
OK
OK_RESPONSE with no description |
static String |
OK_RESPONSE
OK response.
|
static String |
WS |
lines
DISCONNECT
Modifier | Constructor and Description |
---|---|
protected |
POP3Response() |
|
POP3Response(String code)
|
|
POP3Response(String code,
CharSequence description)
Construct a new POP3Response.
|
Modifier and Type | Method and Description |
---|---|
List<CharSequence> |
getLines()
Return a List of all responseLines stored in this POP3Response
|
appendLine, getRetCode, immutable, isEndSession, setEndSession, setRetCode, toString
public static final String OK_RESPONSE
public static final String ERR_RESPONSE
public static final String WS
public static final Response OK
OK_RESPONSE
with no descriptionpublic static final Response ERR
ERR_RESPONSE
with no descriptionpublic POP3Response(String code, CharSequence description)
null
an IllegalArgumentException
get throwncode
- the returnCodedescription
- the description or null
if no description should be usedpublic POP3Response(String code)
protected POP3Response()
public List<CharSequence> getLines()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.