public class SpringletsMvcUriComponentsBuilder
extends org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
MvcUriComponentsBuilder
class provided by the Spring MVC.
We only need to overwrite the private method `applyContributors`. The problem is
that all methods of this class are statics, and we need to re-implement them to be
able to use our customized method.
This customization is necessary to be able to solve the following issue
https://jira.spring.io/browse/SPR-14890.org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder, org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodInvocationInfo| Modifier | Constructor and Description |
|---|---|
protected |
SpringletsMvcUriComponentsBuilder(org.springframework.web.util.UriComponentsBuilder baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.web.util.UriComponentsBuilder |
fromMethodCall(Object info) |
controller, fromController, fromController, fromMappingName, fromMappingName, fromMethod, fromMethod, fromMethod, fromMethodCall, fromMethodName, fromMethodName, on, relativeTo, withController, withMappingName, withMethod, withMethodCall, withMethodNameprotected SpringletsMvcUriComponentsBuilder(org.springframework.web.util.UriComponentsBuilder baseUrl)
public static org.springframework.web.util.UriComponentsBuilder fromMethodCall(Object info)
Copyright © 2018 DISID Corporation. All rights reserved.