|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.view.AbstractView
org.springframework.web.servlet.view.AbstractUrlBasedView
org.springframework.web.servlet.view.RedirectView
info.magnolia.module.blossom.view.UuidRedirectView
public class UuidRedirectView
View that sends a redirect based on a uuid. By default uses the website repository but any repository can be used.
UuidRedirectViewResolver
Field Summary |
---|
Fields inherited from class org.springframework.web.servlet.view.AbstractView |
---|
DEFAULT_CONTENT_TYPE |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
logger |
Fields inherited from interface org.springframework.web.servlet.View |
---|
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE |
Constructor Summary | |
---|---|
UuidRedirectView(String uuid)
|
|
UuidRedirectView(String workspace,
String uuid)
|
Method Summary | |
---|---|
String |
getRepository()
Deprecated. |
String |
getUuid()
|
String |
getWorkspace()
|
void |
render(Map model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected String |
resolveUuidToUrl(String workspace,
String uuid)
|
Methods inherited from class org.springframework.web.servlet.view.RedirectView |
---|
appendQueryProperties, createTargetUrl, getHttp11StatusCode, isContextRequired, isEligibleProperty, isEligibleValue, isRedirectView, queryProperties, renderMergedOutputModel, replaceUriTemplateVariables, sendRedirect, setContextRelative, setEncodingScheme, setExpandUriTemplateVariables, setExposeModelAttributes, setHttp10Compatible, setStatusCode, updateTargetUrl, urlEncode |
Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView |
---|
afterPropertiesSet, checkResource, getUrl, isUrlRequired, setUrl, toString |
Methods inherited from class org.springframework.web.servlet.view.AbstractView |
---|
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, isExposePathVariables, prepareResponse, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposePathVariables, setRequestContextAttribute, setResponseContentType, writeToResponse |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
---|
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, setServletContext |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.web.servlet.View |
---|
getContentType |
Constructor Detail |
---|
public UuidRedirectView(String uuid)
public UuidRedirectView(String workspace, String uuid)
Method Detail |
---|
public String getWorkspace()
@Deprecated public String getRepository()
public String getUuid()
public void render(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
render
in interface org.springframework.web.servlet.View
render
in class org.springframework.web.servlet.view.AbstractView
Exception
protected String resolveUuidToUrl(String workspace, String uuid) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |