Example usage for io.vertx.core.buffer Buffer copy

List of usage examples for io.vertx.core.buffer Buffer copy

Introduction

In this page you can find the example usage for io.vertx.core.buffer Buffer copy.

Prototype

Buffer copy();

Source Link

Document

Returns a copy of the entire Buffer.

Usage

From source file:io.knotx.dataobjects.ClientResponse.java

License:Apache License

public ClientResponse setBody(Buffer body) {
    this.body = body.copy();
    return this;
}