public class SuccessfulResponse<T> extends ValidResponse
Modifier and Type | Class and Description |
---|---|
static class |
SuccessfulResponse.Externalizer |
Modifier and Type | Field and Description |
---|---|
static SuccessfulResponse |
SUCCESSFUL_EMPTY_RESPONSE |
Modifier | Constructor and Description |
---|---|
protected |
SuccessfulResponse(T responseValue) |
Modifier and Type | Method and Description |
---|---|
static <T> SuccessfulResponse<T> |
create(T responseValue) |
boolean |
equals(Object o) |
T |
getResponseValue() |
int |
hashCode() |
boolean |
isSuccessful() |
String |
toString() |
isValid
public static final SuccessfulResponse SUCCESSFUL_EMPTY_RESPONSE
protected SuccessfulResponse(T responseValue)
public static <T> SuccessfulResponse<T> create(T responseValue)
public boolean isSuccessful()
public T getResponseValue()
getResponseValue
in class ValidResponse
public String toString()
toString
in class ValidResponse
Copyright © 2021 JBoss by Red Hat. All rights reserved.