程序包 | 说明 |
---|---|
org.nutz.mvc |
基于注解的MVC
这个包很主要,啥都别说了,看文档吧。
|
org.nutz.mvc.impl | |
org.nutz.mvc.impl.processor | |
org.nutz.mvc.view |
限定符和类型 | 方法和说明 |
---|---|
ActionInfo |
ActionInfo.mergeWith(ActionInfo parent) |
限定符和类型 | 方法和说明 |
---|---|
void |
UrlMapping.add(ActionChainMaker maker,
ActionInfo ai,
NutConfig config)
增加一个映射
|
ActionChain |
ActionChainMaker.eval(NutConfig config,
ActionInfo ai)
根据配置信息,生成一个动作链
|
void |
Processor.init(NutConfig config,
ActionInfo ai) |
View |
ViewMaker2.make(NutConfig conf,
ActionInfo ai,
String type,
String value)
增强版的ViewMaker
|
ActionInfo |
ActionInfo.mergeWith(ActionInfo parent) |
限定符和类型 | 方法和说明 |
---|---|
static ActionInfo |
Loadings.createInfo(Class<?> type) |
static ActionInfo |
Loadings.createInfo(Method method) |
限定符和类型 | 方法和说明 |
---|---|
void |
UrlMappingImpl.add(ActionChainMaker maker,
ActionInfo ai,
NutConfig config) |
ActionChain |
NutActionChainMaker.eval(NutConfig config,
ActionInfo ai) |
static void |
Loadings.evalActionChainMaker(ActionInfo ai,
Chain cb) |
static void |
Loadings.evalActionFilters(ActionInfo ai,
Filters filters) |
static void |
Loadings.evalAt(ActionInfo ai,
At at,
String def) |
static void |
Loadings.evalEncoding(ActionInfo ai,
Encoding encoding) |
static void |
Loadings.evalFail(ActionInfo ai,
Fail fail) |
static void |
Loadings.evalHttpAdaptor(ActionInfo ai,
AdaptBy ab) |
static void |
Loadings.evalHttpMethod(ActionInfo ai,
Method method,
At at) |
static void |
Loadings.evalModule(ActionInfo ai,
Class<?> type) |
static void |
Loadings.evalOk(ActionInfo ai,
Ok ok) |
protected String |
UrlMappingImpl.genMethodDesc(ActionInfo ai) |
protected void |
UrlMappingImpl.print(ActionInfo ai) |
protected void |
UrlMappingImpl.printActionMapping(ActionInfo ai) |
构造器和说明 |
---|
NutActionChain(List<Processor> list,
Processor errorProcessor,
ActionInfo ai) |
限定符和类型 | 方法和说明 |
---|---|
protected static HttpAdaptor |
AdaptorProcessor.evalHttpAdaptor(NutConfig config,
ActionInfo ai) |
static View |
ViewProcessor.evalView(NutConfig config,
ActionInfo ai,
String viewType) |
void |
ViewProcessor.init(NutConfig config,
ActionInfo ai) |
void |
ModuleProcessor.init(NutConfig config,
ActionInfo ai) |
void |
FailProcessor.init(NutConfig config,
ActionInfo ai) |
void |
EncodingProcessor.init(NutConfig config,
ActionInfo ai) |
void |
AdaptorProcessor.init(NutConfig config,
ActionInfo ai) |
void |
ActionFiltersProcessor.init(NutConfig config,
ActionInfo ai) |
void |
AbstractProcessor.init(NutConfig config,
ActionInfo ai)
建议覆盖这个方法,以便从NutConfig/ActionInfo获取需要的信息
|
限定符和类型 | 字段和说明 |
---|---|
protected ActionInfo |
ViewZone.ai |
限定符和类型 | 方法和说明 |
---|---|
static View |
ViewZone.makeView(NutConfig config,
ActionInfo ai,
String viewType,
boolean allowProxy) |
构造器和说明 |
---|
ViewZone(NutConfig config,
ActionInfo ai,
View dft) |
Copyright © 2017. All rights reserved.