dubbo-rpc-extensions/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/extension/resteasy/intercept/ResteasyStatusCodeInterceptor.java [37:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void intercept(RestInterceptContext restResponseInterceptor) throws Exception {
        Object result = restResponseInterceptor.getResult();

        if (result == null || (!(result instanceof AbstractBuiltResponse))) {
            return;
        }

        AbstractBuiltResponse abstractBuiltResponse = (AbstractBuiltResponse) result;

        restResponseInterceptor.getResponse().setStatus(abstractBuiltResponse.getStatus());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



dubbo-rpc-extensions/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/resteasy/intercept/ResteasyStatusCodeInterceptor.java [37:47]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public void intercept(RestInterceptContext restResponseInterceptor) throws Exception {
        Object result = restResponseInterceptor.getResult();

        if (result == null || (!(result instanceof AbstractBuiltResponse))) {
            return;
        }

        AbstractBuiltResponse abstractBuiltResponse = (AbstractBuiltResponse) result;

        restResponseInterceptor.getResponse().setStatus(abstractBuiltResponse.getStatus());
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



