类的使用
org.springframework.web.reactive.result.HandlerResultHandlerSupport
使用HandlerResultHandlerSupport的程序包 程序包 说明 org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.reactive.result.view Support for result handling through view resolution.org.springframework.web.reactive.result.method.annotation中HandlerResultHandlerSupport的使用
org.springframework.web.reactive.result.method.annotation中HandlerResultHandlerSupport的子类 修饰符和类型 类 说明 class
AbstractMessageWriterResultHandler
Abstract base class for result handlers that handle return values by writing to the response withHttpMessageWriter
.class
ResponseBodyResultHandler
HandlerResultHandler
that handles return values from methods annotated with@ResponseBody
writing to the body of the request or response with anHttpMessageWriter
.class
ResponseEntityResultHandler
HandlesHttpEntity
andResponseEntity
return values.org.springframework.web.reactive.result.view中HandlerResultHandlerSupport的使用
org.springframework.web.reactive.result.view中HandlerResultHandlerSupport的子类 修饰符和类型 类 说明 class
ViewResolutionResultHandler
HandlerResultHandler
that encapsulates the view resolution algorithm supporting the following return types:Void
or no value -- default view nameString
-- view name unless@ModelAttribute
-annotatedView
-- View to render withModel
-- attributes to add to the modelMap
-- attributes to add to the modelRendering
-- use case driven API for view resolution@ModelAttribute
-- attribute for the model Non-simple value -- attribute for the model