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(org.springframework.web.util.UriComponentsBuilder builder,
TemplateVariables variables,
List<Affordance> affordances) |
protected |
TemplateVariableAwareLinkBuilderSupport(org.springframework.web.util.UriComponents components,
TemplateVariables variables,
List<Affordance> affordances) |
Modifier and Type | Method and Description |
---|---|
protected T |
createNewInstance(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances)
Creates a new instance of the sub-class.
|
protected abstract T |
createNewInstance(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances,
TemplateVariables variables) |
String |
toString() |
addAffordances, getThis, slash, slash, toUri, withFreshBuilder, withRel, withSelfRel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
withRel
protected TemplateVariableAwareLinkBuilderSupport(org.springframework.web.util.UriComponentsBuilder builder, TemplateVariables variables, List<Affordance> affordances)
protected TemplateVariableAwareLinkBuilderSupport(org.springframework.web.util.UriComponents components, TemplateVariables variables, List<Affordance> affordances)
protected final T createNewInstance(org.springframework.web.util.UriComponentsBuilder builder, List<Affordance> affordances)
LinkBuilderSupport
createNewInstance
in class LinkBuilderSupport<T extends TemplateVariableAwareLinkBuilderSupport<T>>
builder
- will never be null.protected abstract T createNewInstance(org.springframework.web.util.UriComponentsBuilder builder, List<Affordance> affordances, TemplateVariables variables)
public String toString()
toString
in class LinkBuilderSupport<T extends TemplateVariableAwareLinkBuilderSupport<T>>
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.