public class ResponseFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Response |
getErrorResponse(java.lang.String message)
Returns a Response representing a erred message.
|
static Response |
getFilteredResponse(java.lang.String message)
Returns a Response representing a filtered message.
|
static Response |
getQueuedResponse(java.lang.String message)
Returns a Response representing a queued message.
|
static Response |
getSentResponse(java.lang.String message)
Returns a Response representing a successfully sent message.
|
public static Response getSentResponse(java.lang.String message)
message
- The response data to store.public static Response getErrorResponse(java.lang.String message)
message
- The response data to store.public static Response getFilteredResponse(java.lang.String message)
message
- The response data to store.public static Response getQueuedResponse(java.lang.String message)
message
- The response data to store.