public class ServiceFilterResponseImpl extends Object implements ServiceFilterResponse
Constructor and Description |
---|
ServiceFilterResponseImpl(HttpResponse response)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Gets the response's content.
|
Header[] |
getHeaders()
Gets the response's headers.
|
byte[] |
getRawContent()
Gets the response's content.
|
StatusLine |
getStatus()
Gets the response's status.
|
public ServiceFilterResponseImpl(HttpResponse response) throws IllegalStateException, IOException
response
- The request's responseIOException
IllegalStateException
public Header[] getHeaders()
ServiceFilterResponse
getHeaders
in interface ServiceFilterResponse
public String getContent()
ServiceFilterResponse
getContent
in interface ServiceFilterResponse
public byte[] getRawContent()
ServiceFilterResponse
getRawContent
in interface ServiceFilterResponse
public StatusLine getStatus()
ServiceFilterResponse
getStatus
in interface ServiceFilterResponse