Interface ContextDataType.Builder

    • Method Detail

      • ipAddress

        ContextDataType.Builder ipAddress​(String ipAddress)

        The source IP address of your user's device.

        Parameters:
        ipAddress - The source IP address of your user's device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverName

        ContextDataType.Builder serverName​(String serverName)

        Your server endpoint where this API is invoked.

        Parameters:
        serverName - Your server endpoint where this API is invoked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverPath

        ContextDataType.Builder serverPath​(String serverPath)

        Your server path where this API is invoked.

        Parameters:
        serverPath - Your server path where this API is invoked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • httpHeaders

        ContextDataType.Builder httpHeaders​(Collection<HttpHeader> httpHeaders)

        HttpHeaders received on your server in same order.

        Parameters:
        httpHeaders - HttpHeaders received on your server in same order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • httpHeaders

        ContextDataType.Builder httpHeaders​(HttpHeader... httpHeaders)

        HttpHeaders received on your server in same order.

        Parameters:
        httpHeaders - HttpHeaders received on your server in same order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.