@Provider
@Produces(value={"application/json","application/x-javascript"})
public class AdminCommandStateJsonProvider
extends BaseProvider<AdminCommandState>
desiredType, habitat, HEADER_DEBUG, JSONP_CALLBACK, requestHeaders, supportedMediaTypes, uriInfo| Constructor and Description |
|---|
AdminCommandStateJsonProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addActionReporter(ActionReporter ar,
org.codehaus.jettison.json.JSONObject json) |
String |
getContent(AdminCommandState proxy) |
protected boolean |
isGivenTypeWritable(Class<?> type,
Type genericType)
Overwrite this if you need different test of type compatibility.
|
org.codehaus.jettison.json.JSONObject |
processState(AdminCommandState state) |
canShowDeprecatedItems, canShowHiddenCommands, getCallBackJSONP, getFormattingIndentLevel, getResourceLinks, getResourceLinks, getSize, getXmlCommandLinks, isDebug, isWriteable, writeToprotected boolean isGivenTypeWritable(Class<?> type, Type genericType)
BaseProviderisGivenTypeWritable in class BaseProvider<AdminCommandState>public String getContent(AdminCommandState proxy)
getContent in class BaseProvider<AdminCommandState>public org.codehaus.jettison.json.JSONObject processState(AdminCommandState state) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionprotected void addActionReporter(ActionReporter ar, org.codehaus.jettison.json.JSONObject json) throws org.codehaus.jettison.json.JSONException
org.codehaus.jettison.json.JSONExceptionCopyright © 2017. All rights reserved.