public final class FreemarkerRequestUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static ApplicationContext |
getApplicationContext(freemarker.core.Environment env)
Returns the application context.
|
static freemarker.ext.servlet.HttpRequestHashModel |
getRequestHashModel(freemarker.core.Environment env)
Returns the HTTP request hash model.
|
static freemarker.ext.servlet.ServletContextHashModel |
getServletContextHashModel(freemarker.core.Environment env)
Returns the servlet context hash model.
|
public static freemarker.ext.servlet.HttpRequestHashModel getRequestHashModel(freemarker.core.Environment env)
env - The current FreeMarker environment.public static freemarker.ext.servlet.ServletContextHashModel getServletContextHashModel(freemarker.core.Environment env)
env - The current FreeMarker environment.public static ApplicationContext getApplicationContext(freemarker.core.Environment env)
ApplicationContext and using
ApplicationAccess.register(ApplicationContext).env - The Freemarker environment.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.