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.Controller
javax.servlet.ServletException
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(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 © 2018 OpenMRS LLC.. All Rights Reserved.