org.apache.hive.service.cli.thrift
Class ThriftHttpServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.thrift.server.TServlet
org.apache.hive.service.cli.thrift.ThriftHttpServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class ThriftHttpServlet
- extends org.apache.thrift.server.TServlet
- See Also:
- Serialized Form
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Constructor Summary |
ThriftHttpServlet(org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory)
|
Method Summary |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
logRequestHeader(javax.servlet.http.HttpServletRequest request)
|
Methods inherited from class org.apache.thrift.server.TServlet |
addCustomHeader, doGet, setCustomHeaders |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
ThriftHttpServlet
public ThriftHttpServlet(org.apache.thrift.TProcessor processor,
org.apache.thrift.protocol.TProtocolFactory protocolFactory)
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost
in class org.apache.thrift.server.TServlet
- Throws:
javax.servlet.ServletException
IOException
logRequestHeader
protected void logRequestHeader(javax.servlet.http.HttpServletRequest request)
Copyright © 2012 The Apache Software Foundation