public class BasicLinkBuilder extends LinkBuilderSupport<BasicLinkBuilder>
LinkBuilder implementation possible. Exposes a link to the current servlet mapping only.| Modifier and Type | Method and Description |
|---|---|
protected BasicLinkBuilder |
createNewInstance(UriComponentsBuilder builder,
List<Affordance> affordances)
Creates a new instance of the sub-class.
|
protected BasicLinkBuilder |
getThis()
Returns the current concrete instance.
|
static BasicLinkBuilder |
linkToCurrentMapping()
Creates a new
BasicLinkBuilder to link to the current servlet mapping. |
addAffordances, slash, slash, toString, toUri, withFreshBuilder, withRel, withSelfRelclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitwithRelpublic static BasicLinkBuilder linkToCurrentMapping()
BasicLinkBuilder to link to the current servlet mapping.protected BasicLinkBuilder createNewInstance(UriComponentsBuilder builder, List<Affordance> affordances)
LinkBuilderSupportcreateNewInstance in class LinkBuilderSupport<BasicLinkBuilder>builder - will never be null.protected BasicLinkBuilder getThis()
LinkBuilderSupportgetThis in class LinkBuilderSupport<BasicLinkBuilder>Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.