Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-814

Include a TServlet in the standard Thrift distribution

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1, 0.2, 0.3
    • Fix Version/s: 0.4
    • Component/s: Java - Library
    • Labels:
      None
    • Environment:

      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.

        Attachments

        1. TServlet.java
          4 kB
          Mathias Herberts
        2. TServlet.java-v2
          3 kB
          Mathias Herberts

          Activity

            People

            • Assignee:
              herberts Mathias Herberts
              Reporter:
              herberts Mathias Herberts
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: