public interface LinkBuilderFactory<T extends LinkBuilder>
LinkBuilder
instances.Modifier and Type | Method and Description |
---|---|
T |
linkTo(Class<?> target)
Creates a new
LinkBuilder with a base of the mapping annotated to the given target class (controller,
service, etc.). |
T |
linkTo(Class<?> target,
Map<String,?> parameters)
Creates a new
LinkBuilder with a base of the mapping annotated to the given target class (controller,
service, etc.). |
T |
linkTo(Class<?> target,
Object... parameters)
Creates a new
LinkBuilder with a base of the mapping annotated to the given target class (controller,
service, etc.). |
T linkTo(Class<?> target)
LinkBuilder
with a base of the mapping annotated to the given target class (controller,
service, etc.).target
- must not be null.T linkTo(Class<?> target, Object... parameters)
LinkBuilder
with a base of the mapping annotated to the given target class (controller,
service, etc.). The additional parameters are used to fill up potentially available path variables in the class
scope request mapping.target
- must not be null.parameters
- must not be null.T linkTo(Class<?> target, Map<String,?> parameters)
LinkBuilder
with a base of the mapping annotated to the given target class (controller,
service, etc.). Parameter map is used to fill up potentially available path variables in the class scope request
mapping.target
- must not be null.parameters
- must not be null.Copyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.