com.alibaba.dubbo.remoting.http.servlet
Class DispatcherServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.alibaba.dubbo.remoting.http.servlet.DispatcherServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DispatcherServlet
extends javax.servlet.http.HttpServlet

Service dispatcher Servlet.

Author:
qian.lei
See Also:
Serialized Form

Constructor Summary
DispatcherServlet()
           
 
Method Summary
static void addHttpHandler(int port, HttpHandler processor)
           
static DispatcherServlet getInstance()
           
static void removeHttpHandler(int port)
           
 
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

DispatcherServlet

public DispatcherServlet()
Method Detail

addHttpHandler

public static void addHttpHandler(int port,
                                  HttpHandler processor)

removeHttpHandler

public static void removeHttpHandler(int port)

getInstance

public static DispatcherServlet getInstance()


Copyright © 2012–2017 Alibaba. All rights reserved.