Interface Servlets.ClientIdentifier

    • Method Detail

      • matches

        Servlets.ClientIdentifier matches​(java.lang.String userAgent)
        Returns the information of the client if userAgent matches this client, or null if not matched.
        Parameters:
        userAgent - represents a client.
      • getName

        java.lang.String getName()
        Returns the name of the browser. It is called only against the instance returned by matches(java.lang.String).
      • getVersion

        double getVersion()
        Returns the version of the browser. It is called only against the instance returned by matches(java.lang.String).