Example usage for io.vertx.core.eventbus DeliveryOptions getCodecName

List of usage examples for io.vertx.core.eventbus DeliveryOptions getCodecName

Introduction

In this page you can find the example usage for io.vertx.core.eventbus DeliveryOptions getCodecName.

Prototype

public String getCodecName() 

Source Link

Document

Get the codec name.

Usage

From source file:io.engagingspaces.graphql.schema.SchemaDefinitionOptions.java

License:Open Source License

private JsonObject deliveryOptionsToJson(DeliveryOptions options) {
    return JsonObjectHelper.jsonObject().put("sendTimeout", options.getSendTimeout())
            .putIfPresent("codecName", options.getCodecName())
            // TODO Test with MultiMap values
            .putIf("headers", options.getHeaders(), headers -> headers.size() > 0, headers -> headers);
}