public interface UriComponentsContributor
UriComponentsBuilder
when referring to a method through a dummy method invocation.
Will usually be implemented in implementations of HandlerMethodArgumentResolver
as they represent exactly the
same functionality inverted.MethodLinkBuilderFactory.linkTo(Object)
Modifier and Type | Method and Description |
---|---|
void |
enhance(org.springframework.web.util.UriComponentsBuilder builder,
org.springframework.core.MethodParameter parameter,
Object value)
Enhance the given
UriComponentsBuilder with the given value. |
boolean |
supportsParameter(org.springframework.core.MethodParameter parameter)
Returns whether the
UriComponentsBuilder supports the given MethodParameter . |
boolean supportsParameter(org.springframework.core.MethodParameter parameter)
UriComponentsBuilder
supports the given MethodParameter
.parameter
- will never be null.void enhance(org.springframework.web.util.UriComponentsBuilder builder, org.springframework.core.MethodParameter parameter, Object value)
UriComponentsBuilder
with the given value.builder
- will never be null.parameter
- will never be null.value
- can be null.Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.