Skip to content

Commit

Permalink
Fix sofa rest to extends. (sofastack#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
leizhiyuan authored Feb 20, 2019
1 parent 89caff4 commit 83833b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void init(ServerConfig serverConfig) {
httpServer = buildServer();
}

private SofaNettyJaxrsServer buildServer() {
protected SofaNettyJaxrsServer buildServer() {
// 生成Server对象
SofaNettyJaxrsServer httpServer = new SofaNettyJaxrsServer(serverConfig);

Expand All @@ -99,7 +99,7 @@ private SofaNettyJaxrsServer buildServer() {
return httpServer;
}

private void registerProvider(ResteasyProviderFactory providerFactory) {
protected void registerProvider(ResteasyProviderFactory providerFactory) {
// 注册内置
Set<Class> internalProviderClasses = JAXRSProviderManager.getInternalProviderClasses();
if (CommonUtils.isNotEmpty(internalProviderClasses)) {
Expand Down

0 comments on commit 83833b6

Please sign in to comment.