Package | Description |
---|---|
net.ymate.platform.webmvc | |
net.ymate.platform.webmvc.context | |
net.ymate.platform.webmvc.cors | |
net.ymate.platform.webmvc.impl | |
net.ymate.platform.webmvc.support |
Modifier and Type | Method and Description |
---|---|
IRequestContext |
IRequestContext.addAttribute(String name,
Object value)
添加属性
|
Modifier and Type | Method and Description |
---|---|
IView |
IWebErrorProcessor.onConvention(IWebMvc owner,
IRequestContext requestContext)
自定义处理URL请求过程
|
RequestMeta |
IRequestMappingParser.parse(IRequestContext context)
分析请求映射串,匹配成功则返回对应映射集合的键值,同时处理请求串中的参数变量存入WebContext容器中的PathVariable参数池
|
void |
WebMVC.processRequest(IRequestContext context,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response) |
void |
IWebMvc.processRequest(IRequestContext context,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response)
处理控制器请求
|
PairObject<IView,ResponseCache> |
IInterceptorRuleProcessor.processRequest(IWebMvc owner,
IRequestContext requestContext)
处理请求执行拦截规则
|
Modifier and Type | Method and Description |
---|---|
static IRequestContext |
WebContext.getRequestContext() |
Modifier and Type | Method and Description |
---|---|
static WebContext |
WebContext.create(IWebMvc webMvc,
IRequestContext requestContext,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
ICrossDomainSetting |
CrossDomainSettings.bind(InterceptContext interceptContext,
IRequestContext requestContext) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRequestContext
默认WebMVC请求上下文接口实现
|
Modifier and Type | Method and Description |
---|---|
IRequestContext |
DefaultRequestContext.addAttribute(String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
IView |
DefaultWebErrorProcessor.onConvention(IWebMvc owner,
IRequestContext requestContext) |
RequestMeta |
DefaultRequestMappingParser.parse(IRequestContext context) |
PairObject<IView,ResponseCache> |
DefaultInterceptorRuleProcessor.processRequest(IWebMvc owner,
IRequestContext requestContext) |
Modifier and Type | Method and Description |
---|---|
void |
Dispatcher.dispatch(IRequestContext requestContext,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response) |
void |
GenericDispatcher.execute(IRequestContext requestContext,
ServletContext servletContext,
HttpServletRequest request,
HttpServletResponse response) |
Copyright © 2022. All rights reserved.