Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.1, 0.2, 0.3
-
None
-
Any
Description
Thrift comes with a THttpClient used to consume Thrift services over an HTTP transport.
Thrift however does not come with a Thrift specific servlet to serve those services.
Tom White's servlet (http://www.lexemetech.com/2007/09/java-servlet-for-thrift.html, http://www.google.com/codesearch/p?hl=en&sa=N&cd=1&ct=rc#vusEaWnOsAk/thrift/TServlet.java&q=TServlet) is probably in wide use but it would be great to have a standard Thrift servlet everyone can build upon.
I've adapted Tom's Servlet to allow for Processor/Protocol parameterization.
I've not cleared the licensing issues though, as Tom's original work has no license associated with it.