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 Summary
Fields Modifier and Type Field Description static String
PLATFORM_HTTP_ROUTER_NAME
-
Constructor Summary
Constructors Constructor Description VertxPlatformHttpRouter(io.vertx.core.Vertx vertx, io.vertx.ext.web.Router delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.ext.web.Router
allowForward(io.vertx.ext.web.AllowForwardHeaders allowForwardHeaders)
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext>
bodyHandler()
io.vertx.ext.web.Router
clear()
io.vertx.ext.web.Route
connect()
io.vertx.ext.web.Route
connect(String s)
io.vertx.ext.web.Route
connectWithRegex(String s)
io.vertx.ext.web.Route
delete()
io.vertx.ext.web.Route
delete(String s)
io.vertx.ext.web.Route
deleteWithRegex(String s)
io.vertx.ext.web.Router
errorHandler(int i, io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> handler)
io.vertx.ext.web.Route
get()
io.vertx.ext.web.Route
get(String s)
List<io.vertx.ext.web.Route>
getRoutes()
io.vertx.ext.web.Route
getWithRegex(String s)
void
handle(io.vertx.core.http.HttpServerRequest request)
void
handleContext(io.vertx.ext.web.RoutingContext context)
void
handleFailure(io.vertx.ext.web.RoutingContext context)
io.vertx.ext.web.Route
head()
io.vertx.ext.web.Route
head(String s)
io.vertx.ext.web.Route
headWithRegex(String s)
static VertxPlatformHttpRouter
lookup(org.apache.camel.CamelContext camelContext)
io.vertx.ext.web.Router
modifiedHandler(io.vertx.core.Handler<io.vertx.ext.web.Router> handler)
io.vertx.ext.web.Route
mountSubRouter(String mountPoint, io.vertx.ext.web.Router subRouter)
io.vertx.ext.web.Route
options()
io.vertx.ext.web.Route
options(String s)
io.vertx.ext.web.Route
optionsWithRegex(String s)
io.vertx.ext.web.Route
patch()
io.vertx.ext.web.Route
patch(String s)
io.vertx.ext.web.Route
patchWithRegex(String s)
io.vertx.ext.web.Route
post()
io.vertx.ext.web.Route
post(String s)
io.vertx.ext.web.Route
postWithRegex(String s)
io.vertx.ext.web.Route
put()
io.vertx.ext.web.Route
put(String s)
io.vertx.ext.web.Route
putWithRegex(String s)
io.vertx.ext.web.Route
route()
io.vertx.ext.web.Route
route(io.vertx.core.http.HttpMethod method, String s)
io.vertx.ext.web.Route
route(String s)
io.vertx.ext.web.Route
routeWithRegex(io.vertx.core.http.HttpMethod method, String s)
io.vertx.ext.web.Route
routeWithRegex(String s)
io.vertx.ext.web.Route
trace()
io.vertx.ext.web.Route
trace(String s)
io.vertx.ext.web.Route
traceWithRegex(String s)
io.vertx.core.Vertx
vertx()
-
-
-
Field Detail
-
PLATFORM_HTTP_ROUTER_NAME
public static final String PLATFORM_HTTP_ROUTER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
vertx
public io.vertx.core.Vertx vertx()
-
route
public io.vertx.ext.web.Route route()
- Specified by:
route
in interfaceio.vertx.ext.web.Router
-
route
public io.vertx.ext.web.Route route(io.vertx.core.http.HttpMethod method, String s)
- Specified by:
route
in interfaceio.vertx.ext.web.Router
-
route
public io.vertx.ext.web.Route route(String s)
- Specified by:
route
in interfaceio.vertx.ext.web.Router
-
routeWithRegex
public io.vertx.ext.web.Route routeWithRegex(io.vertx.core.http.HttpMethod method, String s)
- Specified by:
routeWithRegex
in interfaceio.vertx.ext.web.Router
-
routeWithRegex
public io.vertx.ext.web.Route routeWithRegex(String s)
- Specified by:
routeWithRegex
in interfaceio.vertx.ext.web.Router
-
get
public io.vertx.ext.web.Route get()
- Specified by:
get
in interfaceio.vertx.ext.web.Router
-
get
public io.vertx.ext.web.Route get(String s)
- Specified by:
get
in interfaceio.vertx.ext.web.Router
-
getWithRegex
public io.vertx.ext.web.Route getWithRegex(String s)
- Specified by:
getWithRegex
in interfaceio.vertx.ext.web.Router
-
head
public io.vertx.ext.web.Route head()
- Specified by:
head
in interfaceio.vertx.ext.web.Router
-
head
public io.vertx.ext.web.Route head(String s)
- Specified by:
head
in interfaceio.vertx.ext.web.Router
-
headWithRegex
public io.vertx.ext.web.Route headWithRegex(String s)
- Specified by:
headWithRegex
in interfaceio.vertx.ext.web.Router
-
options
public io.vertx.ext.web.Route options()
- Specified by:
options
in interfaceio.vertx.ext.web.Router
-
options
public io.vertx.ext.web.Route options(String s)
- Specified by:
options
in interfaceio.vertx.ext.web.Router
-
optionsWithRegex
public io.vertx.ext.web.Route optionsWithRegex(String s)
- Specified by:
optionsWithRegex
in interfaceio.vertx.ext.web.Router
-
put
public io.vertx.ext.web.Route put()
- Specified by:
put
in interfaceio.vertx.ext.web.Router
-
put
public io.vertx.ext.web.Route put(String s)
- Specified by:
put
in interfaceio.vertx.ext.web.Router
-
putWithRegex
public io.vertx.ext.web.Route putWithRegex(String s)
- Specified by:
putWithRegex
in interfaceio.vertx.ext.web.Router
-
post
public io.vertx.ext.web.Route post()
- Specified by:
post
in interfaceio.vertx.ext.web.Router
-
post
public io.vertx.ext.web.Route post(String s)
- Specified by:
post
in interfaceio.vertx.ext.web.Router
-
postWithRegex
public io.vertx.ext.web.Route postWithRegex(String s)
- Specified by:
postWithRegex
in interfaceio.vertx.ext.web.Router
-
delete
public io.vertx.ext.web.Route delete()
- Specified by:
delete
in interfaceio.vertx.ext.web.Router
-
delete
public io.vertx.ext.web.Route delete(String s)
- Specified by:
delete
in interfaceio.vertx.ext.web.Router
-
deleteWithRegex
public io.vertx.ext.web.Route deleteWithRegex(String s)
- Specified by:
deleteWithRegex
in interfaceio.vertx.ext.web.Router
-
trace
public io.vertx.ext.web.Route trace()
- Specified by:
trace
in interfaceio.vertx.ext.web.Router
-
trace
public io.vertx.ext.web.Route trace(String s)
- Specified by:
trace
in interfaceio.vertx.ext.web.Router
-
traceWithRegex
public io.vertx.ext.web.Route traceWithRegex(String s)
- Specified by:
traceWithRegex
in interfaceio.vertx.ext.web.Router
-
connect
public io.vertx.ext.web.Route connect()
- Specified by:
connect
in interfaceio.vertx.ext.web.Router
-
connect
public io.vertx.ext.web.Route connect(String s)
- Specified by:
connect
in interfaceio.vertx.ext.web.Router
-
connectWithRegex
public io.vertx.ext.web.Route connectWithRegex(String s)
- Specified by:
connectWithRegex
in interfaceio.vertx.ext.web.Router
-
patch
public io.vertx.ext.web.Route patch()
- Specified by:
patch
in interfaceio.vertx.ext.web.Router
-
patch
public io.vertx.ext.web.Route patch(String s)
- Specified by:
patch
in interfaceio.vertx.ext.web.Router
-
patchWithRegex
public io.vertx.ext.web.Route patchWithRegex(String s)
- Specified by:
patchWithRegex
in interfaceio.vertx.ext.web.Router
-
getRoutes
public List<io.vertx.ext.web.Route> getRoutes()
- Specified by:
getRoutes
in interfaceio.vertx.ext.web.Router
-
clear
public io.vertx.ext.web.Router clear()
- Specified by:
clear
in interfaceio.vertx.ext.web.Router
-
mountSubRouter
public io.vertx.ext.web.Route mountSubRouter(String mountPoint, io.vertx.ext.web.Router subRouter)
- Specified by:
mountSubRouter
in interfaceio.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 interfaceio.vertx.ext.web.Router
-
handleContext
public void handleContext(io.vertx.ext.web.RoutingContext context)
- Specified by:
handleContext
in interfaceio.vertx.ext.web.Router
-
handleFailure
public void handleFailure(io.vertx.ext.web.RoutingContext context)
- Specified by:
handleFailure
in interfaceio.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 interfaceio.vertx.ext.web.Router
-
allowForward
public io.vertx.ext.web.Router allowForward(io.vertx.ext.web.AllowForwardHeaders allowForwardHeaders)
- Specified by:
allowForward
in interfaceio.vertx.ext.web.Router
-
handle
public void handle(io.vertx.core.http.HttpServerRequest request)
- Specified by:
handle
in interfaceio.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
-
bodyHandler
public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> bodyHandler()
-
lookup
public static VertxPlatformHttpRouter lookup(org.apache.camel.CamelContext camelContext)
-
-