Class JohnsonPageEndpointsProvider


  • @ParametersAreNonnullByDefault
    public final class JohnsonPageEndpointsProvider
    extends Object
    Provides the endpoint URLs required by the Johnson page.
    Since:
    6.5.0
    See Also:
    "errors.jsp"
    • Method Detail

      • getEndpoints

        public static @NonNull Json getEndpoints​(String contextPath)
        Returns the URLs of the endpoints used by the Johnson page.
        Parameters:
        contextPath - the web application's context path
        Returns:
        a JSON object where the property names are URL keys and the values are relative URLs that begin with the given context path