@Path(value="/hippo:document/") public class HippoDocumentContentResource extends AbstractContentResource
HST_MOUNT_REL_PREFIX, HST_REST_RELATIONS_BASE_URI, MOUNT_ALIAS_ASSETS, MOUNT_ALIAS_GALLERY, MOUNT_ALIAS_REST, MOUNT_ALIAS_SITE
Constructor and Description |
---|
HippoDocumentContentResource() |
Modifier and Type | Method and Description |
---|---|
HippoDocumentRepresentation |
getDocumentResource(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo) |
String |
getHippoHtmlContent(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String relPath,
String targetMountAlias) |
HippoHtmlRepresentation |
getHippoHtmlRepresentation(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String relPath,
String targetMountAlias) |
String |
updateHippoHtmlContent(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String relPath,
String htmlContent) |
HippoHtmlRepresentation |
updateHippoHtmlRepresentation(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse,
javax.ws.rs.core.UriInfo uriInfo,
String relPath,
HippoHtmlRepresentation htmlRepresentation) |
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="/") public HippoDocumentRepresentation getDocumentResource(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET @Path(value="/html/") public HippoHtmlRepresentation getHippoHtmlRepresentation(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="path") String relPath, @MatrixParam(value="target") String targetMountAlias)
@PUT @Path(value="/html/") public HippoHtmlRepresentation updateHippoHtmlRepresentation(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="path") String relPath, HippoHtmlRepresentation htmlRepresentation)
@GET @Path(value="/html/content/") public String getHippoHtmlContent(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="path") String relPath, @MatrixParam(value="target") String targetMountAlias)
@PUT @Path(value="/html/content/") public String updateHippoHtmlContent(@Context javax.servlet.http.HttpServletRequest servletRequest, @Context javax.servlet.http.HttpServletResponse servletResponse, @Context javax.ws.rs.core.UriInfo uriInfo, @MatrixParam(value="path") String relPath, String htmlContent)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.