类 AbstractHandlerMapping.CorsInterceptor
java.lang.Object
cn.taketoday.web.handler.AbstractHandlerMapping.CorsInterceptor
- 所有已实现的接口:
CorsConfigurationSource,HandlerInterceptor
private class AbstractHandlerMapping.CorsInterceptor
extends Object
implements HandlerInterceptor, CorsConfigurationSource
-
字段概要
字段从接口继承的字段 cn.taketoday.web.HandlerInterceptor
EMPTY_ARRAY, NONE_RETURN_VALUE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanbeforeProcess(RequestContext request, Object handler) Before Handler process.getCorsConfiguration(RequestContext request) Return aCorsConfigurationbased on the incoming request.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.web.HandlerInterceptor
afterProcess, intercept
-
字段详细资料
-
config
-
-
构造器详细资料
-
CorsInterceptor
-
-
方法详细资料
-
beforeProcess
从接口复制的说明:HandlerInterceptorBefore Handler process.- 指定者:
beforeProcess在接口中HandlerInterceptor- 参数:
request- Current request Contexthandler- Request handler ,HandlerMethod- 返回:
- If is it possible to execute the target handler
- 抛出:
Throwable- If any exception occurred- 另请参阅:
-
getCorsConfiguration
从接口复制的说明:CorsConfigurationSourceReturn aCorsConfigurationbased on the incoming request.- 指定者:
getCorsConfiguration在接口中CorsConfigurationSource- 返回:
- the associated
CorsConfiguration, ornullif none
-