Hi all,

There is a first snapshot of RC3 at:
http://www.restlet.org/downloads/current.zip

It contains the following changes:

[Bugs fixed]
 - Fixed bug with the uri parsing in the DirectoryResource class. The query
part of the resource uri is removed before sending request to the file
connector.
 - The content negotiation was throwing class cast exceptions when a
resource was 
   returning simple Variant instance via getVariants().
 - Fixed potential NPE in HttpRequest due to autoboxing. Reported by Valdis
Rigdon.
 
[API changes]
 - Added ReferenceList.getWebRepresentation() method, using exsiting logic
from Directory.
 - Deprecated Directory.getDirectoryVariants() method and added
getIndexVariants() + 
   getIndexRepresentation() method to follow recent refactoring in Resource.
 - ClientInfo.port and ServerInfo.port are now 'int' instead of 'Integer' to
prevent autoboxing issues.
 - Added getStatus(Method, Variant) and hasSome() methods to Conditions.
Logic moved from private Handler methods.
 - Added constructors to Response to match those from Result.
 - Deprecated Result class and made it extend Response to smoothen
transition to Response.
 - Added copyFrom(Response) method to the Response class.

[Enhancements] 
 - The content negotiation algorithm is now more flexible about languages.
It will try
   to satisfy the client languages preferences, but will always return a
representation
   if the media type is accepted, even if the language is not explicitely
accepted. 
 - Upgraded Jetty to 6.1.1 RC0.
 - Added a dual licensing for GPL (with a Classpath exception) in addition
to CDDL.
 - The ServerServlet now allows easier customization of the creation of
Application
   instances. Based on a patch from Valdis Rigdon.


Best regards,
Jerome

Reply via email to