com.iplanet.services.cdm
Interface ClientDetectionInterface


public interface ClientDetectionInterface

The ClientDetectionInterface interface needs to be implemented by services and applications serving multiple clients, to determine the client from which the request has originated. This interface detects the client type from the client request.


Method Summary
 java.lang.String getClientType(javax.servlet.http.HttpServletRequest request)
          Detects the client type based on the request object.
 

Method Detail

getClientType

public java.lang.String getClientType(javax.servlet.http.HttpServletRequest request)
                               throws ClientDetectionException
Detects the client type based on the request object.
Parameters:
request - HTTP Servlet Request
Returns:
a String representing the client type.
Throws:
ClientDetectionException - when there is an error retrieving client data


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.