Uses of Interface
org.alfresco.rest.framework.resource.content.ContentInfo
-
Packages that use ContentInfo Package Description org.alfresco.rest.framework.resource.content org.alfresco.rest.framework.tools org.alfresco.rest.framework.webscripts -
-
Uses of ContentInfo in org.alfresco.rest.framework.resource.content
Classes in org.alfresco.rest.framework.resource.content that implement ContentInfo Modifier and Type Class 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.Methods in org.alfresco.rest.framework.resource.content that return ContentInfo Modifier and Type Method Description ContentInfo
NodeBinaryResource. getContentInfo()
Constructors in org.alfresco.rest.framework.resource.content with parameters of type ContentInfo Constructor Description NodeBinaryResource(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, ContentInfo contentInfo, java.lang.String attachFileName)
NodeBinaryResource(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, ContentInfo contentInfo, java.lang.String attachFileName, CacheDirective cacheDirective)
-
Uses of ContentInfo in org.alfresco.rest.framework.tools
Fields in org.alfresco.rest.framework.tools declared as ContentInfo Modifier and Type Field Description static ContentInfo
ResponseWriter. DEFAULT_JSON_CONTENT
Methods in org.alfresco.rest.framework.tools with parameters of type ContentInfo Modifier and Type Method Description default void
ResponseWriter. setContentInfoOnResponse(org.springframework.extensions.webscripts.WebScriptResponse res, ContentInfo contentInfo)
Sets the response headers with any information we know about the contentdefault void
ResponseWriter. setResponse(org.springframework.extensions.webscripts.WebScriptResponse res, int status, org.springframework.extensions.webscripts.Cache cache, ContentInfo contentInfo, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
The response status must be set before the response is written by Jackson (which will by default close and commit the response). -
Uses of ContentInfo in org.alfresco.rest.framework.webscripts
Methods in org.alfresco.rest.framework.webscripts that return ContentInfo Modifier and Type Method Description ContentInfo
WithResponse. getContentInfo()
Methods in org.alfresco.rest.framework.webscripts with parameters of type ContentInfo Modifier and Type Method Description void
WithResponse. setContentInfo(ContentInfo contentInfo)
Sets the information about the content: mimetype, encoding, locale, lengthConstructors in org.alfresco.rest.framework.webscripts with parameters of type ContentInfo Constructor Description WithResponse(int status, ContentInfo contentInfo, org.springframework.extensions.webscripts.Cache cache)
-