@Controller public abstract class AbstractPageController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PageFactoryImpl |
pageFactory |
protected PropertiesService |
propertiesService |
protected PublicationResolver |
publicationResolver |
| Constructor and Description |
|---|
AbstractPageController() |
| Modifier and Type | Method and Description |
|---|---|
PageFactoryImpl |
getPageFactory() |
String |
getPageViewName(Page page) |
String |
getPageViewPath() |
PublicationResolver |
getPublicationResolver() |
boolean |
isRemoveContextPath() |
void |
setPageFactory(PageFactoryImpl pageFactory) |
void |
setPageViewPath(String pageViewPath) |
void |
setPublicationResolver(PublicationResolver publicationResolver) |
void |
setRemoveContextPath(boolean removeContextPath) |
String |
showPage(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
All page requests are handled by this method.
|
protected PageFactoryImpl pageFactory
protected PublicationResolver publicationResolver
protected PropertiesService propertiesService
public String showPage(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOExceptionpublic String getPageViewPath()
public void setPageViewPath(String pageViewPath)
public boolean isRemoveContextPath()
public void setRemoveContextPath(boolean removeContextPath)
public PageFactoryImpl getPageFactory()
public void setPageFactory(PageFactoryImpl pageFactory)
public PublicationResolver getPublicationResolver()
public void setPublicationResolver(PublicationResolver publicationResolver)
Copyright © 2016. All rights reserved.