All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.dev.console.DevConsoleRequest Maven / Gradle / Ivy

There is a newer version: 3.17.0
Show newest version
package io.quarkus.dev.console;

import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;

public class DevConsoleRequest {

    private final String method;
    private final String uri;
    private final Map> headers;
    private final byte[] body;
    private final CompletableFuture response = new CompletableFuture<>();

    public DevConsoleRequest(String method, String uri, Map> headers, byte[] body) {
        this.method = method;
        this.uri = uri;
        this.headers = headers;
        this.body = body;
    }

    public String getMethod() {
        return method;
    }

    public Map> getHeaders() {
        return headers;
    }

    public byte[] getBody() {
        return body;
    }

    public String getUri() {
        return uri;
    }

    public CompletableFuture getResponse() {
        return response;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy