Interface ClientCookie

  • All Superinterfaces:
    Cookie
    All Known Implementing Classes:
    BasicClientCookie, BasicClientCookie2

    public interface ClientCookie
    extends Cookie
    ClientCookie extends the standard Cookie interface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server. This is important for generating the Cookie header because some cookie specifications require that the Cookie header should include certain attributes only if they were specified in the Set-Cookie header.

    Please do not use attributes marked as @Obsolete. They have been rendered obsolete by RFC 6265.

    Since:
    4.0