类 RequestMappingInfo.BuilderConfiguration
- java.lang.Object
- org.springframework.web.reactive.result.method.RequestMappingInfo.BuilderConfiguration
public static class RequestMappingInfo.BuilderConfiguration extends Object
Container for configuration options used for request mapping purposes. Such configuration is required to create RequestMappingInfo instances but is typically used across all RequestMappingInfo instances.
构造器概要
构造器 构造器 说明 BuilderConfiguration()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 RequestedContentTypeResolver
getContentTypeResolver()
PathPatternParser
getPatternParser()
void
setContentTypeResolver(RequestedContentTypeResolver resolver)
Set the ContentNegotiationManager to use for the ProducesRequestCondition.void
setPatternParser(PathPatternParser patternParser)
构造器详细资料
BuilderConfiguration
public BuilderConfiguration()
方法详细资料
setPatternParser
public void setPatternParser(PathPatternParser patternParser)
getPatternParser
@Nullable public PathPatternParser getPatternParser()
setContentTypeResolver
public void setContentTypeResolver(RequestedContentTypeResolver resolver)
Set the ContentNegotiationManager to use for the ProducesRequestCondition.By default this is not set.
getContentTypeResolver
@Nullable public RequestedContentTypeResolver getContentTypeResolver()