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