public class ServiceResponseWithOutcome<T> extends ServiceResponse
Constructor and Description |
---|
ServiceResponseWithOutcome(StatusCode status,
String statusMessage) |
Modifier and Type | Method and Description |
---|---|
Optional<T> |
getOutcome() |
void |
setOutcome(T outcome) |
getStatusCode, getStatusMessage, isFailure, toString
public ServiceResponseWithOutcome(StatusCode status, String statusMessage)