public class IMAPResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List |
code
The response code.
|
static String |
CONTINUATION
The continuation response tag.
|
protected int |
count
The message count (for responses returning counts).
|
protected String |
id
The response ID.
|
protected String |
mailbox
The mailbox (for STATUS responses).
|
protected String |
tag
The tag for this response.
|
protected String |
text
The human-readable text.
|
static String |
UNTAGGED
The untagged response tag.
|
| Constructor and Description |
|---|
IMAPResponse() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
String |
getID() |
List |
getResponseCode() |
String |
getTag() |
String |
getText() |
boolean |
isContinuation() |
boolean |
isTagged() |
boolean |
isUntagged() |
String |
toANSIString()
ANSI-coloured toString for debugging.
|
String |
toString() |
public static final String UNTAGGED
public static final String CONTINUATION
protected String tag
protected String id
protected int count
protected String mailbox
protected List code
protected String text
public String getTag()
public boolean isTagged()
public boolean isUntagged()
public boolean isContinuation()
public String getID()
public int getCount()
public List getResponseCode()
public String getText()
public String toANSIString()
Copyright © 2017. All rights reserved.