public HttpServerExchange addResponseWrapper(final ConduitWrapper<StreamSinkConduit> wrapper) {
        ConduitWrapper<StreamSinkConduit>[] wrappers = responseWrappers;
        if (responseChannel != null) {
            throw UndertowMessages.MESSAGES.responseChannelAlreadyProvided();
        }
        if(wrappers == null) {
            this.responseWrappers = wrappers = new ConduitWrapper[2];
        } else if (wrappers.length == responseWrapperCount) {
            responseWrappers = new ConduitWrapper[wrappers.length + 2];
            System.arraycopy(wrappers, 0, responseWrappers, 0, wrappers.length);
            wrappers = responseWrappers;
        }
        wrappers[responseWrapperCount++] = wrapper;
        return this;
    }
public HttpServerExchange addResponseWrapper ( final ConduitWrapper < StreamSinkConduit > wrapper ) { ConduitWrapper < StreamSinkConduit > [ ] wrappers = responseWrappers ; if ( responseChannel != null ) { throw UndertowMessages . MESSAGES . responseChannelAlreadyProvided ( ) ; } if ( wrappers == null ) { this . responseWrappers = wrappers = new ConduitWrapper [ 2 ] ; } else if ( wrappers . length == responseWrapperCount ) { responseWrappers = new ConduitWrapper [ wrappers . length + 2 ] ; System . arraycopy ( wrappers , 0 , responseWrappers , 0 , wrappers . length ) ; wrappers = responseWrappers ; } wrappers [ responseWrapperCount ++ ] = wrapper ; return this ; }
Adds a {@link ConduitWrapper} to the response wrapper chain.

@param wrapper the wrapper