接口的使用
cn.taketoday.http.converter.HttpMessageConverter
使用HttpMessageConverter的程序包
程序包
说明
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
Provides an HttpMessageConverter for the CBOR data format.
Provides HttpMessageConverter implementations for handling Atom and RSS feeds.
Provides HttpMessageConverter implementations for handling JSON.
Provides an HttpMessageConverter implementation for handling
Google Protocol Buffers.
Provides an HttpMessageConverter for the Smile data format ("binary JSON").
Provides HttpMessageConverter implementations for handling XML.
Request context parameter resolvers
Core package of the client-side web support.
Web client config.
Web Handler
Provides the types that make up Infra functional web framework.
Classes supporting the
cn.taketoday.web.servlet.function package.Method handler
-
cn.taketoday.http.converter中HttpMessageConverter的使用
修饰符和类型接口说明interfaceA specialization ofHttpMessageConverterthat can convert an HTTP request into a target object of a specified generic type and a source object of a specified generic type into an HTTP response.修饰符和类型类说明classAbstract base class for mostGenericHttpMessageConverterimplementations.classAbstract base class for mostHttpMessageConverterimplementations.classExtension ofFormHttpMessageConverter, adding support for XML and JSON-based parts.classImplementation ofHttpMessageConverterthat can read and writeBufferedImages.classImplementation ofHttpMessageConverterthat can read and write byte arrays.classImplementation ofHttpMessageConverterto read and write 'normal' HTML forms and also to write (but not read) multipart data (e.g. file uploads).classAnHttpMessageConverterthat usesStringHttpMessageConverterfor reading and writing content and aConversionServicefor converting the String content to and from the target object type.classImplementation ofHttpMessageConverterthat can read/writeResourcesand supports byte range requests.classImplementation ofHttpMessageConverterthat can write a singleResourceRegionor Collections ofResourceRegions.classImplementation ofHttpMessageConverterthat can read and write strings.类型参数类型为HttpMessageConverter的cn.taketoday.http.converter中的字段修饰符和类型字段说明private final List<HttpMessageConverter<?>>HttpMessageConverters.convertersprivate List<HttpMessageConverter<?>>FormHttpMessageConverter.partConverters返回变量类型为HttpMessageConverter的类型的cn.taketoday.http.converter中的方法修饰符和类型方法说明private List<HttpMessageConverter<?>>HttpMessageConverters.getCombinedConverters(Collection<HttpMessageConverter<?>> converters, List<HttpMessageConverter<?>> defaultConverters) HttpMessageConverters.getConverters()Return an immutable list of the converters in the order that they will be registered.private List<HttpMessageConverter<?>>HttpMessageConverters.getDefaultConverters()FormHttpMessageConverter.getPartConverters()Return the configured converters for MIME parts.HttpMessageConverters.iterator()protected List<HttpMessageConverter<?>>HttpMessageConverters.postProcessConverters(List<HttpMessageConverter<?>> converters) Method that can be used to post-process theHttpMessageConverterlist before it is used.protected List<HttpMessageConverter<?>>HttpMessageConverters.postProcessPartConverters(List<HttpMessageConverter<?>> converters) Method that can be used to post-process theHttpMessageConverterlist before it is used to configure the part converters ofAllEncompassingFormHttpMessageConverter.修饰符和类型方法说明voidFormHttpMessageConverter.addPartConverter(HttpMessageConverter<?> partConverter) Add a message body converter.private booleanHttpMessageConverters.isReplacement(HttpMessageConverter<?> defaultConverter, HttpMessageConverter<?> candidate) 类型变量类型为HttpMessageConverter的cn.taketoday.http.converter中的方法参数修饰符和类型方法说明private voidHttpMessageConverters.configurePartConverters(AllEncompassingFormHttpMessageConverter formConverter, Collection<HttpMessageConverter<?>> converters) private List<HttpMessageConverter<?>>HttpMessageConverters.getCombinedConverters(Collection<HttpMessageConverter<?>> converters, List<HttpMessageConverter<?>> defaultConverters) private List<HttpMessageConverter<?>>HttpMessageConverters.getCombinedConverters(Collection<HttpMessageConverter<?>> converters, List<HttpMessageConverter<?>> defaultConverters) protected List<HttpMessageConverter<?>>HttpMessageConverters.postProcessConverters(List<HttpMessageConverter<?>> converters) Method that can be used to post-process theHttpMessageConverterlist before it is used.protected List<HttpMessageConverter<?>>HttpMessageConverters.postProcessPartConverters(List<HttpMessageConverter<?>> converters) Method that can be used to post-process theHttpMessageConverterlist before it is used to configure the part converters ofAllEncompassingFormHttpMessageConverter.private voidHttpMessageConverters.reorderXmlConvertersToEnd(ArrayList<HttpMessageConverter<?>> converters) voidFormHttpMessageConverter.setPartConverters(List<HttpMessageConverter<?>> partConverters) Set the message body converters to use.限定符构造器说明HttpMessageConverters(HttpMessageConverter<?>... additionalConverters) Create a newHttpMessageConvertersinstance with the specified additional converters.类型变量类型为HttpMessageConverter的cn.taketoday.http.converter中的构造器参数限定符构造器说明HttpMessageConverters(boolean addDefaultConverters, Collection<HttpMessageConverter<?>> converters) Create a newHttpMessageConvertersinstance with the specified converters.HttpMessageConverters(Collection<HttpMessageConverter<?>> additionalConverters) Create a newHttpMessageConvertersinstance with the specified additional converters. -
cn.taketoday.http.converter.cbor中HttpMessageConverter的使用
修饰符和类型类说明classImplementation ofHttpMessageConverterthat can read and write the CBOR data format using the dedicated Jackson 2.x extension. -
cn.taketoday.http.converter.feed中HttpMessageConverter的使用
修饰符和类型类说明classAbstractWireFeedHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed>Abstract base class for Atom and RSS Feed message converters, using the ROME tools project.classImplementation ofHttpMessageConverterthat can read and write Atom feeds.classImplementation ofHttpMessageConverterthat can read and write RSS feeds. -
cn.taketoday.http.converter.json中HttpMessageConverter的使用
修饰符和类型类说明classAbstract base class for Jackson based and content type independentHttpMessageConverterimplementations.classCommon base class for plain JSON converters, e.g.classImplementation ofHttpMessageConverterthat can read and write JSON using the Google Gson library.classImplementation ofHttpMessageConverterthat can read and write JSON using the JSON Binding API.classImplementation ofHttpMessageConverterthat can read and write JSON using Jackson 2.x'sObjectMapper. -
cn.taketoday.http.converter.protobuf中HttpMessageConverter的使用
修饰符和类型类说明classAnHttpMessageConverterthat reads and writescom.google.protobuf.Messagesusing Google Protocol Buffers.classSubclass ofProtobufHttpMessageConverterwhich enforces the use of Protobuf 3 and its official library"com.google.protobuf:protobuf-java-util"for JSON processing. -
cn.taketoday.http.converter.smile中HttpMessageConverter的使用
修饰符和类型类说明classImplementation ofHttpMessageConverterthat can read and write Smile data format ("binary JSON") using the dedicated Jackson 2.x extension. -
cn.taketoday.http.converter.xml中HttpMessageConverter的使用
修饰符和类型类说明classAbstract base class forHttpMessageConvertersthat use JAXB2.classAbstract base class forHttpMessageConvertersthat convert from/to XML.classJaxb2CollectionHttpMessageConverter<T extends Collection>AnHttpMessageConverterthat can read XML collections using JAXB2.classImplementation ofHttpMessageConverterthat can read and write XML using JAXB2.classImplementation ofHttpMessageConverterthat can read and write XML using Jackson 2.x extension component for reading and writing XML encoded data.classImplementation ofHttpMessageConverterthat can read and write XML using InfraMarshallerandUnmarshallerabstractions.classSourceHttpMessageConverter<T extends Source>Implementation ofHttpMessageConverterthat can read and writeSourceobjects. -
cn.taketoday.web.bind.resolver中HttpMessageConverter的使用
修饰符和类型字段说明protected final List<HttpMessageConverter<?>>AbstractMessageConverterMethodArgumentResolver.messageConvertersprivate List<HttpMessageConverter<?>>ParameterResolvingRegistry.messageConverters返回变量类型为HttpMessageConverter的类型的cn.taketoday.web.bind.resolver中的方法修饰符和类型方法说明ParameterResolvingRegistry.getMessageConverters()Return the configured message body converters.修饰符和类型方法说明RequestResponseBodyAdviceChain.afterBodyRead(Object body, HttpInputMessage inputMessage, cn.taketoday.core.MethodParameter parameter, Type targetType, HttpMessageConverter<?> converter) RequestResponseBodyAdviceChain.beforeBodyRead(HttpInputMessage request, cn.taketoday.core.MethodParameter parameter, Type targetType, HttpMessageConverter<?> converter) RequestResponseBodyAdviceChain.beforeBodyWrite(Object body, cn.taketoday.core.MethodParameter returnType, MediaType contentType, HttpMessageConverter<?> converter, RequestContext context) RequestResponseBodyAdviceChain.handleEmptyBody(Object body, HttpInputMessage inputMessage, cn.taketoday.core.MethodParameter parameter, Type targetType, HttpMessageConverter<?> converter) booleanRequestResponseBodyAdviceChain.supports(cn.taketoday.core.MethodParameter param, Type type, HttpMessageConverter<?> converter) booleanRequestResponseBodyAdviceChain.supports(Object body, cn.taketoday.core.MethodParameter returnType, HttpMessageConverter<?> converter) 类型变量类型为HttpMessageConverter的cn.taketoday.web.bind.resolver中的方法参数修饰符和类型方法说明voidParameterResolvingRegistry.setMessageConverters(List<HttpMessageConverter<?>> messageConverters) Provide the converters to use in argument resolvers and return value handlers that support reading and/or writing to the body of the request and response.类型变量类型为HttpMessageConverter的cn.taketoday.web.bind.resolver中的构造器参数限定符构造器说明AbstractMessageConverterMethodArgumentResolver(List<HttpMessageConverter<?>> converters) Basic constructor with converters only.AbstractMessageConverterMethodArgumentResolver(List<HttpMessageConverter<?>> converters, List<Object> requestResponseBodyAdvice) Constructor with converters andRequest~andResponseBodyAdvice.protectedAbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> converters) Constructor with list of converters only.protectedAbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager contentNegotiationManager) Constructor with list of converters and ContentNegotiationManager.protectedAbstractMessageConverterMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice) Constructor with list of converters and ContentNegotiationManager as well as request/response body advice instances.HttpEntityMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, RedirectModelManager redirectModelManager) Basic constructor with converters andContentNegotiationManager.HttpEntityMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice, RedirectModelManager redirectModelManager) Complete constructor for resolvingHttpEntityand handlingResponseEntity.HttpEntityMethodProcessor(List<HttpMessageConverter<?>> converters, RedirectModelManager redirectModelManager) Basic constructor with converters only.HttpEntityMethodProcessor(List<HttpMessageConverter<?>> converters, List<Object> requestResponseBodyAdvice, RedirectModelManager redirectModelManager) Complete constructor for resolvingHttpEntitymethod arguments.ParameterResolvingRegistry(List<HttpMessageConverter<?>> messageConverters) RequestPartMethodArgumentResolver(List<HttpMessageConverter<?>> messageConverters) Basic constructor with converters only.RequestPartMethodArgumentResolver(List<HttpMessageConverter<?>> messageConverters, List<Object> requestResponseBodyAdvice) Constructor with converters andRequestBodyAdviceandResponseBodyAdvice.RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters) Basic constructor with converters only.RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager) Basic constructor with converters andContentNegotiationManager.RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, ContentNegotiationManager manager, List<Object> requestResponseBodyAdvice) Complete constructor for resolving@RequestBodyand handling@ResponseBody.RequestResponseBodyMethodProcessor(List<HttpMessageConverter<?>> converters, List<Object> requestResponseBodyAdvice) Complete constructor for resolving@RequestBodymethod arguments. -
cn.taketoday.web.client中HttpMessageConverter的使用
类型参数类型为HttpMessageConverter的cn.taketoday.web.client中的字段修饰符和类型字段说明private List<HttpMessageConverter<?>>DefaultResponseErrorHandler.messageConvertersprivate final List<HttpMessageConverter<?>>DefaultRestClient.messageConvertersprivate List<HttpMessageConverter<?>>DefaultRestClientBuilder.messageConvertersprivate List<HttpMessageConverter<?>>ExtractingResponseErrorHandler.messageConvertersprivate final List<HttpMessageConverter<?>>HttpMessageConverterExtractor.messageConvertersprivate final List<HttpMessageConverter<?>>RestTemplate.messageConverters返回变量类型为HttpMessageConverter的类型的cn.taketoday.web.client中的方法修饰符和类型方法说明RestTemplate.getMessageConverters()Return the list of message body converters.private List<HttpMessageConverter<?>>DefaultRestClientBuilder.initMessageConverters()修饰符和类型方法说明private booleanRestTemplate.AcceptHeaderRequestCallback.canReadResponse(Type responseType, HttpMessageConverter<?> converter) private voidDefaultRestClient.DefaultRequestBodyUriSpec.logBody(Object body, MediaType mediaType, HttpMessageConverter<?> converter) private voidRestTemplate.HttpEntityRequestCallback.logBody(Object body, MediaType mediaType, HttpMessageConverter<?> converter) private voidRestTemplate.AcceptHeaderRequestCallback.putSupportedMediaTypes(Type type, HttpMessageConverter<?> converter, HashSet<MediaType> allSupportedMediaTypes) 类型变量类型为HttpMessageConverter的cn.taketoday.web.client中的方法参数修饰符和类型方法说明static StatusHandlerStatusHandler.defaultHandler(List<HttpMessageConverter<?>> messageConverters) private static Function<cn.taketoday.core.ResolvableType,?> StatusHandler.initBodyConvertFunction(ClientHttpResponse response, byte[] body, List<HttpMessageConverter<?>> messageConverters) DefaultRestClientBuilder.messageConverters(Consumer<List<HttpMessageConverter<?>>> configurer) RestClient.Builder.messageConverters(Consumer<List<HttpMessageConverter<?>>> configurer) Configure the message converters for theRestClientto use.(专用程序包) voidDefaultResponseErrorHandler.setMessageConverters(List<HttpMessageConverter<?>> converters) For internal use from the RestTemplate, to pass the message converters to use to decode error content.voidExtractingResponseErrorHandler.setMessageConverters(List<HttpMessageConverter<?>> messageConverters) Set the message converters to use by this extractor.voidRestTemplate.setMessageConverters(List<HttpMessageConverter<?>> messageConverters) Set the message body converters to use.private voidRestTemplate.validateConverters(List<HttpMessageConverter<?>> messageConverters) 类型变量类型为HttpMessageConverter的cn.taketoday.web.client中的构造器参数限定符构造器说明ExtractingResponseErrorHandler(List<HttpMessageConverter<?>> messageConverters) Create a newExtractingResponseErrorHandlerwith the givenHttpMessageConverterinstances.HttpMessageConverterExtractor(Class<T> responseType, List<HttpMessageConverter<?>> messageConverters) Create a new instance of theHttpMessageConverterExtractorwith the given response type and message converters.HttpMessageConverterExtractor(Type responseType, List<HttpMessageConverter<?>> messageConverters) Creates a new instance of theHttpMessageConverterExtractorwith the given response type and message converters.HttpMessageConverterExtractor(Type responseType, List<HttpMessageConverter<?>> messageConverters, cn.taketoday.logging.Logger logger) RestTemplate(List<HttpMessageConverter<?>> messageConverters) Create a new instance of theRestTemplateusing the given list ofHttpMessageConverterto use. -
cn.taketoday.web.client.config中HttpMessageConverter的使用
修饰符和类型方法说明RestTemplateBuilder.additionalMessageConverters(HttpMessageConverter<?>... messageConverters) Add additionalHttpMessageConvertersthat should be used with theRestTemplate.RestTemplateBuilder.messageConverters(HttpMessageConverter<?>... messageConverters) Set theHttpMessageConvertersthat should be used with theRestTemplate.类型变量类型为HttpMessageConverter的cn.taketoday.web.client.config中的方法参数修饰符和类型方法说明RestTemplateBuilder.additionalMessageConverters(Collection<? extends HttpMessageConverter<?>> messageConverters) Add additionalHttpMessageConvertersthat should be used with theRestTemplate.RestTemplateBuilder.messageConverters(Collection<? extends HttpMessageConverter<?>> messageConverters) Set theHttpMessageConvertersthat should be used with theRestTemplate.类型变量类型为HttpMessageConverter的cn.taketoday.web.client.config中的构造器参数限定符构造器说明privateRestTemplateBuilder(ClientHttpRequestFactorySettings requestFactorySettings, boolean detectRequestFactory, String rootUri, Set<HttpMessageConverter<?>> messageConverters, Set<ClientHttpRequestInterceptor> interceptors, Function<ClientHttpRequestFactorySettings, ClientHttpRequestFactory> requestFactorySupplier, UriTemplateHandler uriTemplateHandler, ResponseErrorHandler errorHandler, BasicAuthentication basicAuthentication, Map<String, List<String>> defaultHeaders, Set<RestTemplateCustomizer> customizers, Set<RestTemplateRequestCustomizer<?>> requestCustomizers) -
cn.taketoday.web.config中HttpMessageConverter的使用
类型参数类型为HttpMessageConverter的cn.taketoday.web.config中的字段返回变量类型为HttpMessageConverter的类型的cn.taketoday.web.config中的方法修饰符和类型方法说明final List<HttpMessageConverter<?>>WebMvcConfigurationSupport.getMessageConverters()Provides access to the sharedHttpMessageConvertersused by theParameterResolvingStrategyand theReturnValueHandlerManager.类型变量类型为HttpMessageConverter的cn.taketoday.web.config中的方法参数修饰符和类型方法说明protected final voidWebMvcConfigurationSupport.addDefaultHttpMessageConverters(List<HttpMessageConverter<?>> messageConverters) Adds a set of default HttpMessageConverter instances to the given list.voidCompositeWebMvcConfigurer.configureMessageConverters(List<HttpMessageConverter<?>> converters) protected voidDelegatingWebMvcConfiguration.configureMessageConverters(List<HttpMessageConverter<?>> converters) protected voidWebMvcConfigurationSupport.configureMessageConverters(List<HttpMessageConverter<?>> converters) Override this method to add customHttpMessageConvertersto use with theParameterResolvingStrategyand theReturnValueHandlerManager.default voidWebMvcConfigurer.configureMessageConverters(List<HttpMessageConverter<?>> converters) Configure theHttpMessageConverters for reading from the request body and for writing to the response body.voidCompositeWebMvcConfigurer.extendMessageConverters(List<HttpMessageConverter<?>> converters) protected voidDelegatingWebMvcConfiguration.extendMessageConverters(List<HttpMessageConverter<?>> converters) protected voidWebMvcConfigurationSupport.extendMessageConverters(List<HttpMessageConverter<?>> converters) Override this method to extend or modify the list of converters after it has been configured.default voidWebMvcConfigurer.extendMessageConverters(List<HttpMessageConverter<?>> converters) Extend or modify the list of converters after it has been, eitherconfiguredor initialized with a default list. -
cn.taketoday.web.handler中HttpMessageConverter的使用
类型参数类型为HttpMessageConverter的cn.taketoday.web.handler中的字段返回变量类型为HttpMessageConverter的类型的cn.taketoday.web.handler中的方法修饰符和类型方法说明ReturnValueHandlerManager.getMessageConverters()Return the configured message body converters.类型变量类型为HttpMessageConverter的cn.taketoday.web.handler中的方法参数修饰符和类型方法说明voidReturnValueHandlerManager.setMessageConverters(List<HttpMessageConverter<?>> messageConverters) Provide the converters to use in argument resolvers and return value handlers that support reading and/or writing to the body of the request and response.类型变量类型为HttpMessageConverter的cn.taketoday.web.handler中的构造器参数 -
cn.taketoday.web.handler.function中HttpMessageConverter的使用
修饰符和类型字段说明private final List<HttpMessageConverter<?>>DefaultServerRequest.messageConvertersprivate final List<HttpMessageConverter<?>>DefaultServerRequestBuilder.BuiltServerRequest.messageConvertersprivate final List<HttpMessageConverter<?>>DefaultServerRequestBuilder.messageConvertersprivate final List<HttpMessageConverter<?>>SseServerResponse.DefaultSseBuilder.messageConverters返回变量类型为HttpMessageConverter的类型的cn.taketoday.web.handler.function中的方法修饰符和类型方法说明DefaultServerRequest.messageConverters()DefaultServerRequestBuilder.BuiltServerRequest.messageConverters()RequestPredicates.SubPathServerRequestWrapper.messageConverters()ServerRequest.messageConverters()Get the readers used to convert the body of this request.ServerResponse.Context.messageConverters()Return theHttpMessageConvertersto be used for response body conversion.类型变量类型为HttpMessageConverter的cn.taketoday.web.handler.function中的方法参数修饰符和类型方法说明static ServerRequestServerRequest.create(RequestContext context, List<HttpMessageConverter<?>> messageReaders) Create a newServerRequestbased on the givenRequestContextand message converters.DefaultEntityResponseBuilder.DefaultEntityResponse.producibleMediaTypes(List<HttpMessageConverter<?>> messageConverters, Class<?> entityClass) 类型变量类型为HttpMessageConverter的cn.taketoday.web.handler.function中的构造器参数限定符构造器说明BuiltServerRequest(RequestContext requestContext, HttpMethod method, URI uri, HttpHeaders headers, cn.taketoday.util.MultiValueMap<String, HttpCookie> cookies, Map<String, Object> attributes, cn.taketoday.util.MultiValueMap<String, String> params, InetSocketAddress remoteAddress, byte[] body, List<HttpMessageConverter<?>> messageConverters) (专用程序包)DefaultServerRequest(RequestContext requestContext, List<HttpMessageConverter<?>> messageConverters) -
cn.taketoday.web.handler.function.support中HttpMessageConverter的使用
修饰符和类型方法说明voidRouterFunctionMapping.setMessageConverters(List<HttpMessageConverter<?>> messageConverters) Set the message body converters to use. -
cn.taketoday.web.handler.method中HttpMessageConverter的使用
修饰符和类型字段说明private final List<HttpMessageConverter<?>>ResponseBodyEmitterReturnValueHandler.sseMessageConverters返回变量类型为HttpMessageConverter的类型的cn.taketoday.web.handler.method中的方法修饰符和类型方法说明private static List<HttpMessageConverter<?>>ResponseBodyEmitterReturnValueHandler.initSseConverters(List<HttpMessageConverter<?>> converters) 修饰符和类型方法说明default ObjectRequestBodyAdvice.afterBodyRead(Object body, HttpInputMessage inputMessage, cn.taketoday.core.MethodParameter parameter, Type targetType, HttpMessageConverter<?> converter) Invoked third (and last) after the request body is converted to an Object.JsonViewRequestBodyAdvice.beforeBodyRead(HttpInputMessage request, cn.taketoday.core.MethodParameter methodParameter, Type targetType, HttpMessageConverter<?> selectedConverterType) RequestBodyAdvice.beforeBodyRead(HttpInputMessage request, cn.taketoday.core.MethodParameter parameter, Type targetType, HttpMessageConverter<?> converter) Invoked second before the request body is read and converted.AbstractMappingJacksonResponseBodyAdvice.beforeBodyWrite(Object body, cn.taketoday.core.MethodParameter returnType, MediaType contentType, HttpMessageConverter<?> converter, RequestContext context) ResponseBodyAdvice.beforeBodyWrite(Object body, cn.taketoday.core.MethodParameter returnType, MediaType contentType, HttpMessageConverter<?> converter, RequestContext context) Invoked after anHttpMessageConverteris selected and just before its write method is invoked.default ObjectRequestBodyAdvice.handleEmptyBody(Object body, HttpInputMessage inputMessage, cn.taketoday.core.MethodParameter parameter, Type targetType, HttpMessageConverter<?> converter) Invoked second (and last) if the body is empty.booleanAbstractMappingJacksonResponseBodyAdvice.supports(Object body, cn.taketoday.core.MethodParameter returnType, HttpMessageConverter<?> converter) booleanJsonViewRequestBodyAdvice.supports(cn.taketoday.core.MethodParameter methodParameter, Type targetType, HttpMessageConverter<?> converter) booleanJsonViewResponseBodyAdvice.supports(Object body, cn.taketoday.core.MethodParameter returnType, HttpMessageConverter<?> converter) booleanRequestBodyAdvice.supports(cn.taketoday.core.MethodParameter methodParameter, Type targetType, HttpMessageConverter<?> converter) Invoked first to determine if this interceptor applies.booleanResponseBodyAdvice.supports(Object body, cn.taketoday.core.MethodParameter returnType, HttpMessageConverter<?> converter) Whether this component supports the given controller method return type and the selectedHttpMessageConvertertype.类型变量类型为HttpMessageConverter的cn.taketoday.web.handler.method中的方法参数修饰符和类型方法说明private static List<HttpMessageConverter<?>>ResponseBodyEmitterReturnValueHandler.initSseConverters(List<HttpMessageConverter<?>> converters) 类型变量类型为HttpMessageConverter的cn.taketoday.web.handler.method中的构造器参数限定符构造器说明ResponseBodyEmitterReturnValueHandler(List<HttpMessageConverter<?>> messageConverters) Simple constructor with reactive type support based on a default instance ofReactiveAdapterRegistry,SyncTaskExecutor, andContentNegotiationManagerwith an Accept header strategy.ResponseBodyEmitterReturnValueHandler(List<HttpMessageConverter<?>> messageConverters, cn.taketoday.core.ReactiveAdapterRegistry registry, cn.taketoday.core.task.TaskExecutor executor, ContentNegotiationManager manager) Complete constructor with pluggable "reactive" type support.ResponseBodyEmitterReturnValueHandler(List<HttpMessageConverter<?>> messageConverters, ContentNegotiationManager manager) Complete constructor with pluggable "reactive" type support.