How to get host name with port from a http or https request
Are HTTP and HTTPS default port numbers defined in the JDK?
Java how to find out if a URL is http or https? Replace Host in an HTTP request string Simple Java HTTPS server from http to https HTTPS and HTTP connection in java Choosing between Pure HTTPS or HTTP/ HTTPS for a web application make https post request Spring Controller on HTTPS and HTTP how to run tomcat in https and port 80? How to redirect from http to https..? how to do HTTPS post/get in java. How to manage HTTP request with Java HTTPS server? HTTPS web request in Java How can I know if the request to the servlet was executed using HTTP or HTTPS? Change http to https Why is Apache https server is not sending the Port# in the URL? phpCAS - Make calls to HTTP:// and not HTTPS:// How to check given domain name http or https in java? How to send Https Post request in java Java https server HTTPS through HTTP proxy Request methods on https-server HTTPS using HTTP POST Java/Android - https not working in apache http How to execute a https GET request from java How to make a https post in Java? Java-Spring: How to send http request to https urls? HTTP/HTTPS client, "connection reset" on HTTPS requests