vmassol 01/08/31 09:58:03
Modified: cactus/docs/framework/xdocs changes.xml
Log:
updates to reflect all changes on cookie and httpclient things
Revision Changes Path
1.43 +40 -1 jakarta-commons/cactus/docs/framework/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/cactus/docs/framework/xdocs/changes.xml,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- changes.xml 2001/08/29 13:27:47 1.42
+++ changes.xml 2001/08/31 16:58:03 1.43
@@ -88,14 +88,53 @@
<release version="1.2 in CVS">
<action dev="VMA" type="add">
+ New <code>WebRequest.addCookie(String theDomain, String
+ theName, String theValue)</code> and
+ <code>WebRequest.addCookie(Cookie theCookie)</code> methods for
+ adding cookies to the request.
+ </action>
+ <action dev="VMA" type="add">
+ New <code>org.apache.commons.cactus.Cookie</code> class that replaces
+ the old <code>org.apache.commons.cactus.util.ClientCookie</code> one
+ which has been deprecated. The new Cookie class can be used in
+ <code>beginXXX()</code> and <code>endXXX()</code> methods to
+ manipulate cookies.
+ </action>
+ <action dev="VMA" type="update">
+ Improved cookie handling and support for domains and paths. It means
+ that the domain need to match either the redirector host name or
+ the host specified in the call to <code>setURL()</code>, otherwise
+ the cookie won't get sent. If no domain is used when adding a cookie
+ to <code>WebRequest</code> then "locahost" domain is used. The cookie
+ path is optional and can be null. If not null, the cookie is only
+ sent for requests starting with the path URL.
+ </action>
+ <action dev="VMA" type="add">
+ New dependency on the Jakarta Commons HttpClient component. It is
+ used to manage client cookies, i.e. all Cactus code for managing
+ cookies has been removed in favor of HttpClient. The consequence is
+ that cookie handling now complies much better to the specifciation.
+ </action>
+ <action dev="VMA" type="fix" due-to="Ron Smith"
due-to-email="[EMAIL PROTECTED]">
+ Modified <code>cactus.properties</code> and <code>web.xml</code>
+ mappings (by adding a trailing forward slash to redirector URL and
+ mappings) to support test cases that returns an HTTP status code
+ greater than 400. Otherwise <code>HttpURLConnection</code> returns
+ a <code>FileNotFoundException</code>.
+ </action>
+ <action dev="VMA" type="add">
Added a <code>Vector getLogs()</code> method to
<code>ServletContextWrapper</code> that returns a vector of the log
messages generated by calls to <code>ServletContext.log()</code>.
This is to easily assert the content of these calls when writing
test cases.
</action>
+ <action dev="VMA" type="update">
+ Some major refactorings and clean up of code ...
+ </action>
<action dev="VMA" type="add">
- Added automatic Ant script support for Orion 1.5
+ Added automatic Ant script support for Orion 1.5 [still failing for
+ <code>forward()</code> calls, don't know why].
</action>
<action dev="VMA" type="fix" due-to="Navjeet Chabbewal"
due-to-email="[EMAIL PROTECTED]">
The test result object that was placed in the