public interface IUserAgentSet
The two lists are user agent pattern expressions. A user agent pattern
defines a set of user agents. The structure is similar to the
IUserAgent interface in that it contains the type,
version and platform fields. In this case, the fields
can be prefixed by comparators and can be wildcards (asterisk: *).
type and platform can be prefixed by the following comparators:
equal =, unequal !, and asterisk *.
The version field can be prefixed by the following comparators:
equal =, unequal !, asterisk *,
less than <, less than equal <=, greater
than > and greater than equal >=.
The value of a field that is prefixed by an asterisk becomes obsolete and can be
null.
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(IUserAgent userAgent)
Deprecated.
Indicates whether a specified user agent is contained in this user
agent set.
|
String |
getName()
Deprecated.
Gets the user agent set name.
|
boolean |
isEmpty()
Deprecated.
Indicates if this user agent set is empty.
|
int |
size()
Deprecated.
Gets the number of user agent patterns in this user agent set.
|
String getName()
boolean isEmpty()
true if the user agent set is empty,
false if notint size()
boolean contains(IUserAgent userAgent)
userAgent - a user agenttrue if the user agent is an element of
this user agent set, false if not| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS
|
[sap.com] tc/ep/useragent/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice