users@jsr311.java.net

Variants

From: Sergey Beryozkin <sergey.beryozkin_at_iona.com>
Date: Mon, 10 Mar 2008 16:26:42 -0000

Hi

I'd like to ask a question about variants.

Specifically, ResponseBuilder has this method :

variants(List<Variant> variants);

Can someone please explain how a response will look like on the wire as a result ?

I've seen that 406 code is used and that Vary header is added, but it's not clear how this Vary header should
look like in the presense of multiple Variants. Perhaps this question is off-topic as it's more a HTTP specific question...

Thanks, Sergey


 

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland