CompositeUriComponentsContributor(vararg contributors: UriComponentsContributor)CompositeUriComponentsContributor(contributors: MutableCollection<*>)
Create an instance from a collection of UriComponentsContributors or HandlerMethodArgumentResolvers. Since both of these tend to be implemented by the same class, the most convenient option is to obtain the configured HandlerMethodArgumentResolvers in RequestMappingHandlerAdapter and provide that to this constructor.
contributors - a collection of UriComponentsContributor or HandlerMethodArgumentResolvers.
CompositeUriComponentsContributor(@Nullable contributors: MutableCollection<*>, @Nullable cs: ConversionService)
Create an instance from a collection of UriComponentsContributors or HandlerMethodArgumentResolvers. Since both of these tend to be implemented by the same class, the most convenient option is to obtain the configured HandlerMethodArgumentResolvers in the RequestMappingHandlerAdapter and provide that to this constructor.
If the ConversionService argument is null, org.springframework.format.support.DefaultFormattingConversionService will be used by default.
contributors - a collection of UriComponentsContributor or HandlerMethodArgumentResolvers.
cs - a ConversionService to use when method argument values need to be formatted as Strings before being added to the URI