Package | Description |
---|---|
org.alfresco.rest.api.discovery | |
org.alfresco.rest.framework.tools |
Modifier and Type | Method and Description |
---|---|
void |
DiscoveryApiWebscript.renderJsonResponse(org.springframework.extensions.webscripts.WebScriptResponse res,
Object toSerialize,
JacksonHelper jsonHelper) |
Modifier and Type | Method and Description |
---|---|
JacksonHelper |
ApiAssistant.getJsonHelper() |
Modifier and Type | Method and Description |
---|---|
default <T> T |
RequestReader.extractJsonContent(org.springframework.extensions.webscripts.WebScriptRequest req,
JacksonHelper jsonHelper,
Class<T> requiredType)
Extracts the body contents from the request
|
default <T> List<T> |
RequestReader.extractJsonContentAsList(org.springframework.extensions.webscripts.WebScriptRequest req,
JacksonHelper jsonHelper,
Class<T> requiredType)
Extracts the body contents from the request as a List, the JSON can be an array or just a single value without the [] symbols
|
default void |
ResponseWriter.renderErrorResponse(ErrorResponse errorResponse,
org.springframework.extensions.webscripts.WebScriptResponse res,
JacksonHelper jsonHelper)
Renders a JSON error response
|
default void |
ResponseWriter.renderJsonResponse(org.springframework.extensions.webscripts.WebScriptResponse res,
Object toSerialize,
JacksonHelper jsonHelper)
Renders the result of an execution.
|
void |
ApiAssistant.setJsonHelper(JacksonHelper jsonHelper) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.