类的使用
cn.taketoday.web.accept.ContentNegotiationManager
程序包
说明
This package contains classes used to determine the requested the media types in a request.
Request context parameter resolvers
Web Handler
Common MVC logic for matching incoming requests based on conditions.
Method handler
Support classes for serving static resources.
Provides standard View and ViewResolver implementations,
including abstract base classes for custom implementations.
-
cn.taketoday.web.accept中ContentNegotiationManager的使用
修饰符和类型字段说明private ContentNegotiationManagerContentNegotiationManagerFactoryBean.contentNegotiationManager修饰符和类型方法说明ContentNegotiationManagerFactoryBean.build()Create and initialize aContentNegotiationManagerinstance.ContentNegotiationManagerFactoryBean.getObject() -
cn.taketoday.web.bind.resolver中ContentNegotiationManager的使用
修饰符和类型字段说明private final ContentNegotiationManagerAbstractMessageConverterMethodProcessor.contentNegotiationManagerprivate ContentNegotiationManagerParameterResolvingRegistry.contentNegotiationManager修饰符和类型方法说明voidParameterResolvingRegistry.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) Set theContentNegotiationManagerto use to determine requested media types.限定符构造器说明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.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. -
cn.taketoday.web.config中ContentNegotiationManager的使用
修饰符和类型字段说明private final ContentNegotiationManagerResourceHandlerRegistry.contentNegotiationManagerprivate final ContentNegotiationManagerViewResolverRegistry.contentNegotiationManagerprivate ContentNegotiationManagerWebMvcConfigurationSupport.contentNegotiationManager修饰符和类型方法说明protected ContentNegotiationManagerContentNegotiationConfigurer.buildContentNegotiationManager()Build aContentNegotiationManagerbased on this configurer's settings.WebMvcConfigurationSupport.mvcContentNegotiationManager()Return aContentNegotiationManagerinstance to use to determine requested media types in a given request.修饰符和类型方法说明WebMvcConfigurationSupport.mvcViewResolver(ContentNegotiationManager contentNegotiationManager) Register aViewResolverCompositethat contains a chain of view resolvers to use for view resolution.(专用程序包) ParameterResolvingRegistryWebMvcConfigurationSupport.parameterResolvingRegistry(ParameterResolvingStrategy[] strategies, RedirectModelManager redirectModelManager, ContentNegotiationManager contentNegotiationManager) defaultParameterResolvingStrategyregistry(专用程序包) RequestMappingHandlerMappingWebMvcConfigurationSupport.requestMappingHandlerMapping(ContentNegotiationManager contentNegotiationManager, ParameterResolvingRegistry parameterResolvingRegistry) coreHandlerMappingto register handlerWebMvcConfigurationSupport.resourceHandlerMapping(NotFoundHandler notFoundHandler, ContentNegotiationManager contentNegotiationManager) Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.(专用程序包) ReturnValueHandlerManagerWebMvcConfigurationSupport.returnValueHandlerManager(ViewReturnValueHandler viewHandler, RedirectModelManager redirectModelManager, ContentNegotiationManager contentNegotiationManager) defaultReturnValueHandlerregistry限定符构造器说明ResourceHandlerRegistry(cn.taketoday.context.ApplicationContext context, ContentNegotiationManager contentNegotiationManager) Create a new resource handler registry for the given application context.ViewResolverRegistry(ContentNegotiationManager contentNegotiationManager, cn.taketoday.context.ApplicationContext context) Class constructor withContentNegotiationManagerandApplicationContext. -
cn.taketoday.web.handler中ContentNegotiationManager的使用
修饰符和类型方法说明voidReturnValueHandlerManager.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) Set theContentNegotiationManagerto use to determine requested media types. -
cn.taketoday.web.handler.condition中ContentNegotiationManager的使用
修饰符和类型字段说明private final ContentNegotiationManagerProducesRequestCondition.contentNegotiationManagerprivate static final ContentNegotiationManagerProducesRequestCondition.DEFAULT_CONTENT_NEGOTIATION_MANAGER限定符构造器说明ProducesRequestCondition(String[] produces, String[] headers, ContentNegotiationManager manager) Same asProducesRequestCondition(String[], String[])but also accepting aContentNegotiationManager. -
cn.taketoday.web.handler.method中ContentNegotiationManager的使用
修饰符和类型字段说明private final ContentNegotiationManagerReactiveTypeHandler.contentNegotiationManagerprivate ContentNegotiationManagerRequestMappingHandlerMapping.contentNegotiationManagerprivate ContentNegotiationManagerRequestMappingInfo.BuilderConfiguration.contentNegotiationManager修饰符和类型方法说明RequestMappingHandlerMapping.getContentNegotiationManager()Return the configuredContentNegotiationManager.RequestMappingInfo.BuilderConfiguration.getContentNegotiationManager()Return the ContentNegotiationManager to use for the ProducesRequestCondition, if any.修饰符和类型方法说明voidRequestMappingHandlerMapping.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) Set theContentNegotiationManagerto use to determine requested media types.voidRequestMappingInfo.BuilderConfiguration.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) Set the ContentNegotiationManager to use for the ProducesRequestCondition.限定符构造器说明ReactiveTypeHandler(cn.taketoday.core.ReactiveAdapterRegistry registry, cn.taketoday.core.task.TaskExecutor executor, ContentNegotiationManager manager) 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. -
cn.taketoday.web.resource中ContentNegotiationManager的使用
修饰符和类型方法说明ResourceHttpRequestHandler.getContentNegotiationManager()Return the configured content negotiation manager.修饰符和类型方法说明voidResourceHttpRequestHandler.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) Configure aContentNegotiationManagerto help determine the media types for resources being served. -
cn.taketoday.web.view中ContentNegotiationManager的使用
修饰符和类型字段说明private ContentNegotiationManagerContentNegotiatingViewResolver.contentNegotiationManager修饰符和类型方法说明ContentNegotiatingViewResolver.getContentNegotiationManager()Return theContentNegotiationManagerto use to determine requested media types.修饰符和类型方法说明voidContentNegotiatingViewResolver.setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) Set theContentNegotiationManagerto use to determine requested media types.