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) |
getStatusCode, getStatusMessage, isFailure, toString
public ServiceResponseWithOutcome(StatusCode status, java.lang.String statusMessage)