[Ndn-interest] interest_prefix

Giuseppe Carella gcarella228 at gmail.com
Fri Dec 15 02:28:36 PST 2017


Good morning community,

I have a problem every time I extract a prefix from the interest object.
This is what I get: "app1/ping/ndn%3A%2F%2Flocalhost%3A8000%2FMyFile.txt"
What I would like to get is "app1/ping/MyFile.txt".
For the extraction of the prefix I am using the method
"interest.getName().toUri()".
I know that the method "toUri()" is not completely defined; therefore is
there an alternative way to get the right prefix?

Thank you.
Giuseppe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20171215/a068b76c/attachment.html>


More information about the Ndn-interest mailing list