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.Controllerjavax.servlet.ServletExceptionjava.io.IOExceptionpublic long getLastModified(javax.servlet.http.HttpServletRequest request)
getLastModified in interface org.springframework.web.servlet.mvc.LastModifiedpublic void globalPropertyChanged(GlobalProperty newValue)
GlobalPropertyListenerglobalPropertyChanged in interface GlobalPropertyListenernewValue - the new value of the property that was just savedpublic void globalPropertyDeleted(java.lang.String propertyName)
GlobalPropertyListenerglobalPropertyDeleted in interface GlobalPropertyListenerpropertyName - the name of the property that was just deletedpublic boolean supportsPropertyName(java.lang.String propertyName)
GlobalPropertyListenersupportsPropertyName in interface GlobalPropertyListenerpublic static void invalidateCachedResources(java.util.Map<java.lang.String,java.lang.String> newValue)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.