@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,
javax.json.JsonObjectBuilder json) |
String |
getContent(AdminCommandState proxy) |
protected boolean |
isGivenTypeWritable(Class<?> type,
Type genericType)
Overwrite this if you need different test of type compatibility.
|
javax.json.JsonObject |
processState(AdminCommandState state) |
canShowDeprecatedItems, canShowHiddenCommands, getCallBackJSONP, 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 javax.json.JsonObject processState(AdminCommandState state) throws javax.json.JsonException
javax.json.JsonExceptionprotected void addActionReporter(ActionReporter ar, javax.json.JsonObjectBuilder json) throws javax.json.JsonException
javax.json.JsonExceptionCopyright © 2019. All rights reserved.