Re: Barracuda: Updated HttpRequester
Shawn Wilson <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Organization | ATMReports.com |
| Message-ID | <[email protected]> |
Jake,
You have a good point. When I looked for an existing basic Cookie class,
I looked through the J2SE 1.4 API docs but I didn't think to look
through the J2EE API (where the servlet packages are).
Looking at javax.servlet.http.Cookie now, I probably could have just
extended that class to add a few additional constructors and methods I
provide in mine. If you think it is worth it, I can go ahead and make
this change and post the updated code.
Thanks,
-shawn
Jacob Kjome wrote:
> Hello Shawn,
>
> I haven't looked at this much, but doesn't the Cookie class duplicate
> the functionality of the servlet api's Cookie class?
>
> The only real thing lacking with the servlet api's Cookie class is
> that it doesn't have a getCookie("mycookie") method. You have to get
> all cookies and loop through them. A utility method for this would be
> fine, but why the duplication of the whole Cookie class?
>
> Jake
>
> Wednesday, November 27, 2002, 12:49:32 PM, you wrote:
>
> SW> Folks,
>
> SW> I have made some updates to the
> SW> org.enhydra.barracuda.plankton.http.HttpRequester class to support the
> SW> use of cookies between server and client. This also involved the
> SW> creation of a new org.enhydra.barracuda.plankton.http.Cookie class to
> SW> represent an HTTP cookie.
>
> SW> I have attached these files to this email, so if someone thinks this
> SW> update may be useful they can use it themselves or a committer can
> SW> commit it to the barracuda tree or whatever you guys feel you want to do
> SW> with it.
>
> SW> Thanks!
> SW> -shawn
>
>
>
>
--
====================================
Shawn Wilson [[email protected]]
Software Developer, ATMReports.com
PH: 877-327-0873, FAX: 406-294-5806
====================================
_______________________________________________
Barracuda mailing list
[email protected]
http://www.enhydra.org/mailman/listinfo.cgi/barracuda
FAQ - http://www.jguru.com/faq/Barracuda