public class ContextHolder extends Object
Solon#app()#tryHandle(Context)| Constructor and Description |
|---|
ContextHolder() |
| Modifier and Type | Method and Description |
|---|---|
static Context |
current()
获取当前线程的上下文
|
static void |
currentRemove()
移除当前线程的上下文
|
static void |
currentSet(Context context)
设置当前线程的上下文
|
Copyright © 2025. All rights reserved.