Package | Description |
---|---|
org.alfresco.rest.framework.resource.content | |
org.alfresco.rest.framework.tools | |
org.alfresco.rest.framework.webscripts |
Modifier and Type | Class and Description |
---|---|
class |
BinaryProperty
A POJO property that is of type "Binary"
You can add this to your object to be serialized as a normal property.
|
class |
ContentInfoImpl
Basic implementation of information about the returned content.
|
Modifier and Type | Method and Description |
---|---|
ContentInfo |
NodeBinaryResource.getContentInfo() |
Constructor and Description |
---|
NodeBinaryResource(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName propertyQName,
ContentInfo contentInfo,
String attachFileName) |
NodeBinaryResource(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName propertyQName,
ContentInfo contentInfo,
String attachFileName,
CacheDirective cacheDirective) |
Modifier and Type | Field and Description |
---|---|
static ContentInfo |
ResponseWriter.DEFAULT_JSON_CONTENT |
Modifier and Type | Method and Description |
---|---|
default void |
ResponseWriter.setContentInfoOnResponse(org.springframework.extensions.webscripts.WebScriptResponse res,
ContentInfo contentInfo)
Sets the response headers with any information we know about the content
|
default void |
ResponseWriter.setResponse(org.springframework.extensions.webscripts.WebScriptResponse res,
int status,
org.springframework.extensions.webscripts.Cache cache,
ContentInfo contentInfo,
Map<String,List<String>> headers)
The response status must be set before the response is written by Jackson (which will by default close and commit the response).
|
Modifier and Type | Method and Description |
---|---|
ContentInfo |
WithResponse.getContentInfo() |
Modifier and Type | Method and Description |
---|---|
void |
WithResponse.setContentInfo(ContentInfo contentInfo)
Sets the information about the content: mimetype, encoding, locale, length
|
Constructor and Description |
---|
WithResponse(int status,
ContentInfo contentInfo,
org.springframework.extensions.webscripts.Cache cache) |
Copyright © 2005–2017 Alfresco Software. All rights reserved.