Class RequestMappingInfo.BuilderConfiguration
- java.lang.Object
- org.springframework.web.reactive.result.method.RequestMappingInfo.BuilderConfiguration
- Enclosing class:
- RequestMappingInfo
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.
Constructor Summary
Constructors Constructor Description BuilderConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestedContentTypeResolver
getContentTypeResolver()
PathPatternParser
getPatternParser()
void
setContentTypeResolver(RequestedContentTypeResolver resolver)
Set the ContentNegotiationManager to use for the ProducesRequestCondition.void
setPatternParser(PathPatternParser patternParser)
Constructor Detail
BuilderConfiguration
public BuilderConfiguration()
Method Detail
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()