Interface ClientDetectionInterface

  • All Known Implementing Classes:
    ClientDetectionDefaultImpl

    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 Detail

      • getClientType

        String getClientType​(jakarta.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