org.apache.blur.thirdparty.thrift_0_9_0.server
Class TServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.blur.thirdparty.thrift_0_9_0.server.TServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class TServlet
extends javax.servlet.http.HttpServlet

Servlet implementation class ThriftServer

See Also:
Serialized Form

Constructor Summary
TServlet(TProcessor processor, TProtocolFactory protocolFactory)
           
TServlet(TProcessor processor, TProtocolFactory inProtocolFactory, TProtocolFactory outProtocolFactory)
           
 
Method Summary
 void addCustomHeader(String key, String value)
           
 void setCustomHeaders(Collection<Map.Entry<String,String>> headers)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TServlet

public TServlet(TProcessor processor,
                TProtocolFactory inProtocolFactory,
                TProtocolFactory outProtocolFactory)
See Also:
HttpServlet.HttpServlet()

TServlet

public TServlet(TProcessor processor,
                TProtocolFactory protocolFactory)
See Also:
HttpServlet.HttpServlet()
Method Detail

addCustomHeader

public void addCustomHeader(String key,
                            String value)

setCustomHeaders

public void setCustomHeaders(Collection<Map.Entry<String,String>> headers)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.