|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatusResponse
Represents an RFC2060
status response. The five specified
status server responses (OK
.
NO
, BAD
, PREAUTH
and BYE
) are modeled by this single interface.
They are differentiated by getServerResponseType()
Nested Class Summary | |
---|---|
static class |
StatusResponse.ResponseCode
Enumerates response codes. |
static class |
StatusResponse.Type
Enumerates types of RC2060 status response |
Method Summary | |
---|---|
ImapCommand |
getCommand()
Gets the command. |
StatusResponse.ResponseCode |
getResponseCode()
Gets the response code. |
StatusResponse.Type |
getServerResponseType()
Gets the server response type of this status message. |
java.lang.String |
getTag()
Gets the tag. |
HumanReadableTextKey |
getTextKey()
Gets the key to the human readable text to be displayed. |
Method Detail |
---|
StatusResponse.Type getServerResponseType()
java.lang.String getTag()
ImapCommand getCommand()
HumanReadableTextKey getTextKey()
StatusResponse.ResponseCode getResponseCode()
ResponseCode
, or null if there is no response
code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |