You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/03/11 12:28:02 UTC

DO NOT REPLY [Bug 17870] New: - Cookie should be an Interface

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17870>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17870

Cookie should be an Interface

           Summary: Cookie should be an Interface
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: HttpClient
        AssignedTo: commons-httpclient-dev@jakarta.apache.org
        ReportedBy: sfound@volantis.com


If the Cookie class was defined as an interface instead of as a concrete class, 
it would become possible for a user to define their own Cookie implementation
for use with in HttpClient.

For example, an extended javax.servlet.http.Cookie object could be defined which
could be used within both HttpClient and HttpServletResponse.