类 AbstractHandlerMapping.PreFlightHandler
java.lang.Object
cn.taketoday.web.handler.AbstractHandlerMapping.PreFlightHandler
- 所有已实现的接口:
CorsConfigurationSource,HttpRequestHandler
private class AbstractHandlerMapping.PreFlightHandler
extends Object
implements HttpRequestHandler, CorsConfigurationSource
-
字段概要
字段从接口继承的字段 cn.taketoday.web.HttpRequestHandler
NONE_RETURN_VALUE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getCorsConfiguration(RequestContext request) Return aCorsConfigurationbased on the incoming request.handleRequest(RequestContext request) Process the request and return a result object which the DispatcherHandler will handle.
-
字段详细资料
-
config
-
-
构造器详细资料
-
PreFlightHandler
-
-
方法详细资料
-
handleRequest
从接口复制的说明:HttpRequestHandlerProcess the request and return a result object which the DispatcherHandler will handle. Anullreturn value is not an error: it indicates that this handler completed request processing itself and that there is therefore no explicit result to handle. aHttpRequestHandler.NONE_RETURN_VALUEindicates that no result to handle byReturnValueHandler- 指定者:
handleRequest在接口中HttpRequestHandler- 参数:
request- Current request context- 返回:
- Result to be handled by
ReturnValueHandler - 抛出:
Throwable- If any exception occurred- 另请参阅:
-
getCorsConfiguration
从接口复制的说明:CorsConfigurationSourceReturn aCorsConfigurationbased on the incoming request.- 指定者:
getCorsConfiguration在接口中CorsConfigurationSource- 返回:
- the associated
CorsConfiguration, ornullif none
-