it.eng.rdlab.soa3.connector.beans
Class ServiceResponse

java.lang.Object
  extended by it.eng.rdlab.soa3.connector.beans.ServiceResponse
Direct Known Subclasses:
StringResponse, UserBeanResponse

public abstract class ServiceResponse
extends Object

Utility abstract class to pack a service response

Author:
Ciro Formisano (ENG)

Constructor Summary
ServiceResponse()
           
 
Method Summary
 int getResponseCode()
          Getter for the response code
abstract  void importEntity(com.sun.jersey.api.client.ClientResponse clientResponse)
          imports the useful information from the actual response
 void setResponseCode(int responseCode)
          Setter for the response code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceResponse

public ServiceResponse()
Method Detail

setResponseCode

public void setResponseCode(int responseCode)
Setter for the response code

Parameters:
responseCode -

getResponseCode

public int getResponseCode()
Getter for the response code

Returns:

importEntity

public abstract void importEntity(com.sun.jersey.api.client.ClientResponse clientResponse)
imports the useful information from the actual response

Parameters:
clientResponse -


Copyright © 2013. All Rights Reserved.