Thank you so much for a quick response.
There is, however, one thing that is still a mystery to me. In the new code:
URL serverUrl = new URL(requestUrl);
| StringBuilder sb = new StringBuilder();
| sb.append(scheme);
| sb.append("://");
| sb.append(serverUrl.getHost());
| if (serverUrl.getPort() != -1)
| {
| sb.append(":");
| sb.append(serverUrl.getPort());
| }
|
When you are switching from http to https, and you are using ports say
8080,8483, would not the serverUrl.getPort() in the above code return 8080
while what you want is 8483?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026240#4026240
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026240
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user