dubbo-rpc-extensions/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/extension/resteasy/intercept/ResteasyWriterInterceptorAdapter.java [110:131]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private AbstractWriterInterceptorContext getAbstractWriterInterceptorContext(
            HttpRequest request,
            List<WriterInterceptor> extension,
            Object entity,
            Class type,
            Type genericType,
            MediaType mediaType,
            ByteArrayOutputStream os,
            MultivaluedMap<String, Object> headers) {
        AbstractWriterInterceptorContext writerContext = new DubboServerWriterInterceptorContext(
                extension.toArray(new WriterInterceptor[0]),
                resteasyProviderFactory,
                entity,
                type,
                genericType,
                new Annotation[0],
                mediaType,
                headers,
                os,
                request);
        return writerContext;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



dubbo-rpc-extensions/dubbo-rpc-rest/src/main/java/org/apache/dubbo/rpc/protocol/rest/resteasy/intercept/ResteasyWriterInterceptorAdapter.java [111:132]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private AbstractWriterInterceptorContext getAbstractWriterInterceptorContext(
            HttpRequest request,
            List<WriterInterceptor> extension,
            Object entity,
            Class type,
            Type genericType,
            MediaType mediaType,
            ByteArrayOutputStream os,
            MultivaluedMap<String, Object> headers) {
        AbstractWriterInterceptorContext writerContext = new DubboServerWriterInterceptorContext(
                extension.toArray(new WriterInterceptor[0]),
                resteasyProviderFactory,
                entity,
                type,
                genericType,
                new Annotation[0],
                mediaType,
                headers,
                os,
                request);
        return writerContext;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



