atg.portal.servlet
Interface Device


public interface Device

Encapsulates information about the client device


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Method Summary
 java.lang.String getMimeType()
          Access the preferred mime-type of the client
 java.lang.String[] getMimeTypes()
          Access the mime-types accepted by this client
 java.lang.String getUserAgent()
          Access the user agent of the client
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

getUserAgent

java.lang.String getUserAgent()
Access the user agent of the client

Returns:
a user agent

getMimeType

java.lang.String getMimeType()
Access the preferred mime-type of the client

Returns:
a mime-type

getMimeTypes

java.lang.String[] getMimeTypes()
Access the mime-types accepted by this client

Returns:
an array of mime-types