public class StringResponse extends ServiceResponse
ServiceResponse class to be used for string responses| Constructor and Description |
|---|
StringResponse() |
StringResponse(String response,
int status) |
| Modifier and Type | Method and Description |
|---|---|
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
|
getResponseCode, setResponseCodepublic StringResponse()
public StringResponse(String response, int status)
public String getResponse()
public void importEntity(com.sun.jersey.api.client.ClientResponse clientResponse)
importEntity in class ServiceResponseCopyright © 2015. All Rights Reserved.