Class UnsuccessfulResponse
- java.lang.Object
-
- org.infinispan.remoting.responses.ValidResponse
-
- org.infinispan.remoting.responses.UnsuccessfulResponse
-
- All Implemented Interfaces:
Response
public class UnsuccessfulResponse extends ValidResponse
An unsuccessful response- Since:
- 4.0
- Author:
- Manik Surtani
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnsuccessfulResponse.Externalizer
-
Field Summary
Fields Modifier and Type Field Description static UnsuccessfulResponse
EMPTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnsuccessfulResponse
create(Object value)
boolean
equals(Object o)
Object
getResponseValue()
int
hashCode()
boolean
isSuccessful()
String
toString()
-
Methods inherited from class org.infinispan.remoting.responses.ValidResponse
isValid
-
-
-
-
Field Detail
-
EMPTY
public static final UnsuccessfulResponse EMPTY
-
-
Method Detail
-
create
public static UnsuccessfulResponse create(Object value)
-
isSuccessful
public boolean isSuccessful()
-
getResponseValue
public Object getResponseValue()
- Specified by:
getResponseValue
in classValidResponse
-
toString
public String toString()
- Overrides:
toString
in classValidResponse
-
-