程序包 cn.taketoday.web
接口 HttpRequestHandler
- 所有已知子接口:
Controller
- 所有已知实现类:
AbstractController,AbstractHandlerMapping.PreFlightHandler,AbstractUrlViewController,ActionMappingAnnotationHandler,DefaultServletHttpRequestHandler,HandlerExecutionChain,InterceptableRequestHandler,NotFoundHandler,ParameterizableViewController,ResourceHttpRequestHandler,ServletForwardingController,ServletWrappingController,SingletonActionMappingAnnotationHandler,SuppliedActionMappingAnnotationHandler,UrlFilenameViewController
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Plain handler interface for components that process HTTP requests
- 从以下版本开始:
- 2019-12-21 17:37
- 作者:
- Harry Yang
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明static final ObjectThis value indicates that the handler did not return a value, or the result has been processed -
方法概要
修饰符和类型方法说明handleRequest(RequestContext request) Process the request and return a result object which the DispatcherHandler will handle.
-
字段详细资料
-
NONE_RETURN_VALUE
This value indicates that the handler did not return a value, or the result has been processed
-
-
方法详细资料
-
handleRequest
Process 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. aNONE_RETURN_VALUEindicates that no result to handle byReturnValueHandler- 参数:
request- Current request context- 返回:
- Result to be handled by
ReturnValueHandler - 抛出:
Throwable- If any exception occurred- 另请参阅:
-