public abstract class TemplateVariableAwareLinkBuilderSupport<T extends TemplateVariableAwareLinkBuilderSupport<T>> extends LinkBuilderSupport<T>
LinkBuilderSupport
extension that can keep a list of TemplateVariables
around.Modifier | Constructor and Description |
---|---|
protected |
TemplateVariableAwareLinkBuilderSupport(UriComponents components,
TemplateVariables variables,
List<Affordance> affordances) |
Modifier and Type | Method and Description |
---|---|
protected T |
createNewInstance(UriComponents components,
List<Affordance> affordances)
Creates a new instance of the sub-class.
|
protected abstract T |
createNewInstance(UriComponents components,
List<Affordance> affordances,
TemplateVariables variables) |
String |
toString() |
addAffordances, createNewInstance, getThis, slash, slash, toUri, withRel, withSelfRel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
withRel
protected TemplateVariableAwareLinkBuilderSupport(UriComponents components, TemplateVariables variables, List<Affordance> affordances)
protected final T createNewInstance(UriComponents components, List<Affordance> affordances)
LinkBuilderSupport
createNewInstance
in class LinkBuilderSupport<T extends TemplateVariableAwareLinkBuilderSupport<T>>
protected abstract T createNewInstance(UriComponents components, List<Affordance> affordances, TemplateVariables variables)
public String toString()
toString
in class LinkBuilderSupport<T extends TemplateVariableAwareLinkBuilderSupport<T>>
Copyright © 2011–2020 Pivotal, Inc.. All rights reserved.