public class PseudoStaticContentController extends Object implements org.springframework.web.servlet.mvc.Controller, org.springframework.web.servlet.mvc.LastModified, GlobalPropertyListener
Constructor and Description |
---|
PseudoStaticContentController() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getInterpretJstl() |
long |
getLastModified(javax.servlet.http.HttpServletRequest request) |
Map<String,String> |
getRewrites() |
void |
globalPropertyChanged(GlobalProperty newValue)
Called after a global property is created or updated
|
void |
globalPropertyDeleted(String propertyName)
Called after a global property is deleted
|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static void |
invalidateCachedResources(Map<String,String> newValue) |
void |
setInterpretJstl(Boolean interpretJstl) |
static void |
setLastModified(Long lastModified) |
void |
setRewrites(Map<String,String> rewrites) |
boolean |
supportsPropertyName(String propertyName)
Asks this listener whether it wants to be notified about the given property name
|
public Boolean getInterpretJstl()
public void setInterpretJstl(Boolean interpretJstl)
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
handleRequest
in interface org.springframework.web.servlet.mvc.Controller
javax.servlet.ServletException
IOException
public long getLastModified(javax.servlet.http.HttpServletRequest request)
getLastModified
in interface org.springframework.web.servlet.mvc.LastModified
public static void setLastModified(Long lastModified)
public void globalPropertyChanged(GlobalProperty newValue)
GlobalPropertyListener
globalPropertyChanged
in interface GlobalPropertyListener
newValue
- the new value of the property that was just savedpublic void globalPropertyDeleted(String propertyName)
GlobalPropertyListener
globalPropertyDeleted
in interface GlobalPropertyListener
propertyName
- the name of the property that was just deletedpublic boolean supportsPropertyName(String propertyName)
GlobalPropertyListener
supportsPropertyName
in interface GlobalPropertyListener
Copyright © 2024 OpenMRS Inc.. All rights reserved.