Getting error
javax.ws.rs.ProcessingException: java.net.ProtocolException: Server redirected too many times (5)
while executing
javax.ws.rs.core.Response response = client.target("https://someurl")
.request().get(javax.ws.rs.core.Response.class);
It seems that the exception was received after 5 redirection attempts.
Is there some way to configure the number of redirects allowed in Jersey client?
API 协议异常,用于指示响应何时不符合规范
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.