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

java.lang.Object
  extended by it.eng.rdlab.soa3.connector.beans.ServiceResponse
      extended by it.eng.rdlab.soa3.connector.beans.StringResponse

public class StringResponse
extends ServiceResponse

Specification of ServiceResponse class to be used for string responses

Author:
Ciro Formisano (ENG)

Constructor Summary
StringResponse()
           
StringResponse(String response, int status)
           
 
Method Summary
 String getResponse()
          Provides the response in String format
 void importEntity(com.sun.jersey.api.client.ClientResponse clientResponse)
          imports the useful information from the actual response
 String toString()
          Provides the information in string format
 
Methods inherited from class it.eng.rdlab.soa3.connector.beans.ServiceResponse
getResponseCode, setResponseCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringResponse

public StringResponse()

StringResponse

public StringResponse(String response,
                      int status)
Method Detail

getResponse

public String getResponse()
Provides the response in String format

Returns:
the response

importEntity

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

Specified by:
importEntity in class ServiceResponse

toString

public String toString()
Provides the information in string format

Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.