@InterfaceAudience.Private
public class ThriftHttpServlet
extends org.apache.thrift.server.TServlet
| Constructor and Description |
|---|
ThriftHttpServlet(org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.hadoop.security.UserGroupInformation serviceUGI,
org.apache.hadoop.conf.Configuration conf,
ThriftServerRunner.HBaseHandler hbaseHandler,
boolean securityEnabled,
boolean doAsEnabled) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
addCustomHeader, doGet, setCustomHeadersdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String NEGOTIATE
public ThriftHttpServlet(org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.hadoop.security.UserGroupInformation serviceUGI,
org.apache.hadoop.conf.Configuration conf,
ThriftServerRunner.HBaseHandler hbaseHandler,
boolean securityEnabled,
boolean doAsEnabled)
throws IOException
IOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class org.apache.thrift.server.TServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.