public class RouteMatcher
extends java.lang.Object
implements io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
Constructor and Description |
---|
RouteMatcher(io.vertx.core.Vertx vx) |
Modifier and Type | Method and Description |
---|---|
void |
allWithRegEx(java.lang.String regex,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h) |
void |
delete(java.lang.String path,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler) |
void |
get(java.lang.String path,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h) |
void |
handle(io.vertx.core.http.HttpServerRequest fRequest) |
void |
head(java.lang.String path,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler) |
void |
noMatch(io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h) |
void |
options(java.lang.String path,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler) |
void |
post(java.lang.String path,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h) |
void |
put(java.lang.String path,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler) |
void |
regex(io.vertx.core.http.HttpMethod m,
java.lang.String re,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h) |
void |
regex(java.lang.String re,
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h) |
io.vertx.ext.web.handler.sockjs.SockJSHandler |
websocket(java.lang.String prefix,
io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions opts) |
public void regex(io.vertx.core.http.HttpMethod m, java.lang.String re, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
public void regex(java.lang.String re, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
public void post(java.lang.String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
public void get(java.lang.String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
public void allWithRegEx(java.lang.String regex, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
public void handle(io.vertx.core.http.HttpServerRequest fRequest)
handle
in interface io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
public void noMatch(io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
public io.vertx.ext.web.handler.sockjs.SockJSHandler websocket(java.lang.String prefix, io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions opts)
public void delete(java.lang.String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
public void put(java.lang.String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
public void head(java.lang.String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
public void options(java.lang.String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
Copyright © 2021. All Rights Reserved.