Remove mandatory dependency on Reactor Stream with JarJar
This commit is contained in:
@@ -24,7 +24,6 @@ import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import reactor.Mono;
|
||||
import reactor.io.buffer.Buffer;
|
||||
import reactor.rx.Streams;
|
||||
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.util.BufferOutputStream;
|
||||
@@ -73,7 +72,7 @@ public class XmlHandler implements HttpHandler {
|
||||
bos.close();
|
||||
buffer.flip();
|
||||
|
||||
return response.setBody(Streams.just(buffer.byteBuffer()));
|
||||
return response.setBody(Mono.just(buffer.byteBuffer()));
|
||||
}
|
||||
catch (Exception ex) {
|
||||
logger.error(ex, ex);
|
||||
|
||||
Reference in New Issue
Block a user