protected TServlet createTServlet(TProtocolFactory protocolFactory) {
    return new ThriftHttpServlet(processor, protocolFactory, serviceUGI, httpUGI,
      hbaseServiceHandler, securityEnabled, doAsEnabled);
  }
Create a Servlet for the http server
@param protocolFactory protocolFactory
@return the servlet
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java