Interface LinkBuilderFactory<T extends LinkBuilder>
- All Known Subinterfaces:
MethodLinkBuilderFactory<T>
- All Known Implementing Classes:
WebMvcLinkBuilderFactory
public interface LinkBuilderFactory<T extends LinkBuilder>
Factory for
LinkBuilder instances.- Author:
- Ricardo Gladwell, Andrew Naydyonock, Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newLinkBuilderwith a base of the mapping annotated to the given target class (controller, service, etc.).Creates a newLinkBuilderwith a base of the mapping annotated to the given target class (controller, service, etc.).Creates a newLinkBuilderwith a base of the mapping annotated to the given target class (controller, service, etc.).
-
Method Details
-
linkTo
Creates a newLinkBuilderwith a base of the mapping annotated to the given target class (controller, service, etc.).- Parameters:
target- must not be null.- Returns:
-
linkTo
Creates a newLinkBuilderwith 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.- Parameters:
target- must not be null.parameters- must not be null.- Returns:
-
linkTo
Creates a newLinkBuilderwith 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.- Parameters:
target- must not be null.parameters- must not be null.- Returns:
-