io.quarkus.dev.console.DevConsoleRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-development-mode-spi Show documentation
Show all versions of quarkus-development-mode-spi Show documentation
SPI classes for Quarkus Development mode.
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