public abstract class AbstactStatusResponseFactory extends Object implements StatusResponseFactory
| Constructor and Description |
|---|
AbstactStatusResponseFactory() |
| 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.
|
protected abstract StatusResponse |
createResponse(StatusResponse.Type type,
String tag,
ImapCommand command,
HumanReadableText displayTextKey,
StatusResponse.ResponseCode code) |
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.
|
protected abstract StatusResponse createResponse(StatusResponse.Type type, String tag, ImapCommand command, HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
public StatusResponse bye(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
StatusResponseFactorybye in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedcode - ResponseCode, not nullStatusResponse, not nullpublic StatusResponse bye(HumanReadableText displayTextKey)
StatusResponseFactorybye in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedStatusResponse, not nullpublic StatusResponse preauth(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
StatusResponseFactorypreauth in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedcode - ResponseCode, not nullStatusResponse, not nullpublic StatusResponse preauth(HumanReadableText displayTextKey)
StatusResponseFactorypreauth in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedStatusResponse, not nullpublic StatusResponse taggedBad(String tag, ImapCommand command, HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
StatusResponseFactorytaggedBad in interface StatusResponseFactorytag - CharSequence, not nullcommand - ImapCommand, not nulldisplayTextKey - key to the human readable code to be displayedcode - ResponseCode, not nullStatusResponse, not nullpublic StatusResponse taggedBad(String tag, ImapCommand command, HumanReadableText displayTextKey)
StatusResponseFactorytaggedBad in interface StatusResponseFactorytag - CharSequence, not nullcommand - ImapCommand, not nulldisplayTextKey - key to the human readable code to be displayedStatusResponse, not nullpublic StatusResponse taggedNo(String tag, ImapCommand command, HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
StatusResponseFactorytaggedNo in interface StatusResponseFactorytag - CharSequence, not nullcommand - ImapCommand, not nulldisplayTextKey - key to the human readable code to be displayedcode - ResponseCode, not nullStatusResponse, not nullpublic StatusResponse taggedNo(String tag, ImapCommand command, HumanReadableText displayTextKey)
StatusResponseFactorytaggedNo in interface StatusResponseFactorytag - CharSequence, not nullcommand - ImapCommand, not nulldisplayTextKey - key to the human readable code to be displayedStatusResponse, not nullpublic StatusResponse taggedOk(String tag, ImapCommand command, HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
StatusResponseFactorytaggedOk in interface StatusResponseFactorytag - operation tag, not nullcommand - ImapCommand, not nulldisplayTextKey - key to the human readable code to be displayedcode - ResponseCode, not nullStatusResponse, not nullpublic StatusResponse taggedOk(String tag, ImapCommand command, HumanReadableText displayTextKey)
StatusResponseFactorytaggedOk in interface StatusResponseFactorytag - CharSequence, not nullcommand - ImapCommand, not nulldisplayTextKey - key to the human readable code to be displayedStatusResponse, not nullpublic StatusResponse untaggedBad(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
StatusResponseFactoryuntaggedBad in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedcode - ResponseCode, not nullStatusResponse, not nullpublic StatusResponse untaggedBad(HumanReadableText displayTextKey)
StatusResponseFactoryuntaggedBad in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedStatusResponse, not nullpublic StatusResponse untaggedNo(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
StatusResponseFactoryuntaggedNo in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedcode - ResponseCode, not nullStatusResponse, not nullpublic StatusResponse untaggedNo(HumanReadableText displayTextKey)
StatusResponseFactoryuntaggedNo in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedStatusResponse, not nullpublic StatusResponse untaggedOk(HumanReadableText displayTextKey, StatusResponse.ResponseCode code)
StatusResponseFactoryuntaggedOk in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedcode - ResponseCode, not nullStatusResponse, not nullpublic StatusResponse untaggedOk(HumanReadableText displayTextKey)
StatusResponseFactoryuntaggedOk in interface StatusResponseFactorydisplayTextKey - key to the human readable code to be displayedStatusResponse, not nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.