Package | Description |
---|---|
org.nutz.mvc |
基于注解的MVC
|
org.nutz.mvc.adaptor | |
org.nutz.mvc.config | |
org.nutz.mvc.filter | |
org.nutz.mvc.impl | |
org.nutz.mvc.impl.processor | |
org.nutz.mvc.impl.session | |
org.nutz.mvc.ioc.provider | |
org.nutz.mvc.upload | |
org.nutz.mvc.view |
Class and Description |
---|
ActionChain
Mvc 处理器接口
|
ActionChainMaker
处理器的工厂类
|
ActionContext
Action执行的上下文
|
ActionHandler |
ActionInfo |
HttpAdaptor
这是一个处理 HTTP 请求的扩展点。通过它,你可以用任何你想要的方式来为你的入口函数准备参数。 默认的,框架为你提供了三个实现:
UploadAdaptor // 处理多文件上传
JsonAdaptor // 处理 Json 字节流
PairAdaptor // 按传统的名值对方式处理
你可以通过注解 '@AdaptBy' 来声明你的入口函数具体将采用哪个适配器,默认的 框架将采用 PairHttpAdaptor
来适配参数。当然,你也可以声明你自己的适配方法
|
IocProvider
为了更灵活的支持更多种类的反转注入容器,特创建此接口。
|
Loading |
NutConfig
这个接口是一个抽象封装
|
NutMvcContext |
ObjectInfo |
Processor |
RequestPath |
Scope
对象生命周期范围
|
SessionProvider
Session提供者,采用过滤器形式,获取一个用户自行定义的HttpServletRequest,并在NutzMVC的作用域内,替代原有的HttpServletRequest对象
|
UrlMapping
路径映射
|
View
视图接口
|
ViewMaker
这是一个扩展点,你可以通过实现这个接口,让注解 @Ok和 @Fail 支持更多的模板引擎。 这两个注解值的格式为:
|
WhaleFilter |
Class and Description |
---|
ActionInfo |
HttpAdaptor
这是一个处理 HTTP 请求的扩展点。通过它,你可以用任何你想要的方式来为你的入口函数准备参数。 默认的,框架为你提供了三个实现:
UploadAdaptor // 处理多文件上传
JsonAdaptor // 处理 Json 字节流
PairAdaptor // 按传统的名值对方式处理
你可以通过注解 '@AdaptBy' 来声明你的入口函数具体将采用哪个适配器,默认的 框架将采用 PairHttpAdaptor
来适配参数。当然,你也可以声明你自己的适配方法
|
HttpAdaptor2
扩展原有
HttpAdaptor 的能力, |
Class and Description |
---|
ActionChainMaker
处理器的工厂类
|
Loading |
NutConfig
这个接口是一个抽象封装
|
SessionProvider
Session提供者,采用过滤器形式,获取一个用户自行定义的HttpServletRequest,并在NutzMVC的作用域内,替代原有的HttpServletRequest对象
|
UrlMapping
路径映射
|
ViewMaker
这是一个扩展点,你可以通过实现这个接口,让注解 @Ok和 @Fail 支持更多的模板引擎。 这两个注解值的格式为:
|
Class and Description |
---|
ActionContext
Action执行的上下文
|
ActionFilter
入口函数的过滤器,你的过滤器实现只需要实现一个函数 match。 这个函数如果你返回的是 null,表示你的过滤器认为,可以继续。 如果你的函数返回一个
View 对象,就表示你的过滤器认为这个请求有问题,不能继续进行下一步操作。 直接用返回的 View 渲染 response 即可。
|
View
视图接口
|
Class and Description |
---|
ActionChain
Mvc 处理器接口
|
ActionChainMaker
处理器的工厂类
|
ActionContext
Action执行的上下文
|
ActionInfo |
EntryDeterminer
入口方法决断器
|
Loading |
MessageLoader
本地化字符串加载方式
|
NutConfig
这个接口是一个抽象封装
|
Processor |
UrlMapping
路径映射
|
ViewMaker
这是一个扩展点,你可以通过实现这个接口,让注解 @Ok和 @Fail 支持更多的模板引擎。 这两个注解值的格式为:
|
Class and Description |
---|
ActionContext
Action执行的上下文
|
ActionFilter
入口函数的过滤器,你的过滤器实现只需要实现一个函数 match。 这个函数如果你返回的是 null,表示你的过滤器认为,可以继续。 如果你的函数返回一个
View 对象,就表示你的过滤器认为这个请求有问题,不能继续进行下一步操作。 直接用返回的 View 渲染 response 即可。
|
ActionInfo |
HttpAdaptor
这是一个处理 HTTP 请求的扩展点。通过它,你可以用任何你想要的方式来为你的入口函数准备参数。 默认的,框架为你提供了三个实现:
UploadAdaptor // 处理多文件上传
JsonAdaptor // 处理 Json 字节流
PairAdaptor // 按传统的名值对方式处理
你可以通过注解 '@AdaptBy' 来声明你的入口函数具体将采用哪个适配器,默认的 框架将采用 PairHttpAdaptor
来适配参数。当然,你也可以声明你自己的适配方法
|
NutConfig
这个接口是一个抽象封装
|
ObjectInfo |
Processor |
View
视图接口
|
Class and Description |
---|
SessionProvider
Session提供者,采用过滤器形式,获取一个用户自行定义的HttpServletRequest,并在NutzMVC的作用域内,替代原有的HttpServletRequest对象
|
Class and Description |
---|
IocProvider
为了更灵活的支持更多种类的反转注入容器,特创建此接口。
|
NutConfig
这个接口是一个抽象封装
|
Class and Description |
---|
ActionInfo |
HttpAdaptor
这是一个处理 HTTP 请求的扩展点。通过它,你可以用任何你想要的方式来为你的入口函数准备参数。 默认的,框架为你提供了三个实现:
UploadAdaptor // 处理多文件上传
JsonAdaptor // 处理 Json 字节流
PairAdaptor // 按传统的名值对方式处理
你可以通过注解 '@AdaptBy' 来声明你的入口函数具体将采用哪个适配器,默认的 框架将采用 PairHttpAdaptor
来适配参数。当然,你也可以声明你自己的适配方法
|
HttpAdaptor2
扩展原有
HttpAdaptor 的能力, |
Class and Description |
---|
ActionInfo |
NutConfig
这个接口是一个抽象封装
|
View
视图接口
|
ViewMaker
这是一个扩展点,你可以通过实现这个接口,让注解 @Ok和 @Fail 支持更多的模板引擎。 这两个注解值的格式为:
|
Copyright © 2017. All rights reserved.