- java.lang.Object
-
- org.redkale.net.Servlet<C,R,P>
-
- org.redkale.net.DispatcherServlet<Uint128,SncpContext,SncpRequest,SncpResponse,SncpServlet>
-
- org.redkale.net.sncp.SncpDispatcherServlet
-
public class SncpDispatcherServlet extends DispatcherServlet<Uint128,SncpContext,SncpRequest,SncpResponse,SncpServlet>
详情见: https://redkale.org- 作者:
- zhangjx
-
-
字段概要
-
从类继承的字段 org.redkale.net.DispatcherServlet
application, filtersLock, headFilter
-
从类继承的字段 org.redkale.net.Servlet
_nonBlocking
-
-
构造器概要
构造器 限定符 构造器 说明 protected
SncpDispatcherServlet()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
addServlet(SncpServlet servlet, Object attachment, AnyValue conf, Uint128... mappings)
void
destroy(SncpContext context, AnyValue config)
void
execute(SncpRequest request, SncpResponse response)
void
init(SncpContext context, AnyValue config)
SncpServlet
removeSncpServlet(Service service)
-
从类继承的方法 org.redkale.net.DispatcherServlet
addFilter, containsFilter, containsFilter, containsServlet, containsServlet, dispatch, doAfterRemove, forEachMappingKey, getExecuteCounter, getFilterConf, getFilters, getIllRequestCounter, getServletConf, getServlets, incrExecuteCounter, incrIllegalRequestCounter, mappingServlet, putMapping, putServlet, removeFilter, removeFilter, removeMapping, removeMapping, removeServlet, servletStream, setFilterConf, setServletConf
-
从类继承的方法 org.redkale.net.Servlet
isNonBlocking
-
-
-
-
方法详细资料
-
addServlet
public void addServlet(SncpServlet servlet, Object attachment, AnyValue conf, Uint128... mappings)
- 指定者:
addServlet
在类中DispatcherServlet<Uint128,SncpContext,SncpRequest,SncpResponse,SncpServlet>
-
removeSncpServlet
public SncpServlet removeSncpServlet(Service service)
-
init
public void init(SncpContext context, AnyValue config)
- 覆盖:
init
在类中DispatcherServlet<Uint128,SncpContext,SncpRequest,SncpResponse,SncpServlet>
-
destroy
public void destroy(SncpContext context, AnyValue config)
- 覆盖:
destroy
在类中DispatcherServlet<Uint128,SncpContext,SncpRequest,SncpResponse,SncpServlet>
-
execute
public void execute(SncpRequest request, SncpResponse response) throws IOException
- 指定者:
execute
在类中Servlet<SncpContext,SncpRequest,SncpResponse>
- 抛出:
IOException
-
-