net.sf.jportlet.portlet
Interface Client

All Known Implementing Classes:
ClientImpl

public interface Client

The Client interface represents the client device that the user connects to the portal with. It defines methods to obtain information about clients, e.g. browsers running on PCs, WAP phones, PDAs or on voice gateways.

Author:
Herve Tchepannou

Method Summary
 java.lang.String getManufacturer()
          Returns the name of the manufacturer of this client, or null if the name is not available
 Portlet.Markup getMarkup()
          Returns the preferred markup name that this client device supports
 java.lang.String getMimeType()
          Return the prefered mimeType of the client device
 java.lang.String getModel()
          Returns the name of the model of this client, or null if the name is not available
 java.lang.String getUserAgent()
          Returns the exact user agent that this client uses to identify itself to the portal
 java.lang.String getVersion()
          Returns the version of the model of this client, or null if the version is not available
 

Method Detail

getManufacturer

public java.lang.String getManufacturer()
Returns the name of the manufacturer of this client, or null if the name is not available

Returns:
String

getMarkup

public Portlet.Markup getMarkup()
Returns the preferred markup name that this client device supports

Returns:
String

getMimeType

public java.lang.String getMimeType()
Return the prefered mimeType of the client device

Returns:
String

getModel

public java.lang.String getModel()
Returns the name of the model of this client, or null if the name is not available

Returns:
String

getUserAgent

public java.lang.String getUserAgent()
Returns the exact user agent that this client uses to identify itself to the portal

Returns:
String

getVersion

public java.lang.String getVersion()
Returns the version of the model of this client, or null if the version is not available

Returns:
String


Copyright © 2002 Herve Tchepannou. All Rights Reserved.