Class RFC2965PortAttributeHandler

    • Constructor Detail

      • RFC2965PortAttributeHandler

        public RFC2965PortAttributeHandler()
    • Method Detail

      • match

        public boolean match​(Cookie cookie,
                             CookieOrigin origin)
        Match cookie port attribute. If the Port attribute is not specified in header, the cookie can be sent to any port. Otherwise, the request port must be in the cookie's port list.
        Specified by:
        match in interface CookieAttributeHandler
        Parameters:
        cookie - Cookie to match
        origin - the cookie source to match against
        Returns:
        true if the match is successful; false otherwise