package com.l7tech.external.assertions.gatewaymanagement.server.rest.resource.impl;

import com.l7tech.util.IOUtils;
import jakarta.ws.rs.core.StreamingOutput;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.OutputStream;

class q implements StreamingOutput {
   final String val$responseDocument;

   q(WadlResource var1, String var2) {
      this.val$responseDocument = var2;
   }

   public void write(OutputStream var1) throws IOException {
      IOUtils.copyStream(new ByteArrayInputStream(this.val$responseDocument.getBytes()), var1);
   }
}
