Package play.mvc

Interface Http.Cookies

    • Method Detail

      • get

        Optional<Http.Cookie> get​(String name)
        Parameters:
        name - Name of the cookie to retrieve
        Returns:
        the cookie that is associated with the given name
      • getCookie

        @Deprecated
        default Optional<Http.Cookie> getCookie​(String name)
        Deprecated.
        Deprecated as of 2.8.0. Renamed to get(String)
        Parameters:
        name - Name of the cookie to retrieve
        Returns:
        the optional cookie that is associated with the given name