Example usage for io.vertx.core.http.impl.headers VertxHttpHeaders VertxHttpHeaders

List of usage examples for io.vertx.core.http.impl.headers VertxHttpHeaders VertxHttpHeaders

Introduction

In this page you can find the example usage for io.vertx.core.http.impl.headers VertxHttpHeaders VertxHttpHeaders.

Prototype

public VertxHttpHeaders() 

Source Link

Usage

From source file:io.nitor.api.backend.cache.CacheEntry.java

License:Apache License

public CacheEntry(String uri, MultiMap headers, Path file, long expires) {
    this.uri = uri;
    this.headers = new VertxHttpHeaders().setAll(headers);
    this.headers.set("x-cached", "1");
    this.file = file;
    this.expires = expires;
    this.waitList = new ArrayList<>();
}