io.quarkus.vertx.http.runtime.webjar.WebJarNotFoundHandler Maven / Gradle / Ivy
The newest version!
package io.quarkus.vertx.http.runtime.webjar;
import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;
/**
* Handling static when disabled
*/
public class WebJarNotFoundHandler implements Handler {
@Override
public void handle(RoutingContext event) {
event.response().setStatusCode(404);
event.response().end();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy