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(java.lang.Object value)
boolean
equals(java.lang.Object o)
java.lang.Object
getResponseValue()
int
hashCode()
boolean
isSuccessful()
java.lang.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(java.lang.Object value)
-
isSuccessful
public boolean isSuccessful()
-
getResponseValue
public java.lang.Object getResponseValue()
- Specified by:
getResponseValue
in classValidResponse
-
toString
public java.lang.String toString()
- Overrides:
toString
in classValidResponse
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-