users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Re: Link not possible to build ?

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Wed, 13 Feb 2013 19:02:16 +0100

On Feb 13, 2013, at 6:58 PM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:

> On 13/02/13 17:52, Sergey Beryozkin wrote:
>> Hi
>>
>> May be I'm missing something but now that Link.Builder has to be
>> implemented by the implementations, and we only have Link() and Link.map
>> is not accessible, it means it is not possible to build Link ?
>>
> should we have
>
> Link(URI)
> Link(URI, Map<String, String>)
>
> constructors instead of Link() ?

There is no constructor other than default one. You can choose to provide any constructor you want in your impl.

Marek

>
> Thanks, Sergey