public class NavBarController extends org.springframework.web.servlet.mvc.AbstractController implements org.springframework.beans.factory.InitializingBean, OnmsHeaderProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
NavBarController.ShouldDisplayEntryMethod
Used to determine whether or not a particular NavBarEntry should be
displayed.
|
| Constructor and Description |
|---|
NavBarController() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
String |
getHeaderHtml(javax.servlet.http.HttpServletRequest request) |
List<NavBarEntry> |
getNavBarItems()
getNavBarItems
|
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setNavBarItems(List<NavBarEntry> navBarItems)
setNavBarItems
|
handleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic void afterPropertiesSet()
throws IOException
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanIOExceptionprotected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractControllerExceptionpublic List<NavBarEntry> getNavBarItems()
getNavBarItems
List object.public void setNavBarItems(List<NavBarEntry> navBarItems)
setNavBarItems
navBarItems - a List object.public String getHeaderHtml(javax.servlet.http.HttpServletRequest request) throws Exception
getHeaderHtml in interface OnmsHeaderProviderExceptionCopyright © 2020. All rights reserved.