Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:26 Go to next message
Sandeep D is currently offline Sandeep DFriend
Messages: 2
Registered: February 2021
Junior Member
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 22:17 Go to previous message
Sandeep D is currently offline Sandeep DFriend
Messages: 2
Registered: February 2021
Junior Member
No reply? No one knows?
Previous Topic:Object instantiation problem
Next Topic:Message Body Writer for Moxy List
Goto Forum:
  


Current Time: Wed May 25 13:21:07 GMT 2022

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

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

Back to the top