Code example for DefaultFormattingConversionService

0
	 * @param contributors a collection of {@link UriComponentsContributor} 
	 * or {@link HandlerMethodArgumentResolver}s. 
	 */ 
	public CompositeUriComponentsContributor(UriComponentsContributor... contributors) {
		Collections.addAll(this.contributors, contributors);
		this.conversionService = new DefaultFormattingConversionService();
	} 
 
	/** 
	 * Create an instance from a collection of {@link UriComponentsContributor}s or 
	 * {@link HandlerMethodArgumentResolver}s. Since both of these tend to be implemented 
	 * by the same class, the most convenient option is to obtain the configured 
	 * {@code HandlerMethodArgumentResolvers} in {@code RequestMappingHandlerAdapter} 
	 * and provide that to this constructor. 
	 * @param contributors a collection of {@link UriComponentsContributor} 
	 * or {@link HandlerMethodArgumentResolver}s. 
	 */ 
	public CompositeUriComponentsContributor(Collection<?> contributors) {
		this(contributors, null);
	} 
Contextual code suggestions in your IDE  Get Codota for Java