Skip to main content



      Home
Home » Eclipse Projects » Eclipse Jersey » IPv6 support(Does jersey library support IPv6 addresses in the URL?)
IPv6 support [message #1837728] Thu, 04 February 2021 14:26 Go to next message
Eclipse UserFriend
Hi,
We are using Jersey library to communicate using RESTful APIs. We use resolveTemplate API to resolve the URL template with actual IP address. Something like this: private static final String API_URL_TMPL = "https://{nodeIp}:9000/api/v2/abc/"; private static final String VAR_NODE_IP = "nodeIp";

new JerseyWebTarget(API_URL_TMPL, jerseyClient).resolveTemplate(VAR_NODE_IP, nodeIp);

jerseyClient is created previously. nodeIp value being passed is [6001::f816:3eff:fe87:c1a8]

We are hitting this issue: javax.ws.rs.ProcessingException: java.net.UnknownHostException: %5B6001%3A%3Af816%3A3eff%3Afe87%3Ac1a8%5D

Does jersey even support IPv6 ? How to overcome this?

Thanks !
Re: IPv6 support [message #1838303 is a reply to message #1837728] Sun, 21 February 2021 17:17 Go to previous message
Eclipse UserFriend
No reply? No one knows?
Previous Topic:Object instantiation problem
Next Topic:Message Body Writer for Moxy List
Goto Forum:
  


Current Time: Sat Jul 12 22:22:02 EDT 2025

Powered by FUDForum. Page generated in 0.05681 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top