| 程序包 | 说明 |
|---|---|
| org.noear.solon | |
| org.noear.solon.core | |
| org.noear.solon.core.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
protected XHandler |
XNav.findDo(XContext c,
String path)
查找接口
用于被人重写,从而控制find过程
|
void |
XNav.handle(XContext c) |
void |
XApp.handle(XContext x)
统一代理入口
|
protected void |
XNav.handle404(XContext c) |
protected void |
XNav.handleDo(XContext c,
XHandler h) |
List<XHandler> |
XRouter.matchAll(XContext context,
int endpoint)
区配多个目标(根据上上文)
|
XHandler |
XRouter.matchOne(XContext context,
int endpoint)
区配一个目标(根据上上文)
|
void |
XApp.tryHandle(XContext x) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
XContextEmpty
通用上下文,空对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
static XContext |
XContextEmpty.create() |
static XContext |
XContext.current()
获取当前线程的上下文
|
static XContext |
XContextUtil.current()
获取当前线程的上下文
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
XAction.callDo(XContext x)
执行动作(便于重写)
|
static void |
XContextUtil.currentSet(XContext context)
设置当前线程的上下文
|
static Object |
XActionUtil.exeMethod(Object obj,
MethodWrap mWrap,
XContext ctx)
执行方法
|
void |
XAction.handle(XContext x) |
void |
XHandlerLink.handle(XContext context) |
void |
XHandler.handle(XContext context) |
void |
XRouterHandler.handle(XContext context) |
void |
XEventHandler.handle(XContext ctx,
Event event) |
protected void |
XRouterHandler.handleMultiple(XContext context,
int endpoint)
多项目处理(用于拦截器)
|
protected boolean |
XRouterHandler.handleOne(XContext context,
int endpoint)
唯一处理(用于主处理)
|
static Object |
XActionUtil.params2Entity(XContext ctx,
Class<?> clz)
将参数转为实体
|
void |
XRenderManager.render(Object obj,
XContext ctx)
执行渲染
|
void |
XRender.render(Object object,
XContext context) |
protected void |
XAction.renderDo(XContext x,
Object result)
执行渲染(便于重写)
|
static void |
XMonitor.sendError(XContext ctx,
Throwable err)
发送异常
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
TypeUtil.changeOfCtx(AnnotatedElement p,
Class<?> type,
String key,
String val,
XContext ctx) |
Copyright © 2020. All rights reserved.