public static interface Servlets.ClientIdentifier
Servlets.getBrowser(javax.servlet.ServletRequest, java.lang.String)
.Servlets.setClientIdentifier(org.zkoss.web.servlet.Servlets.ClientIdentifier)
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the browser.
|
double |
getVersion()
Returns the version of the browser.
|
Servlets.ClientIdentifier |
matches(java.lang.String userAgent)
Returns the information of the client if userAgent matches
this client, or null if not matched.
|
Servlets.ClientIdentifier matches(java.lang.String userAgent)
userAgent
- represents a client.java.lang.String getName()
matches(java.lang.String)
.double getVersion()
matches(java.lang.String)
.Copyright © 2005-2021 Potix Corporation. All Rights Reserved.