[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsrp-interfaces] Rewritable resource URIs
Thanks for your feedback. I think I can add clarifications without
effecting the current vote (Rich please advise). However, if you feel
there are missing or wrong requirements please vote "No" and add an
appropriate comment. See additional comments inline. Richard Jacob wrote: OFD4D85700.761067BE-ONC1257506.006157DD-C1257506.00624245@de.ibm.com" type="cite">The WSRP spec requires a full URI to be the value of wsrp-url. Thus the JSR container is responsible for converting a fullpath URI to an absolute URI. However, with this spec we rely on the producer to determine which portions of the path are rewritable (scheme, server, and port MUST be immutable). This is because only the producer knows which portions of the path may require rewriting. Example: /webapp/images/gifs/foo.gif The producer can decide which portions should be rewritable:
OFD4D85700.761067BE-ONC1257506.006157DD-C1257506.00624245@de.ibm.com" type="cite">It is explicitly specified that the resourceID may be split between the two. Would you like further clarification, to be added. OFD4D85700.761067BE-ONC1257506.006157DD-C1257506.00624245@de.ibm.com" type="cite">And expect portlets to receive a modified resourceID.Yes, portlets which use this type of URL should expect modified resourceIDs. OFD4D85700.761067BE-ONC1257506.006157DD-C1257506.00624245@de.ibm.com" type="cite">Don't we need to clarify on resourceIDs here? OFD4D85700.761067BE-ONC1257506.006157DD-C1257506.00624245@de.ibm.com" type="cite">The current specs JSR and WSRP remain silent on that. This means that any character can be part of the resourceID.See #4 OFD4D85700.761067BE-ONC1257506.006157DD-C1257506.00624245@de.ibm.com" type="cite">So I think supporting get/serveResource() needs a more detailed revisit. More than the initial proposal for out-of-band resource URL. OFD4D85700.761067BE-ONC1257506.006157DD-C1257506.00624245@de.ibm.com" type="cite">3. We seem to introduce a new flag isOperation in the URL format.This was done intentionally, as it no longer a preference but an absolute declaration by the producer. OFD4D85700.761067BE-ONC1257506.006157DD-C1257506.00624245@de.ibm.com" type="cite">4. What about international domain names, how would they be encoded in the path? Especially if they are considered immutable? Are those charcters safe? The immutable portion of the URL should be double-encoded for non US-ASCII characters, the mutable portion would be singly encoded. I can add a note to this effect. Nate |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]