public class ContextHolder
extends java.lang.Object
Solon#app()#tryHandle(Context)| 构造器和说明 |
|---|
ContextHolder() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Context |
current()
获取当前线程的上下文
|
static void |
currentRemove()
移除当前线程的上下文
|
static void |
currentSet(Context context)
设置当前线程的上下文
|