- java.lang.Object
-
- org.redkale.net.Servlet<SncpContext,SncpRequest,SncpResponse>
-
- org.redkale.net.sncp.SncpServlet
-
- 所有已实现的接口:
Comparable<SncpServlet>
- 直接已知子类:
SncpServlet.SncpActionServlet
public class SncpServlet extends Servlet<SncpContext,SncpRequest,SncpResponse> implements Comparable<SncpServlet>
详情见: https://redkale.org- 作者:
- zhangjx
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
SncpServlet.SncpActionServlet
-
字段概要
字段 修饰符和类型 字段 说明 protected String
resourceName
protected Class
resourceType
protected Service
service
protected Uint128
serviceid
-
从类继承的字段 org.redkale.net.Servlet
_nonBlocking
-
-
构造器概要
构造器 限定符 构造器 说明 protected
SncpServlet(String resourceName, Class resourceType, Service service)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
compareTo(SncpServlet other)
boolean
equals(Object obj)
void
execute(SncpRequest request, SncpResponse response)
int
getActionSize()
protected ExecutorService
getExecutor()
String
getResourceName()
Class
getResourceType()
Service
getService()
Uint128
getServiceid()
int
hashCode()
String
toString()
-
从类继承的方法 org.redkale.net.Servlet
destroy, init, isNonBlocking
-
-
-
-
方法详细资料
-
execute
public void execute(SncpRequest request, SncpResponse response) throws IOException
- 指定者:
execute
在类中Servlet<SncpContext,SncpRequest,SncpResponse>
- 抛出:
IOException
-
getService
public Service getService()
-
getResourceName
public String getResourceName()
-
getResourceType
public Class getResourceType()
-
getServiceid
public Uint128 getServiceid()
-
getActionSize
public int getActionSize()
-
compareTo
public int compareTo(SncpServlet other)
- 指定者:
compareTo
在接口中Comparable<SncpServlet>
-
getExecutor
protected ExecutorService getExecutor()
-
-