public class ServiceResponseWithOutcome<T> extends ServiceResponse
| Constructor and Description |
|---|
ServiceResponseWithOutcome(StatusCode status,
java.lang.String statusMessage) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<T> |
getOutcome() |
void |
setOutcome(T outcome) |
getResult, getStatusCode, getStatusMessage, isFailure, setResult, toStringpublic ServiceResponseWithOutcome(StatusCode status, java.lang.String statusMessage)