Interface UrlResolver

All Known Implementing Classes:
DefaultUrlResolver
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UrlResolver
How to compute an URL.
Since:
1.8.1
Author:
Jerome Leleu
  • Method Summary

    Modifier and Type
    Method
    Description
    compute(String url, WebContext context)
    Compute a new URL from the provided URL and the web context.
  • Method Details

    • compute

      String compute(String url, WebContext context)
      Compute a new URL from the provided URL and the web context.
      Parameters:
      url - the provided URL
      context - the web context
      Returns:
      the computed URL