public class PseudoStaticContentController extends java.lang.Object implements org.springframework.web.servlet.mvc.Controller, org.springframework.web.servlet.mvc.LastModified, GlobalPropertyListener
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
PseudoStaticContentController() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getInterpretJstl() |
long |
getLastModified(javax.servlet.http.HttpServletRequest request) |
java.util.Map<java.lang.String,java.lang.String> |
getRewrites() |
void |
globalPropertyChanged(GlobalProperty newValue)
Called after a global property is created or updated
|
void |
globalPropertyDeleted(java.lang.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(java.util.Map<java.lang.String,java.lang.String> newValue) |
void |
setInterpretJstl(java.lang.Boolean interpretJstl) |
void |
setRewrites(java.util.Map<java.lang.String,java.lang.String> rewrites) |
boolean |
supportsPropertyName(java.lang.String propertyName)
Asks this listener whether it wants to be notified about the given property name
|
public java.lang.Boolean getInterpretJstl()
public void setInterpretJstl(java.lang.Boolean interpretJstl)
public java.util.Map<java.lang.String,java.lang.String> getRewrites()
public void setRewrites(java.util.Map<java.lang.String,java.lang.String> rewrites)
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
handleRequest
in interface org.springframework.web.servlet.mvc.Controller
javax.servlet.ServletException
java.io.IOException
public long getLastModified(javax.servlet.http.HttpServletRequest request)
getLastModified
in interface org.springframework.web.servlet.mvc.LastModified
public void globalPropertyChanged(GlobalProperty newValue)
GlobalPropertyListener
globalPropertyChanged
in interface GlobalPropertyListener
newValue
- the new value of the property that was just savedpublic void globalPropertyDeleted(java.lang.String propertyName)
GlobalPropertyListener
globalPropertyDeleted
in interface GlobalPropertyListener
propertyName
- the name of the property that was just deletedpublic boolean supportsPropertyName(java.lang.String propertyName)
GlobalPropertyListener
supportsPropertyName
in interface GlobalPropertyListener
public static void invalidateCachedResources(java.util.Map<java.lang.String,java.lang.String> newValue)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.