admin@glassfish.java.net

Re: Pathnames for V3

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 26 Mar 2009 11:03:07 -0700

Thanks.

Deep in coding right now, I need to make all this stuff work and test
out before I worry about exact characters.

Lloyd

On Mar 24, 2009, at 10:59 PM, Sreenivas Munnangi wrote:

> Lloyd Chambers wrote:
>> Pathnames proposal for V3, intended for use in URLs and admin CLI
>> is now a separate doc:
>>
>> https://glassfish.dev.java.net/nonav/v3/admin/planning/V3Changes/V3_Pathnames.html
> JSR311 which deals with REST spec. has similar mechanism for
> providing templatized values as below.
>
> Specifically section 3.4 on URI Templates, few examples below.
> https://jsr311.dev.java.net/nonav/releases/1.0/spec/index.html
>
> 1 @Path("widgets/{id}")
> 2 public class Widget {
> 3 ...
> 4 }
>
> In the above example the Widget resource class is identified by the
> relative URI path widgets/xxx where xxx is the value of the id
> parameter.
>
> some more from REST samples:
>
> /items/{itemid}
> /items/{itemid}/tracks/{num}
> /containers/{container}/{item}
>
>>
>>
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish Team
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team