- java.lang.Object
-
- org.redkale.service.AbstractService
-
- org.redkale.boot.watch.AbstractWatchService
-
- org.redkale.boot.watch.FilterWatchService
-
- 所有已实现的接口:
Service
,WatchService
@RestService(name="filter", catalog="watch", repair=false) public class FilterWatchService extends AbstractWatchService
- 作者:
- zhangjx
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Application
application
static int
RET_FILTER_EXISTS
static int
RET_FILTER_JAR_ILLEGAL
static int
RET_FILTER_TYPE_ILLEGAL
static int
RET_FILTER_TYPE_NOT_EXISTS
-
从类继承的字段 org.redkale.boot.watch.AbstractWatchService
RET_WATCH_PARAMS_ILLEGAL, RET_WATCH_RUN_EXCEPTION
-
-
构造器概要
构造器 构造器 说明 FilterWatchService()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 RetResult
addFilter(byte[] jar, String serverName, String filterType)
RetResult
test1()
RetResult
test2()
RetResult
test3()
RetResult
test4()
RetResult
test5()
RetResult
test6()
-
从类继承的方法 org.redkale.service.AbstractService
getExecutor, runAsync, serviceName, serviceType
-
-
-
-
字段详细资料
-
RET_FILTER_TYPE_NOT_EXISTS
@Comment("Filter\u7c7b\u540d\u4e0d\u5b58\u5728") public static final int RET_FILTER_TYPE_NOT_EXISTS
- 另请参阅:
- 常量字段值
-
RET_FILTER_TYPE_ILLEGAL
@Comment("Filter\u7c7b\u540d\u4e0d\u5408\u6cd5") public static final int RET_FILTER_TYPE_ILLEGAL
- 另请参阅:
- 常量字段值
-
RET_FILTER_EXISTS
@Comment("Filter\u7c7b\u540d\u5df2\u5b58\u5728") public static final int RET_FILTER_EXISTS
- 另请参阅:
- 常量字段值
-
RET_FILTER_JAR_ILLEGAL
@Comment("Filter\u7684JAR\u5305\u4e0d\u5b58\u5728") public static final int RET_FILTER_JAR_ILLEGAL
- 另请参阅:
- 常量字段值
-
application
protected Application application
-
-
方法详细资料
-
addFilter
@RestMapping(name="addFilter", auth=false, comment="\u52a8\u6001\u589e\u52a0Filter") public RetResult addFilter(@RestUploadFile(maxLength=10485760L,fileNameRegex="\\.jar$") byte[] jar, @RestParam(name="server",comment="Server\u8282\u70b9\u540d") String serverName, @RestParam(name="type",comment="Filter\u7c7b\u540d") String filterType) throws IOException
- 抛出:
IOException
-
test1
@RestMapping(name="test1", auth=false, comment="\u9884\u7559") public RetResult test1()
-
test2
@RestMapping(name="test2", auth=false, comment="\u9884\u7559") public RetResult test2()
-
test3
@RestMapping(name="test3", auth=false, comment="\u9884\u7559") public RetResult test3()
-
test4
@RestMapping(name="test4", auth=false, comment="\u9884\u7559") public RetResult test4()
-
test5
@RestMapping(name="test5", auth=false, comment="\u9884\u7559") public RetResult test5()
-
test6
@RestMapping(name="test6", auth=false, comment="\u9884\u7559") public RetResult test6()
-
-