T - the class of the Controller to create links topublic class SimpleMethodLinkBuilderFactory<T> extends Object implements MethodLinkBuilderFactory<T>
MethodLinkBuilderFactory implementation which creates
instances of MethodLinkBuilder using the
SimpleMethodLinkBuilder class.| Constructor and Description |
|---|
SimpleMethodLinkBuilderFactory(MethodLinkFactory<T> linkFactory)
Creates a factory of
MethodLinkBuilder objects based on the given
MethodLinkFactory related to a Controller |
| Modifier and Type | Method and Description |
|---|---|
MethodLinkBuilder<T> |
to(String methodName)
Returns a builder to create links to the given method of the current
controller.
|
public SimpleMethodLinkBuilderFactory(MethodLinkFactory<T> linkFactory)
MethodLinkBuilder objects based on the given
MethodLinkFactory related to a ControllerlinkFactory - to use to create links to the Controllerpublic MethodLinkBuilder<T> to(String methodName)
MethodLinkBuilderFactoryto in interface MethodLinkBuilderFactory<T>methodName - the name of the method to link toCopyright © 2018 DISID Corporation. All rights reserved.