Class SuccessfulResponse
- java.lang.Object
-
- org.infinispan.remoting.responses.ValidResponse
-
- org.infinispan.remoting.responses.SuccessfulResponse
-
- All Implemented Interfaces:
Response
- Direct Known Subclasses:
BiasRevocationResponse
public class SuccessfulResponse extends ValidResponse
A successful response- Since:
- 4.0
- Author:
- Manik Surtani
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SuccessfulResponse.Externalizer
-
Field Summary
Fields Modifier and Type Field Description static SuccessfulResponse
SUCCESSFUL_EMPTY_RESPONSE
-
Constructor Summary
Constructors Modifier Constructor Description protected
SuccessfulResponse(Object responseValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SuccessfulResponse
create(Object responseValue)
boolean
equals(Object o)
Object
getResponseValue()
int
hashCode()
boolean
isSuccessful()
String
toString()
-
Methods inherited from class org.infinispan.remoting.responses.ValidResponse
isValid
-
-
-
-
Field Detail
-
SUCCESSFUL_EMPTY_RESPONSE
public static final SuccessfulResponse SUCCESSFUL_EMPTY_RESPONSE
-
-
Constructor Detail
-
SuccessfulResponse
protected SuccessfulResponse(Object responseValue)
-
-
Method Detail
-
create
public static SuccessfulResponse create(Object responseValue)
-
isSuccessful
public boolean isSuccessful()
-
getResponseValue
public Object getResponseValue()
- Specified by:
getResponseValue
in classValidResponse
-
toString
public String toString()
- Overrides:
toString
in classValidResponse
-
-