java.lang.Object
io.helidon.webserver.http2.Http2Route
- All Implemented Interfaces:
- HttpRoute,- Route,- ServerLifecycle
A route for HTTP/2 only.
 To create a route valid for any version of HTTP, please use 
HttpRoute or methods
 defined on HttpRouting.Builder.- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.webserver.http.HttpRouteHttpRoute.Builder
- 
Method SummaryModifier and TypeMethodDescriptionaccepts(HttpPrologue prologue) Whether this route accept the provided request.voidAfter server stop.voidBefore server start.handler()Handler of this route.Path matcher for this HTTP route.static Http2RouteCreate a new HTTP/2 only route.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webserver.ServerLifecycleafterStart
- 
Method Details- 
routeCreate a new HTTP/2 only route.- Parameters:
- method- method to handle
- path- path pattern
- handler- handler
- Returns:
- a new route
 
- 
acceptsDescription copied from interface:HttpRouteWhether this route accept the provided request.
- 
handlerDescription copied from interface:HttpRouteHandler of this route.
- 
beforeStartpublic void beforeStart()Description copied from interface:ServerLifecycleBefore server start.- Specified by:
- beforeStartin interface- ServerLifecycle
 
- 
afterStoppublic void afterStop()Description copied from interface:ServerLifecycleAfter server stop.- Specified by:
- afterStopin interface- ServerLifecycle
 
- 
pathMatcherDescription copied from interface:HttpRoutePath matcher for this HTTP route.- Specified by:
- pathMatcherin interface- HttpRoute
- Returns:
- optional path matcher
 
 
-