We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,我想确认一个问题:我想下面加一个自己的resftful接口,例如:/@in/api/abc。 我目前的做法是新写一个类ABCHandler实现接口ViFunctionHandler,然后在VIApiHandler的构造方法里面添加注册:
ABCHandler
ViFunctionHandler
VIApiHandler
public VIApiHandler(){ ... this.register(new CodeHandler()); this.register(new ABCHandler()); // <-我添加的服务接口实现 }
测试下来可以工作。请确认一下这种做法是不是合理?谢谢!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你好,我想确认一个问题:我想下面加一个自己的resftful接口,例如:/@in/api/abc。
我目前的做法是新写一个类
ABCHandler
实现接口ViFunctionHandler
,然后在VIApiHandler
的构造方法里面添加注册:测试下来可以工作。请确认一下这种做法是不是合理?谢谢!
The text was updated successfully, but these errors were encountered: