richie
5 years ago
5 changed files with 17 additions and 12 deletions
Binary file not shown.
@ -1,15 +1,15 @@ |
|||||||
package com.fr.conf.db.demo; |
package com.fr.conf.db.demo; |
||||||
|
|
||||||
|
import com.fanruan.api.net.URLAliasKit; |
||||||
import com.fr.decision.fun.impl.AbstractURLAliasProvider; |
import com.fr.decision.fun.impl.AbstractURLAliasProvider; |
||||||
import com.fr.decision.webservice.url.alias.URLAlias; |
import com.fr.decision.webservice.url.alias.URLAlias; |
||||||
import com.fr.decision.webservice.url.alias.URLAliasFactory; |
|
||||||
|
|
||||||
public class InputUrlAliasBridge extends AbstractURLAliasProvider { |
public class InputUrlAliasBridge extends AbstractURLAliasProvider { |
||||||
@Override |
@Override |
||||||
public URLAlias[] registerAlias() { |
public URLAlias[] registerAlias() { |
||||||
return new URLAlias[]{ |
return new URLAlias[]{ |
||||||
URLAliasFactory.createPluginAlias("/db/input", "/db/input", false), |
URLAliasKit.createPluginAlias("/db/input", "/db/input", false), |
||||||
URLAliasFactory.createPluginAlias("/db/output", "/db/output", false) |
URLAliasKit.createPluginAlias("/db/output", "/db/output", false) |
||||||
}; |
}; |
||||||
} |
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue