@Path(value="/hippogallery:imageset/") public class ImageSetContentResource extends BaseImageSetContentResource
HST_MOUNT_REL_PREFIX, HST_REST_RELATIONS_BASE_URI, MOUNT_ALIAS_ASSETS, MOUNT_ALIAS_GALLERY, MOUNT_ALIAS_REST, MOUNT_ALIAS_SITE
Constructor and Description |
---|
ImageSetContentResource() |
Modifier and Type | Method and Description |
---|---|
HippoGalleryImageRepresentation |
getOriginalImageResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getOriginalImageResourceContent(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo) |
HippoGalleryImageRepresentation |
getThumbnailImageResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getThumbnailImageResourceContent(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo) |
String |
updateOriginalImageResourceContent(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String mimeType,
String createThumbnail,
String thumbnailSize,
InputStream originalResourceStream) |
String |
updateOriginalImageResourceContentByAttachments(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String mimeType,
String createThumbnail,
String thumbnailSize,
List<org.apache.cxf.jaxrs.ext.multipart.Attachment> attachments) |
String |
updateThumbnailImageResourceContent(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String mimeType,
InputStream thumbnailResourceStream) |
String |
updateThumbnailImageResourceContentByAttachments(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String mimeType,
List<org.apache.cxf.jaxrs.ext.multipart.Attachment> attachments) |
getBinariesCache, getImageResource, getImageResourceContent, getImageSetResource, setBinariesCache, updateImageResourceContent, updateImageResourceContentByAttachments
deleteContentResource, getHippoHtmlContent, getHippoHtmlRepresentation, getRequestContentPath, getResolvedContentRewriter, updateHippoHtmlContent, updateHippoHtmlRepresentation
deleteHippoBean, getAnnotatedClasses, getAnnotatedClassesResourcePath, getChildBeanByRelPathOrPrimaryNodeType, getContentRewriter, getHstQualifiedLinkRel, getHstQueryManager, getHstQueryManager, getLinkMountRelation, getMountContentBaseBean, getMountLink, getNodeLink, getObjectConverter, getPersistableSession, getPersistableSession, getPersistenceManager, getPersistenceManager, getQualifiedLinkRel, getQualifiedLinkRel, getRequestContentBean, getRequestContentBean, getRequestContext, getRestLink, getRestRelationsBaseUri, getSiteLink, isPageLinksExternal, setAnnotatedClasses, setAnnotatedClassesResourcePath, setContentRewriter, setHstQueryManagerFactory, setObjectConverter, setPageLinksExternal, setRestRelationsBaseUri
@GET @Path(value="/thumbnail/") public HippoGalleryImageRepresentation getThumbnailImageResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET @Path(value="/thumbnail/content/") public javax.ws.rs.core.Response getThumbnailImageResourceContent(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo)
@PUT @Path(value="/thumbnail/content/") public String updateThumbnailImageResourceContent(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="mimetype") @DefaultValue(value="application/octet-stream") String mimeType, InputStream thumbnailResourceStream)
@POST @Path(value="/thumbnail/content/") @Consumes(value="multipart/form-data") public String updateThumbnailImageResourceContentByAttachments(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="mimetype") @DefaultValue(value="application/octet-stream") String mimeType, List<org.apache.cxf.jaxrs.ext.multipart.Attachment> attachments)
@GET @Path(value="/original/") public HippoGalleryImageRepresentation getOriginalImageResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET @Path(value="/original/content/") public javax.ws.rs.core.Response getOriginalImageResourceContent(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo)
@PUT @Path(value="/original/content/") public String updateOriginalImageResourceContent(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="mimetype") @DefaultValue(value="application/octet-stream") String mimeType, @MatrixParam(value="createthumbnail") @DefaultValue(value="true") String createThumbnail, @MatrixParam(value="thumbnailsize") @DefaultValue(value="60") String thumbnailSize, InputStream originalResourceStream)
@POST @Path(value="/original/content/") @Consumes(value="multipart/form-data") public String updateOriginalImageResourceContentByAttachments(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="mimetype") @DefaultValue(value="application/octet-stream") String mimeType, @MatrixParam(value="createthumbnail") @DefaultValue(value="true") String createThumbnail, @MatrixParam(value="thumbnailsize") @DefaultValue(value="60") String thumbnailSize, List<org.apache.cxf.jaxrs.ext.multipart.Attachment> attachments)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.