Class Filters.SimpleFilter
- java.lang.Object
-
- io.quarkus.vertx.http.runtime.filters.Filters.SimpleFilter
-
-
Constructor Summary
Constructors Constructor Description SimpleFilter()SimpleFilter(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>getHandler()The handler called on HTTP request.intgetPriority()voidsetHandler(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)voidsetPriority(int priority)
-
-
-
Method Detail
-
setHandler
public void setHandler(io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
-
setPriority
public void setPriority(int priority)
-
getHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> getHandler()
Description copied from interface:FilterThe handler called on HTTP request. It's important that the handler callRoutingContext.next()to invoke the next filter or the user routes.- Specified by:
getHandlerin interfaceFilter- Returns:
- the handler
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceFilter- Returns:
- the priority of the filter.
-
-