@RestService(name="filter", catalog="watch", repair=false) public class FilterWatchService extends AbstractWatchService
限定符和类型 | 字段和说明 |
---|---|
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 |
RET_WATCH_PARAMS_ILLEGAL, RET_WATCH_RUN_EXCEPTION
构造器和说明 |
---|
FilterWatchService() |
限定符和类型 | 方法和说明 |
---|---|
RetResult |
addFilter(byte[] jar,
java.lang.String serverName,
java.lang.String filterType) |
RetResult |
test1() |
RetResult |
test2() |
RetResult |
test3() |
RetResult |
test4() |
RetResult |
test5() |
RetResult |
test6() |
getExecutor, runAsync
@Comment(value="Filter\u7c7b\u540d\u4e0d\u5b58\u5728") public static final int RET_FILTER_TYPE_NOT_EXISTS
@Comment(value="Filter\u7c7b\u540d\u4e0d\u5408\u6cd5") public static final int RET_FILTER_TYPE_ILLEGAL
@Comment(value="Filter\u7c7b\u540d\u5df2\u5b58\u5728") public static final int RET_FILTER_EXISTS
@Comment(value="Filter\u7684JAR\u5305\u4e0d\u5b58\u5728") public static final int RET_FILTER_JAR_ILLEGAL
protected Application application
@RestMapping(name="addfilter", auth=false, comment="\u52a8\u6001\u589e\u52a0Filter") public RetResult addFilter(@RestUploadFile(maxLength=10485760L,fileNameReg="\\.jar$") byte[] jar, @RestParam(name="server",comment="Server\u8282\u70b9\u540d") java.lang.String serverName, @RestParam(name="type",comment="Filter\u7c7b\u540d") java.lang.String filterType) throws java.io.IOException
java.io.IOException
@RestMapping(name="test1", auth=false, comment="\u9884\u7559") public RetResult test1()
@RestMapping(name="test2", auth=false, comment="\u9884\u7559") public RetResult test2()
@RestMapping(name="test3", auth=false, comment="\u9884\u7559") public RetResult test3()
@RestMapping(name="test4", auth=false, comment="\u9884\u7559") public RetResult test4()
@RestMapping(name="test5", auth=false, comment="\u9884\u7559") public RetResult test5()
@RestMapping(name="test6", auth=false, comment="\u9884\u7559") public RetResult test6()