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

    Constructors
    Constructor
    Description
    LinkBuilder(io.micronaut.http.server.HttpServerConfiguration httpServerConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected @Nullable String
    computeContextPath(org.thymeleaf.context.IExpressionContext context, String base, Map<String,Object> parameters)
     
    protected String
    processLink(org.thymeleaf.context.IExpressionContext context, String link)
     

    Methods inherited from class org.thymeleaf.linkbuilder.StandardLinkBuilder

    buildLink

    Methods inherited from class org.thymeleaf.linkbuilder.AbstractLinkBuilder

    getName, getOrder, setName, setOrder

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      computeContextPath in class org.thymeleaf.linkbuilder.StandardLinkBuilder
      Returns:
      null.
    • processLink

      protected String processLink(org.thymeleaf.context.IExpressionContext context, String link)
      Overrides:
      processLink in class org.thymeleaf.linkbuilder.StandardLinkBuilder