org.infinispan.remoting.responses
Class SuccessfulResponse

java.lang.Object
  extended by org.infinispan.remoting.responses.ValidResponse
      extended by org.infinispan.remoting.responses.SuccessfulResponse
All Implemented Interfaces:
Response

public class SuccessfulResponse
extends ValidResponse

A successful response

Since:
4.0
Author:
Manik Surtani

Nested Class Summary
static class SuccessfulResponse.Externalizer
           
 
Constructor Summary
SuccessfulResponse()
           
SuccessfulResponse(Object responseValue)
           
 
Method Summary
 boolean equals(Object o)
           
 Object getResponseValue()
           
 int hashCode()
           
 boolean isSuccessful()
           
 void setResponseValue(Object responseValue)
           
 String toString()
           
 
Methods inherited from class org.infinispan.remoting.responses.ValidResponse
isValid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuccessfulResponse

public SuccessfulResponse()

SuccessfulResponse

public SuccessfulResponse(Object responseValue)
Method Detail

isSuccessful

public boolean isSuccessful()

getResponseValue

public Object getResponseValue()

setResponseValue

public void setResponseValue(Object responseValue)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class ValidResponse

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.