|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Client
interface represents the client device that
the user connects to the portal with. It defines defines methods to
obtain information about clients, e.g. browsers running on PCs, WAP
phones, PDAs or on voice gateways.
This class may need to be reviewed once the picture on CC/PP is much clearer.
Method Summary | |
java.lang.String |
getManufacturer()
Returns the name of the manufacturer of this client. |
java.lang.String |
getMimeType()
Returns the preferred mime-type that this client device supports. |
java.util.Enumeration |
getMimeTypes()
Returns an array of mime-types in decreasing order of preferrence. |
java.lang.String |
getModel()
Returns the name of the model of this client. |
java.lang.String |
getUserAgent()
Returns the exact user agent that this client uses to connect to the portal. |
java.lang.String |
getVersion()
Returns the version of the model of this client. |
boolean |
isCapableOf(Capability capability)
Returns whether this client has the given capability. |
boolean |
isCapableOf(Capability[] capabilities)
Returns whether this client has the given capabilities. |
Method Detail |
public java.lang.String getManufacturer()
public java.lang.String getModel()
public java.lang.String getVersion()
public java.lang.String getUserAgent()
public boolean isCapableOf(Capability capability)
false
.
true
if the client has the given
capability, false
otherwiseisCapableOf(Capability[])
public boolean isCapableOf(Capability[] capabilities)
true.
- Returns:
true
if the client has the given
capability,
false
otherwise- See Also:
isCapableOf(Capability)
public java.lang.String getMimeType()
public java.util.Enumeration getMimeTypes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |