Interface CookieMatchPattern.Builder

    • Method Detail

      • all

        CookieMatchPattern.Builder all​(All all)

        Inspect all cookies.

        Parameters:
        all - Inspect all cookies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includedCookies

        CookieMatchPattern.Builder includedCookies​(Collection<String> includedCookies)

        Inspect only the cookies that have a key that matches one of the strings specified here.

        Parameters:
        includedCookies - Inspect only the cookies that have a key that matches one of the strings specified here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • includedCookies

        CookieMatchPattern.Builder includedCookies​(String... includedCookies)

        Inspect only the cookies that have a key that matches one of the strings specified here.

        Parameters:
        includedCookies - Inspect only the cookies that have a key that matches one of the strings specified here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • excludedCookies

        CookieMatchPattern.Builder excludedCookies​(Collection<String> excludedCookies)

        Inspect only the cookies whose keys don't match any of the strings specified here.

        Parameters:
        excludedCookies - Inspect only the cookies whose keys don't match any of the strings specified here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • excludedCookies

        CookieMatchPattern.Builder excludedCookies​(String... excludedCookies)

        Inspect only the cookies whose keys don't match any of the strings specified here.

        Parameters:
        excludedCookies - Inspect only the cookies whose keys don't match any of the strings specified here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.