2 May 2006 14:11
Restlet 1.0 beta 10 released
Jerome Louvel <contact <at> noelios.com>
2006-05-02 12:11:07 GMT
2006-05-02 12:11:07 GMT
Main changes:
- Fully refactored the org.restlet.data package to reduce usage of interfaces and remove the need to use the Manager static methods whose implementation would not significantly vary from one implementation to another. When interfaces were needed, like for enumerations, the implementation class is provided with the Default* name.
- Renamed RestletCall interface into Call and added a DefaultCall class. Also renamed RestletCallWrapper to WrapperCall.
- Renamed Call.getRestlet*() methods to getContext*() and Call.setHandlerPath() to setContextPath().
- Added a HostMaplet to provide an easy and flexible way to detect the URI related to a single host such as equivalent IP-based URIs. All aspects are configurable and there is choice between two attachment modes (parent Chainlet or Maplet). Suggested by Dave Pawson and John D. Mitchell.
- The RestletContainer now also implements the Chainlet interface, in addition to the Maplet interface. If you use both attachment mechanisms at the same time, the Chainlet will have a higher priority. This is a convenient way to chain a Restlet as a root handler with having to specify a URI pattern (ex: logging, HostMaplet attachment).
- Added support for SMTP STARTTLS and SMTPS protocols.
- Added support for authentication in JavaMail connector. Provide login and password using the Call.getSecurity().setLogin() and setPassword() methods.
- Fixed issues with the HTTP client connector (not sending some content metadata and not correctly reporting IO errors). This uses the new statuses:CONNECTOR_ERROR_CONNECTION, CONNECTOR_ERROR_COMMUNICATION and CONNECTOR_ERROR_INTERNAL. Reported by Dave Pawson.
- Added "timeout" property to the Client connector interface. Default and infinite timeouts can be specified. Suggested by Dave Pawson.
Project home:
http://www.restlet.org
Direct download link:
http://www.restlet.org/downloads/restlet-1.0b10.zip
For a complete list of changes, see:
http://www.restlet.org/docs/changes
RSS Feed