List of usage examples for org.springframework.web.servlet.mvc.method.annotation MvcUriComponentsBuilder MvcUriComponentsBuilder
protected MvcUriComponentsBuilder(UriComponentsBuilder baseUrl)
From source file:org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.java
/** * Create an instance of this class with a base URL. After that calls to one * of the instance based {@code withXxx(...}} methods will create URLs relative * to the given base URL./*from w w w. j a va2 s.co m*/ */ public static MvcUriComponentsBuilder relativeTo(UriComponentsBuilder baseUrl) { return new MvcUriComponentsBuilder(baseUrl); }