thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenneth Aastrøm <kenneth.aast...@gmail.com>
Subject Client IP address / request headers from service implementation
Date Fri, 03 Dec 2010 15:06:02 GMT
I'm extending the (0.5.0) TServlet in my own servlet which basically
looks like this:

public class ClientApiServiceTServlet extends TServlet {
   public ClientApiServiceTServlet() {
     super(new ClientApiService.Processor(new
ClientApiServiceImplementation()), new TBinaryProtocol.Factory());
   }
}

This works very well, but ...

Is there any good clean way of getting the clients ip address and the
request headers from within my service implementation
(ClientApiServiceImplementation) ?

wbr
Kenneth Aastrom

Mime
View raw message