Class Additional404Link


  • public class Additional404Link
    extends Object
    Represents an additional link for 404 page
    Since:
    2018.2.3
    • Method Detail

      • getText

        @NotNull
        public String getText()
      • getHref

        @NotNull
        public String getHref()
      • getLinks

        @Nullable
        public static List<Additional404Link> getLinks​(@NotNull
                                                       javax.servlet.http.HttpServletRequest request)
        Returns all links for the specified request
        Parameters:
        request - request
        Returns:
        collection of links
      • addLink

        public static void addLink​(@NotNull
                                   javax.servlet.http.HttpServletRequest request,
                                   @NotNull
                                   String text,
                                   @NotNull
                                   String href)
        Adds a link with specified text and href to the request.
        Parameters:
        request - request
        text - the displayed text
        href - the link href