Hi all,
We are going to move forward with an important Restlet API refactoring for 3.0
M1 (planned for end of this month) discussed in this thread.
The goal is to introduce proper Java enumerations in order to replace the
String constants used all over the framework.
This is a long-time
://www.noelios.com
De : tpeie...@gmail.com [mailto:tpeie...@gmail.com] De la part de Tim
Peierls
Envoyé : jeudi 12 novembre 2009 16:18
À : discuss@restlet.tigris.org
Objet : Re: Default routing mode change
On Wed, Nov 11, 2009 at 11:40 AM, Ben R Vesco bve...@gmail.com wrote:
Regarding
On Wed, Nov 11, 2009 at 11:40 AM, Ben R Vesco bve...@gmail.com wrote:
Regarding the enums, we did consider them in several places but they
prevent
addition of new constants by the framework or by the developer,
especially
without breaking existing code.
Framework users wouldn't be able
Noelios Technologies ~ Co-founder ~ http://www.noelios.com
-Message d'origine-
De : Arjohn Kampman [mailto:arjohn.kamp...@aduna-software.com]
Envoyé : mercredi 4 novembre 2009 15:13
À : discuss@restlet.tigris.org
Objet : Re: Default routing mode change
Jerome Louvel wrote:
Hi Arjohn
Jerome Louvel wrote:
Hi Arjohn,
Good suggestion regarding the constants naming. I've just renamed routing
mode constants of Router to follow the MODE_*_MATCH pattern such as
MODE_BEST_MATCH instead of BEST. Deprecated older values.
OK, thanks.
Regarding the enums, we did consider them in
Jerome Louvel wrote:
Arjohn,
Thanks for the feed-back. Regarding the URI template syntax, it is tempting
to extend it, but there is already work being done to define an URI
Templates specification:
http://code.google.com/p/uri-templates/
It seems far from stable yet and focused on the
Regarding the enums, we did consider them in several places but they prevent
addition of new constants by the framework or by the developer, especially
without breaking existing code. They also produce extra artifacts in the
Javadocs cluttering them.
Regarding enums and extensibility, this
Hi Arjohn,
Thanks for the positive feedback on Restlet 2.0!
The change on the Router was introduced to have a more predictable default
setting. Currently, only the beginning of an URI has to match in order to
follow the route (typically a ServerResource subclass). For example:
Jerome Louvel wrote:
Hi Arjohn,
Thanks for the positive feedback on Restlet 2.0!
The change on the Router was introduced to have a more predictable default
setting. Currently, only the beginning of an URI has to match in order to
follow the route (typically a ServerResource subclass). For
9 matches
Mail list logo