public class SncpPrepareServlet extends PrepareServlet<DLong,SncpContext,SncpRequest,SncpResponse,SncpServlet>
详情见: http://redkale.org
executeCounter, illRequestCounter, mappings, servlets| 构造器和说明 |
|---|
SncpPrepareServlet() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addServlet(SncpServlet servlet,
AnyValue conf) |
void |
addServlet(SncpServlet servlet,
java.lang.Object attachment,
AnyValue conf,
DLong... mappings) |
void |
destroy(SncpContext context,
AnyValue config) |
void |
execute(SncpRequest request,
SncpResponse response) |
java.util.List<SncpServlet> |
getSncpServlets() |
void |
init(SncpContext context,
AnyValue config) |
getServletConf, getServlets, prepare, setServletConfpublic void addServlet(SncpServlet servlet, java.lang.Object attachment, AnyValue conf, DLong... mappings)
public void addServlet(SncpServlet servlet, AnyValue conf)
public java.util.List<SncpServlet> getSncpServlets()
public void init(SncpContext context, AnyValue config)
init 在类中 Servlet<SncpContext,SncpRequest,SncpResponse>public void destroy(SncpContext context, AnyValue config)
destroy 在类中 Servlet<SncpContext,SncpRequest,SncpResponse>public void execute(SncpRequest request, SncpResponse response) throws java.io.IOException
execute 在类中 Servlet<SncpContext,SncpRequest,SncpResponse>java.io.IOException