public class TemplateContext extends Object
Modifier and Type | Field and Description |
---|---|
protected static ThreadLocal<TemplateContext> |
threadLocal |
protected Map<String,Object> |
values
保存相关的值
|
Constructor and Description |
---|
TemplateContext() |
Modifier and Type | Method and Description |
---|---|
static TemplateContext |
current() |
void |
freeThreadLocal() |
Map<String,Object> |
getValues() |
void |
setThreadLocal() |
protected static final ThreadLocal<TemplateContext> threadLocal
public static TemplateContext current()
public void setThreadLocal()
public void freeThreadLocal()
Copyright © 2020. All rights reserved.