public class SseResponseBody extends ResponseBody
EVENT_NAME| Constructor and Description |
|---|
SseResponseBody() |
SseResponseBody(boolean includeResourceLinks) |
| Modifier and Type | Method and Description |
|---|---|
SseResponseBody |
addHeader(String name,
Object value) |
org.codehaus.jettison.json.JSONObject |
toJson() |
add, add, addActionResourceLink, addFailure, addFailure, addFailure, addMessage, addMessage, addParentResourceLink, addResourceLink, addResourceLink, addSuccess, addWarning, getMessages, getResourceLinks, populateJson, setIncludeResourceLinks, setMessages, setResourceLinkspublic SseResponseBody()
public SseResponseBody(boolean includeResourceLinks)
public SseResponseBody addHeader(String name, Object value)
public org.codehaus.jettison.json.JSONObject toJson()
throws org.codehaus.jettison.json.JSONException
toJson in class ResponseBodyorg.codehaus.jettison.json.JSONExceptionCopyright © 2017. All rights reserved.