You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
958 B
36 lines
958 B
package com.fr.plugin; |
|
|
|
import com.fr.decision.fun.HttpHandler; |
|
import com.fr.decision.fun.impl.AbstractHttpHandlerProvider; |
|
import com.fr.plugin.api.*; |
|
import com.fr.plugin.transform.ExecuteFunctionRecord; |
|
import com.fr.plugin.transform.FunctionRecorder; |
|
|
|
@FunctionRecorder |
|
/** |
|
* url处理器需要在这里注册 |
|
*/ |
|
public class WPSHandlerProvider extends AbstractHttpHandlerProvider { |
|
|
|
public WPSHandlerProvider() { |
|
WPSConfig.getInstance(); |
|
} |
|
|
|
@Override |
|
@ExecuteFunctionRecord |
|
public HttpHandler[] registerHandlers() { |
|
return new HttpHandler[]{ |
|
new DownloadApi(), |
|
new FileHistoryApi(), |
|
new FileInfoApi(), |
|
new EditorApi(), |
|
new FileRenameApi(), |
|
new FileSaveApi(), |
|
new FileVersionApi(), |
|
new NotifyApi(), |
|
new OnlineApi(), |
|
new UserInfoApi(), |
|
}; |
|
} |
|
|
|
}
|
|
|