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 clientType from the client request.


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

Method Detail

getClientType

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