On Tue, 28 Oct 2014 17:30:22 -0200, George Christman <gchrist...@cardaddy.com> wrote:

nvm I got it, thanks guys. Also, is looking at the port the efficient way
of doing this?
        if (port == 8080) {

Instead of hardwiring the port number, you should check the SymbolConstants.HOSTPORT_SECURE or HOSTPORT symbol values. Other than that, I cannot suggest anything else. :) Secure and non-secure HTTP must use different ports, so I think this is the way to go.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to