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(UriComponentsBuilder builder,
MethodParameter parameter,
Object value)
Enhance the given
UriComponentsBuilder with the given value. |
boolean |
supportsParameter(MethodParameter parameter)
Returns whether the
UriComponentsBuilder supports the given MethodParameter . |
boolean supportsParameter(MethodParameter parameter)
UriComponentsBuilder
supports the given MethodParameter
.parameter
- will never be null.void enhance(UriComponentsBuilder builder, 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-2016–2018 Pivotal, Inc.. All rights reserved.