public class PseudoStaticContentController extends 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 |
|---|---|
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) |
void |
setInterpretJstl(Boolean interpretJstl) |
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.Controllerjavax.servlet.ServletExceptionIOExceptionpublic 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(String propertyName)
GlobalPropertyListenerglobalPropertyDeleted in interface GlobalPropertyListenerpropertyName - the name of the property that was just deletedpublic boolean supportsPropertyName(String propertyName)
GlobalPropertyListenersupportsPropertyName in interface GlobalPropertyListenerCopyright © 2018 OpenMRS LLC.. All Rights Reserved.