Example usage for Java org.springframework.web.servlet.mvc.method.annotation MvcUriComponentsBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
MvcUriComponentsBuilder(UriComponentsBuilder baseUrl) Default constructor. |
UriComponentsBuilder | fromController(Class> controllerType) Create a UriComponentsBuilder from the mapping of a controller class and current request information including Servlet mapping. |
MethodArgumentBuilder | fromMappingName(@Nullable UriComponentsBuilder builder, String name) An alternative to #fromMappingName(String) that accepts a UriComponentsBuilder representing the base URL. |
UriComponentsBuilder | fromMethodCall(Object info) Create a UriComponentsBuilder by invoking a "mock" controller method. |
UriComponentsBuilder | fromMethodName(Class> controllerType, String methodName, Object... args) Create a UriComponentsBuilder from the mapping of a controller method and an array of method argument values. |
UriComponentsBuilder | fromMethodName(UriComponentsBuilder builder, Class> controllerType, String methodName, Object... args) An alternative to #fromMethodName(Class,String,Object) that accepts a UriComponentsBuilder representing the base URL. |
T | on(Class Return a "mock" controller instance. |