public class ControllerUtils extends Object
| Constructor and Description |
|---|
ControllerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addRefererPathToContext(javax.servlet.http.HttpServletRequest request,
Map<String,Object> data)
Adds the referer path to context map.
|
static void |
addStaticCachingHeader(javax.servlet.http.HttpServletResponse response)
Adds the static caching header.
|
static void |
addStaticResourcesBasePath(String bundleName,
Map<String,Object> data) |
public static void addRefererPathToContext(javax.servlet.http.HttpServletRequest request,
Map<String,Object> data)
throws UnsupportedEncodingException
request - the requestdata - the dataUnsupportedEncodingException - the unsupported encoding exceptionpublic static void addStaticCachingHeader(javax.servlet.http.HttpServletResponse response)
response - the responseCopyright © 2019 Communote team. All rights reserved.