Class RouteMatcher

java.lang.Object
net.bluemind.lib.vertx.RouteMatcher
All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>

public class RouteMatcher extends Object implements io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
  • Constructor Summary

    Constructors
    Constructor
    Description
    RouteMatcher(io.vertx.core.Vertx vx)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    allWithRegEx(String regex, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
     
    void
    delete(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
     
    void
    get(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
     
    void
    handle(io.vertx.core.http.HttpServerRequest fRequest)
     
    void
    head(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(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
     
    void
    post(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
     
    void
    put(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
     
    void
    regex(io.vertx.core.http.HttpMethod m, String re, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
     
    void
    regex(String re, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
     
    io.vertx.ext.web.handler.sockjs.SockJSHandler
    websocket(String prefix, io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions hOpts, io.vertx.core.Handler<io.vertx.ext.web.handler.sockjs.SockJSSocket> sock)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RouteMatcher

      public RouteMatcher(io.vertx.core.Vertx vx)
  • Method Details

    • regex

      public void regex(io.vertx.core.http.HttpMethod m, String re, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
    • regex

      public void regex(String re, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
    • post

      public void post(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
    • get

      public void get(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
    • allWithRegEx

      public void allWithRegEx(String regex, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
    • handle

      public void handle(io.vertx.core.http.HttpServerRequest fRequest)
      Specified by:
      handle in interface io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
    • noMatch

      public void noMatch(io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> h)
    • websocket

      public io.vertx.ext.web.handler.sockjs.SockJSHandler websocket(String prefix, io.vertx.ext.web.handler.sockjs.SockJSHandlerOptions hOpts, io.vertx.core.Handler<io.vertx.ext.web.handler.sockjs.SockJSSocket> sock)
    • delete

      public void delete(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
    • put

      public void put(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
    • head

      public void head(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)
    • options

      public void options(String path, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> handler)