Modifier and Type | Method and Description |
---|---|
IView |
IWebErrorProcessor.onConvention(IWebMvc owner,
IRequestContext requestContext)
自定义处理URL请求过程
|
IView |
IWebErrorProcessor.onValidation(IWebMvc owner,
Map<String,ValidateResult> results)
处理验证结果数据
|
IView |
IResponseBodyProcessor.processBody(IWebMvc owner,
Object result,
boolean contentType,
boolean keepNull,
boolean snakeCase)
处理响应内容
|
IView |
IResponseErrorProcessor.processError(IWebMvc owner,
Throwable e)
处理异常
|
IView |
AbstractResponseErrorProcessor.processError(IWebMvc owner,
Throwable e) |
abstract IView |
AbstractResponseErrorProcessor.showErrorMsg(IWebMvc owner,
String code,
String msg,
Map<String,Object> dataMap) |
IView |
AbstractResponseErrorProcessor.showValidationResults(IWebMvc owner,
Map<String,ValidateResult> results) |
Modifier and Type | Method and Description |
---|---|
PairObject<IView,ResponseCache> |
IInterceptorRuleProcessor.processRequest(IWebMvc owner,
IRequestContext requestContext)
处理请求执行拦截规则
|
Modifier and Type | Method and Description |
---|---|
boolean |
IWebCacheProcessor.processResponseCache(IWebMvc owner,
ResponseCache responseCache,
IView resultView)
对控制器方法返回视图进行缓存处理
|
Modifier and Type | Method and Description |
---|---|
IView |
ValidationResultException.getResultView() |
Constructor and Description |
---|
ValidationResultException(IView resultView) |
Modifier and Type | Method and Description |
---|---|
IView |
DefaultWebErrorProcessor.onConvention(IWebMvc owner,
IRequestContext requestContext) |
IView |
DefaultWebErrorProcessor.onValidation(IWebMvc owner,
Map<String,ValidateResult> results) |
IView |
DefaultResponseBodyProcessor.processBody(IWebMvc owner,
Object result,
boolean contentType,
boolean keepNull,
boolean snakeCase) |
IView |
JSONResponseErrorProcessor.showErrorMsg(IWebMvc owner,
String code,
String msg,
Map<String,Object> dataMap) |
IView |
XMLResponseErrorProcessor.showErrorMsg(IWebMvc owner,
String code,
String msg,
Map<String,Object> dataMap) |
IView |
DefaultWebErrorProcessor.showErrorMsg(IWebMvc owner,
String code,
String msg,
Map<String,Object> dataMap) |
IView |
DefaultResponseErrorProcessor.showErrorMsg(IWebMvc owner,
String code,
String msg,
Map<String,Object> dataMap) |
Modifier and Type | Method and Description |
---|---|
PairObject<IView,ResponseCache> |
DefaultInterceptorRuleProcessor.processRequest(IWebMvc owner,
IRequestContext requestContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultWebCacheProcessor.processResponseCache(IWebMvc owner,
ResponseCache responseCache,
IView resultView) |
Modifier and Type | Method and Description |
---|---|
static IView |
RequestExecutor.doProcessResultToView(IWebMvc owner,
RequestMeta requestMeta,
Object result) |
static IView |
RequestExecutor.doSwitchView(IWebMvc owner,
Type.View viewType,
String[] viewParts) |
IView |
RequestExecutor.execute() |
Modifier and Type | Method and Description |
---|---|
static IView |
WebUtils.buildErrorView(IWebMvc owner,
ErrorCode errorCode) |
static IView |
WebUtils.buildErrorView(IWebMvc owner,
ErrorCode errorCode,
String redirectUrl,
int timeInterval) |
static IView |
WebUtils.buildErrorView(IWebMvc owner,
int code,
String msg) |
static IView |
WebUtils.buildErrorView(IWebMvc owner,
int code,
String msg,
String redirectUrl,
int timeInterval) |
static IView |
WebUtils.buildErrorView(IWebMvc owner,
int code,
String msg,
String redirectUrl,
int timeInterval,
Map<String,Object> data) |
static IView |
WebUtils.buildErrorView(IWebMvc owner,
String resourceName,
ErrorCode errorCode) |
static IView |
WebUtils.buildErrorView(IWebMvc owner,
String resourceName,
ErrorCode errorCode,
String redirectUrl,
int timeInterval) |
static IView |
WebUtils.buildErrorView(IWebMvc owner,
String resourceName,
int code,
String msg,
String redirectUrl,
int timeInterval,
Map<String,Object> data) |
static IView |
WebUtils.buildErrorView(IWebMvc owner,
String resourceName,
String code,
String msg,
String redirectUrl,
int timeInterval,
Map<String,Object> data) |
static IView |
WebResult.formatView(IWebResult<?> result) |
static IView |
WebResult.formatView(IWebResult<?> result,
String defaultFormat) |
static IView |
WebResult.formatView(String path,
IWebResult<?> result) |
static IView |
WebResult.formatView(String path,
String paramFormat,
String paramCallback,
IWebResult<?> result) |
static IView |
WebResult.formatView(String path,
String paramFormat,
String defaultFormat,
String paramCallback,
IWebResult<?> result) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractView
抽象视图
|
Modifier and Type | Method and Description |
---|---|
IView |
AbstractView.addAttribute(String name,
Object value) |
IView |
IView.addAttribute(String name,
Object value)
添加视图属性
|
IView |
AbstractView.addAttributes(Map<String,Object> attributes) |
IView |
IView.addAttributes(Map<String,Object> attributes)
添加视图属性
|
IView |
AbstractView.addDateHeader(String name,
long date) |
IView |
IView.addDateHeader(String name,
long date)
设置请求回应头
|
IView |
AbstractView.addHeader(String name,
String value) |
IView |
IView.addHeader(String name,
String value)
设置请求回应头
|
IView |
AbstractView.addIntHeader(String name,
int value) |
IView |
IView.addIntHeader(String name,
int value)
设置请求回应头
|
IView |
View.IViewBuilder.build(IWebMvc owner,
String requestMapping)
构建视图
|
IView |
AbstractView.setContentType(String contentType) |
IView |
IView.setContentType(String contentType)
设置视图内容类型
|
Modifier and Type | Method and Description |
---|---|
static PairObject<IView,String> |
View.mappingToView(IWebMvc owner,
String requestMapping) |
Modifier and Type | Class and Description |
---|---|
class |
BinaryView
二进制数据流视图
|
class |
ForwardView
内部重定向(请求转发)视图
|
class |
FreemarkerView
Freemarker视图
|
class |
HtmlView
HTML文件内容视图
|
class |
HttpStatusView
HTTP返回码视图
|
class |
JsonView
JSON视图
|
class |
JspView
JSP视图
|
class |
NullView
空视图,用于防止控制器返回值为NULL时受Convention模式影响
|
class |
RedirectView
重定向视图
|
class |
TextView
文本视图
|
class |
VelocityView
Velocity视图
|
Copyright © 2022. All rights reserved.