Constructor and Description |
---|
HttpUtil.HttpResponse(String content,
Map<String,String> headers)
Create a new instance with the given response content and headers
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Get the content
|
Map<String,String> |
getHeaders()
Get the map of headers
|
void |
setContent(String content)
Set the content
|
void |
setHeaders(Map<String,String> headers)
Set the map of headers
|
String |
toString()
String representation of this object; includes the list
of headers and the content.
|
Copyright © 2013. All rights reserved.