We have connectors in server.xml in tomcat like this:
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000"
redirectPort="8443" maxConnections="500" maxThreads="150"/>
As far from my concern, I guess these connectors are loaded as objects when the tomcat is started.
So can we get the attributes like port
, maxConnections
, connectionTimeout
in my java web application which is running in that tomcat as Objects using any library ?
It would be nice if I get some spark here.