detect Host and Port from HttpServletRequest
--------------------------------------------

                 Key: SHINDIG-1534
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1534
             Project: Shindig
          Issue Type: Improvement
          Components: Java
    Affects Versions: 3.0.0
            Reporter: li xu
             Fix For: 3.0.0


Shindig.host and shindig.port currently can be configured in web.xml or system 
properties.
It's not convenient to update web.xml everytime for a new deployment.
It will also be problematic within reverse proxy environment. 

This approach will detect value from HttpServletRequest and save it to a 
ThreadLocal variable. No configuration is required anymore.

Many thanks to Mark Nesbitt for the original idea. 


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to