8
Vedo in Play! 2.0 c'è Http.Context.current() http://www.playframework.org/documentation/api/2.0/java/play/mvc/Http.Context.html#current()Come ottenere l'indirizzo IP della richiesta in ingresso in Java Play 1.2.4
Ma in Play! 1.2.4 come fare per ottenere l'indirizzo IP della richiesta HTTP corrente?
Grazie.
Questo è corretto, ma se si utilizza Apache come server front-end che si desidera guardare request.headers.get ("x-forwarded-for") – nylund