Package io.micronaut.views.thymeleaf
Class LinkBuilder
java.lang.Object
org.thymeleaf.linkbuilder.AbstractLinkBuilder
org.thymeleaf.linkbuilder.StandardLinkBuilder
io.micronaut.views.thymeleaf.LinkBuilder
- All Implemented Interfaces:
org.thymeleaf.linkbuilder.ILinkBuilder
@Singleton
public class LinkBuilder
extends org.thymeleaf.linkbuilder.StandardLinkBuilder
Implementation of
ILinkBuilder interface for WebContext
support.- Since:
- 1.1.0
- Author:
- Semyon Gashchenko
-
Nested Class Summary
Nested classes/interfaces inherited from class org.thymeleaf.linkbuilder.StandardLinkBuilder
org.thymeleaf.linkbuilder.StandardLinkBuilder.LinkType -
Constructor Summary
ConstructorsConstructorDescriptionLinkBuilder(io.micronaut.http.server.HttpServerConfiguration httpServerConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable StringcomputeContextPath(org.thymeleaf.context.IExpressionContext context, String base, Map<String, Object> parameters) protected StringprocessLink(org.thymeleaf.context.IExpressionContext context, String link) Methods inherited from class org.thymeleaf.linkbuilder.StandardLinkBuilder
buildLinkMethods inherited from class org.thymeleaf.linkbuilder.AbstractLinkBuilder
getName, getOrder, setName, setOrder
-
Constructor Details
-
LinkBuilder
public LinkBuilder(io.micronaut.http.server.HttpServerConfiguration httpServerConfiguration) - Parameters:
httpServerConfiguration- HTTP Server Configuration
-
-
Method Details
-
computeContextPath
@Nullable protected @Nullable String computeContextPath(org.thymeleaf.context.IExpressionContext context, String base, Map<String, Object> parameters) - Overrides:
computeContextPathin classorg.thymeleaf.linkbuilder.StandardLinkBuilder- Returns:
null.
-
processLink
- Overrides:
processLinkin classorg.thymeleaf.linkbuilder.StandardLinkBuilder
-