I posted a question on the ee-spec mailing list about some servlet specific stuff and Antonio Goncalves suggested me to directly write that question to this mailing list. Related to the following dialoge(http://java.net/projects/javaee-spec/lists/users/archive/2012-08/message/20), I will summarize my questions/proposals.
My main question was about whether there is a way to retrieve the https port of the EE6/Servlet Container in a standard way? If not maybe a method to convert an URL in a standard way to use https?
Seems like there is no standard way for doing this kind of task. My use case would be, to allow users to choose if they want to use https or not. I could do that with container specific configuration at deployment time too, but that would be error-prone. Antonio Goncalves also asked for a Servlet/Web-Container API which I also would like to ask for, at least I would request an API to be able to access some information of the underlying network and management specific stuff.
I have some more things on my wishlist which I would like you to take a look at.
What do you think about that?
Mit freundlichen Grüßen,
[servlet-spec users] Suggestions for the spec
|Shing Wai Chan||08/31/2012|