public interface StatusResponseFactory
StatusResponse
instances. This interface enforces RFC2060
rules.Modifier and Type | Method and Description |
---|---|
StatusResponse |
bye(HumanReadableText displayTextKey)
Creates a BYE status response.
|
StatusResponse |
bye(HumanReadableText displayTextKey,
StatusResponse.ResponseCode code)
Creates a BYE status response.
|
StatusResponse |
preauth(HumanReadableText displayTextKey)
Creates a PREAUTH status response.
|
StatusResponse |
preauth(HumanReadableText displayTextKey,
StatusResponse.ResponseCode code)
Creates a PREAUTH status response.
|
StatusResponse |
taggedBad(String tag,
ImapCommand command,
HumanReadableText displayTextKey)
Creates a tagged BAD status response.
|
StatusResponse |
taggedBad(String tag,
ImapCommand command,
HumanReadableText displayTextKey,
StatusResponse.ResponseCode code)
Creates a tagged BAD status response.
|
StatusResponse |
taggedNo(String tag,
ImapCommand command,
HumanReadableText displayTextKey)
Creates a tagged NO status response.
|
StatusResponse |
taggedNo(String tag,
ImapCommand command,
HumanReadableText displayTextKey,
StatusResponse.ResponseCode code)
Creates a tagged NO status response.
|
StatusResponse |
taggedOk(String tag,
ImapCommand command,
HumanReadableText displayTextKey)
Creates a tagged OK status response.
|
StatusResponse |
taggedOk(String tag,
ImapCommand command,
HumanReadableText displayTextKey,
StatusResponse.ResponseCode code)
Creates a tagged OK status response.
|
StatusResponse |
untaggedBad(HumanReadableText displayTextKey)
Creates a untagged BAD status response.
|
StatusResponse |
untaggedBad(HumanReadableText displayTextKey,
StatusResponse.ResponseCode code)
Creates a untagged BAD status response.
|
StatusResponse |
untaggedNo(HumanReadableText displayTextKey)
Creates a untagged NO status response.
|
StatusResponse |
untaggedNo(HumanReadableText displayTextKey,
StatusResponse.ResponseCode code)
Creates a untagged NO status response.
|
StatusResponse |
untaggedOk(HumanReadableText displayTextKey)
Creates a untagged OK status response.
|
StatusResponse |
untaggedOk(HumanReadableText displayTextKey,
StatusResponse.ResponseCode code)
Creates a untagged OK status response.
|
StatusResponse taggedOk(String tag, ImapCommand command, HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
tag
- operation tag, not nullcommand
- ImapCommand
, not nulldisplayTextKey
- key to the human readable code to be displayedcode
- ResponseCode
, not nullStatusResponse
, not nullStatusResponse taggedNo(String tag, ImapCommand command, HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
tag
- CharSequence
, not nullcommand
- ImapCommand
, not nulldisplayTextKey
- key to the human readable code to be displayedcode
- ResponseCode
, not nullStatusResponse
, not nullStatusResponse taggedBad(String tag, ImapCommand command, HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
tag
- CharSequence
, not nullcommand
- ImapCommand
, not nulldisplayTextKey
- key to the human readable code to be displayedcode
- ResponseCode
, not nullStatusResponse
, not nullStatusResponse untaggedOk(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
displayTextKey
- key to the human readable code to be displayedcode
- ResponseCode
, not nullStatusResponse
, not nullStatusResponse untaggedNo(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
displayTextKey
- key to the human readable code to be displayedcode
- ResponseCode
, not nullStatusResponse
, not nullStatusResponse untaggedBad(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
displayTextKey
- key to the human readable code to be displayedcode
- ResponseCode
, not nullStatusResponse
, not nullStatusResponse preauth(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
displayTextKey
- key to the human readable code to be displayedcode
- ResponseCode
, not nullStatusResponse
, not nullStatusResponse bye(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
displayTextKey
- key to the human readable code to be displayedcode
- ResponseCode
, not nullStatusResponse
, not nullStatusResponse taggedOk(String tag, ImapCommand command, HumanReadableText displayTextKey)
tag
- CharSequence
, not nullcommand
- ImapCommand
, not nulldisplayTextKey
- key to the human readable code to be displayedStatusResponse
, not nullStatusResponse taggedNo(String tag, ImapCommand command, HumanReadableText displayTextKey)
tag
- CharSequence
, not nullcommand
- ImapCommand
, not nulldisplayTextKey
- key to the human readable code to be displayedStatusResponse
, not nullStatusResponse taggedBad(String tag, ImapCommand command, HumanReadableText displayTextKey)
tag
- CharSequence
, not nullcommand
- ImapCommand
, not nulldisplayTextKey
- key to the human readable code to be displayedStatusResponse
, not nullStatusResponse untaggedOk(HumanReadableText displayTextKey)
displayTextKey
- key to the human readable code to be displayedStatusResponse
, not nullStatusResponse untaggedNo(HumanReadableText displayTextKey)
displayTextKey
- key to the human readable code to be displayedStatusResponse
, not nullStatusResponse untaggedBad(HumanReadableText displayTextKey)
displayTextKey
- key to the human readable code to be displayedStatusResponse
, not nullStatusResponse preauth(HumanReadableText displayTextKey)
displayTextKey
- key to the human readable code to be displayedStatusResponse
, not nullStatusResponse bye(HumanReadableText displayTextKey)
displayTextKey
- key to the human readable code to be displayedStatusResponse
, not nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.