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)
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. |
slash, slash, toString, toUri, withRel, withSelfRel
public static BasicLinkBuilder linkToCurrentMapping()
BasicLinkBuilder
to link to the current servlet mapping.protected BasicLinkBuilder createNewInstance(UriComponentsBuilder builder)
LinkBuilderSupport
createNewInstance
in class LinkBuilderSupport<BasicLinkBuilder>
builder
- will never be null.protected BasicLinkBuilder getThis()
LinkBuilderSupport
getThis
in class LinkBuilderSupport<BasicLinkBuilder>
Copyright © 2012-2015–2015 Pivotal, Inc.. All rights reserved.