public interface StatusResponse extends ImapResponseMessage
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()
Modifier and Type | Interface and Description |
---|---|
static class |
StatusResponse.ResponseCode
Enumerates response codes.
|
static class |
StatusResponse.Type
Enumerates types of RC2060 status response
|
Modifier and Type | Method and Description |
---|---|
ImapCommand |
getCommand()
Gets the command.
|
StatusResponse.ResponseCode |
getResponseCode()
Gets the response code.
|
StatusResponse.Type |
getServerResponseType()
Gets the server response type of this status message.
|
String |
getTag()
Gets the tag.
|
HumanReadableText |
getTextKey()
Gets the key to the human readable text to be displayed.
|
StatusResponse.Type getServerResponseType()
StatusResponse.Type.BAD
, StatusResponse.Type.BYE
, StatusResponse.Type.NO
,
StatusResponse.Type.OK
or StatusResponse.Type.PREAUTH
String getTag()
ImapCommand getCommand()
HumanReadableText getTextKey()
StatusResponse.ResponseCode getResponseCode()
ResponseCode
, or null if there is no response codeCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.