@Controller public abstract class AbstractPageController extends AbstractBaseController
| Modifier and Type | Field and Description |
|---|---|
protected PageFactoryImpl |
pageFactory |
propertiesService, publicationResolver, removeContextPath| Constructor and Description |
|---|
AbstractPageController() |
| Modifier and Type | Method and Description |
|---|---|
PageFactoryImpl |
getPageFactory() |
String |
getPageViewName(Page page) |
String |
getPageViewPath() |
void |
setPageFactory(PageFactoryImpl pageFactory) |
void |
setPageViewPath(String pageViewPath) |
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.
|
createDateFormat, getPublicationResolver, init, removeContextPath, setPublicationResolver, setRemoveContextPathprotected PageFactoryImpl pageFactory
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 PageFactoryImpl getPageFactory()
public void setPageFactory(PageFactoryImpl pageFactory)
Copyright © 2018. All rights reserved.