Class ContextPathUrlResolver

  • All Implemented Interfaces:
    org.pac4j.core.http.url.UrlResolver

    public class ContextPathUrlResolver
    extends Object
    implements org.pac4j.core.http.url.UrlResolver
    URL resolver that prepends the context part to the URL if missing.
    Since:
    8.0.0
    Author:
    XIMA Media GmbH
    • Method Detail

      • compute

        public String compute​(String url,
                              org.pac4j.core.context.WebContext context)
        Specified by:
        compute in interface org.pac4j.core.http.url.UrlResolver