JAVA Health Check listener

I have a Java Servlet/JSP that is accessed thru HTTPS and runs in docker container. I have added health check that points to JSP which needs to be accessed thru HTTP. My Java experience is limited. I believe I need a listener? If there is a short answer gr8. If not point me to a topic I Should be researching