Class VertxPlatformHttpRouter

java.lang.Object
org.apache.camel.component.platform.http.vertx.VertxPlatformHttpRouter
All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>, io.vertx.ext.web.Router

public class VertxPlatformHttpRouter extends Object implements io.vertx.ext.web.Router
  • Field Details

  • Constructor Details

    • VertxPlatformHttpRouter

      public VertxPlatformHttpRouter(VertxPlatformHttpServer server, io.vertx.core.Vertx vertx, io.vertx.ext.web.Router delegate)
  • Method Details

    • vertx

      public io.vertx.core.Vertx vertx()
    • getServer

      public VertxPlatformHttpServer getServer()
    • route

      public io.vertx.ext.web.Route route()
      Specified by:
      route in interface io.vertx.ext.web.Router
    • route

      public io.vertx.ext.web.Route route(io.vertx.core.http.HttpMethod method, String s)
      Specified by:
      route in interface io.vertx.ext.web.Router
    • route

      public io.vertx.ext.web.Route route(String s)
      Specified by:
      route in interface io.vertx.ext.web.Router
    • routeWithRegex

      public io.vertx.ext.web.Route routeWithRegex(io.vertx.core.http.HttpMethod method, String s)
      Specified by:
      routeWithRegex in interface io.vertx.ext.web.Router
    • routeWithRegex

      public io.vertx.ext.web.Route routeWithRegex(String s)
      Specified by:
      routeWithRegex in interface io.vertx.ext.web.Router
    • get

      public io.vertx.ext.web.Route get()
      Specified by:
      get in interface io.vertx.ext.web.Router
    • get

      public io.vertx.ext.web.Route get(String s)
      Specified by:
      get in interface io.vertx.ext.web.Router
    • getWithRegex

      public io.vertx.ext.web.Route getWithRegex(String s)
      Specified by:
      getWithRegex in interface io.vertx.ext.web.Router
    • head

      public io.vertx.ext.web.Route head()
      Specified by:
      head in interface io.vertx.ext.web.Router
    • head

      public io.vertx.ext.web.Route head(String s)
      Specified by:
      head in interface io.vertx.ext.web.Router
    • headWithRegex

      public io.vertx.ext.web.Route headWithRegex(String s)
      Specified by:
      headWithRegex in interface io.vertx.ext.web.Router
    • options

      public io.vertx.ext.web.Route options()
      Specified by:
      options in interface io.vertx.ext.web.Router
    • options

      public io.vertx.ext.web.Route options(String s)
      Specified by:
      options in interface io.vertx.ext.web.Router
    • optionsWithRegex

      public io.vertx.ext.web.Route optionsWithRegex(String s)
      Specified by:
      optionsWithRegex in interface io.vertx.ext.web.Router
    • put

      public io.vertx.ext.web.Route put()
      Specified by:
      put in interface io.vertx.ext.web.Router
    • put

      public io.vertx.ext.web.Route put(String s)
      Specified by:
      put in interface io.vertx.ext.web.Router
    • putWithRegex

      public io.vertx.ext.web.Route putWithRegex(String s)
      Specified by:
      putWithRegex in interface io.vertx.ext.web.Router
    • post

      public io.vertx.ext.web.Route post()
      Specified by:
      post in interface io.vertx.ext.web.Router
    • post

      public io.vertx.ext.web.Route post(String s)
      Specified by:
      post in interface io.vertx.ext.web.Router
    • postWithRegex

      public io.vertx.ext.web.Route postWithRegex(String s)
      Specified by:
      postWithRegex in interface io.vertx.ext.web.Router
    • delete

      public io.vertx.ext.web.Route delete()
      Specified by:
      delete in interface io.vertx.ext.web.Router
    • delete

      public io.vertx.ext.web.Route delete(String s)
      Specified by:
      delete in interface io.vertx.ext.web.Router
    • deleteWithRegex

      public io.vertx.ext.web.Route deleteWithRegex(String s)
      Specified by:
      deleteWithRegex in interface io.vertx.ext.web.Router
    • trace

      public io.vertx.ext.web.Route trace()
      Specified by:
      trace in interface io.vertx.ext.web.Router
    • trace

      public io.vertx.ext.web.Route trace(String s)
      Specified by:
      trace in interface io.vertx.ext.web.Router
    • traceWithRegex

      public io.vertx.ext.web.Route traceWithRegex(String s)
      Specified by:
      traceWithRegex in interface io.vertx.ext.web.Router
    • connect

      public io.vertx.ext.web.Route connect()
      Specified by:
      connect in interface io.vertx.ext.web.Router
    • connect

      public io.vertx.ext.web.Route connect(String s)
      Specified by:
      connect in interface io.vertx.ext.web.Router
    • connectWithRegex

      public io.vertx.ext.web.Route connectWithRegex(String s)
      Specified by:
      connectWithRegex in interface io.vertx.ext.web.Router
    • patch

      public io.vertx.ext.web.Route patch()
      Specified by:
      patch in interface io.vertx.ext.web.Router
    • patch

      public io.vertx.ext.web.Route patch(String s)
      Specified by:
      patch in interface io.vertx.ext.web.Router
    • patchWithRegex

      public io.vertx.ext.web.Route patchWithRegex(String s)
      Specified by:
      patchWithRegex in interface io.vertx.ext.web.Router
    • getRoutes

      public List<io.vertx.ext.web.Route> getRoutes()
      Specified by:
      getRoutes in interface io.vertx.ext.web.Router
    • clear

      public io.vertx.ext.web.Router clear()
      Specified by:
      clear in interface io.vertx.ext.web.Router
    • mountSubRouter

      public io.vertx.ext.web.Route mountSubRouter(String mountPoint, io.vertx.ext.web.Router subRouter)
      Specified by:
      mountSubRouter in interface io.vertx.ext.web.Router
    • errorHandler

      public io.vertx.ext.web.Router errorHandler(int i, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
      Specified by:
      errorHandler in interface io.vertx.ext.web.Router
    • handleContext

      public void handleContext(io.vertx.ext.web.RoutingContext context)
      Specified by:
      handleContext in interface io.vertx.ext.web.Router
    • handleFailure

      public void handleFailure(io.vertx.ext.web.RoutingContext context)
      Specified by:
      handleFailure in interface io.vertx.ext.web.Router
    • modifiedHandler

      public io.vertx.ext.web.Router modifiedHandler(io.vertx.core.Handler<io.vertx.ext.web.Router> handler)
      Specified by:
      modifiedHandler in interface io.vertx.ext.web.Router
    • allowForward

      public io.vertx.ext.web.Router allowForward(io.vertx.ext.web.AllowForwardHeaders allowForwardHeaders)
      Specified by:
      allowForward in interface io.vertx.ext.web.Router
    • handle

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

      public io.vertx.ext.web.Router putMetadata(String key, Object value)
      Specified by:
      putMetadata in interface io.vertx.ext.web.Router
    • metadata

      public Map<String,Object> metadata()
      Specified by:
      metadata in interface io.vertx.ext.web.Router
    • bodyHandler

      public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> bodyHandler()
    • lookup

      public static VertxPlatformHttpRouter lookup(org.apache.camel.CamelContext camelContext)