Class BrowserInfoTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag
Direct Known Subclasses:
BrowserFilterTag, ElementTag, FaviconTag, InsertContentTag, IPFilterTag, MenuElementTag, OSFilterTag, PageTag

public abstract class BrowserInfoTag extends TagSupport
A JSP tag that operates differently based on browser type.
Since:
3.7
Version:
11.6
Author:
Luke
See Also:
  • Constructor Details

    • BrowserInfoTag

      public BrowserInfoTag()
  • Method Details

    • getBrowserContext

      protected HTTPContextData getBrowserContext()
      Fetches the browser data.
      Returns:
      an HTTPContextData bean, or none if null
    • passedCAPTCHA

      protected boolean passedCAPTCHA()
      Returns whether the user has passed CAPTCHA validation.
      Returns:
      TRUE if the user has passed the CAPTCHA, otherwise FALSE