public class ThriftHttpServlet
extends org.apache.thrift.server.TServlet
Modifier and Type | Field and Description |
---|---|
static String |
AUTH_COOKIE |
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ThriftHttpServlet(org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
String authType,
org.apache.hadoop.security.UserGroupInformation serviceUGI,
org.apache.hadoop.security.UserGroupInformation httpUGI,
HiveAuthFactory hiveAuthFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
addCustomHeader, doGet, setCustomHeaders
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final org.slf4j.Logger LOG
public static final String AUTH_COOKIE
public ThriftHttpServlet(org.apache.thrift.TProcessor processor, org.apache.thrift.protocol.TProtocolFactory protocolFactory, String authType, org.apache.hadoop.security.UserGroupInformation serviceUGI, org.apache.hadoop.security.UserGroupInformation httpUGI, HiveAuthFactory hiveAuthFactory)
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class org.apache.thrift.server.TServlet
javax.servlet.ServletException
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.