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