- All Superinterfaces:
HttpRequest
,ServerRequest
Routing request.
-
Method Summary
Modifier and TypeMethodDescriptiondefault RoutingRequest
matchingPattern
(String matchingPattern) Update the pattern used to match this request.path
(RoutedPath routedPath) Update path of this request.prologue
(HttpPrologue newPrologue) Update prologue of this request.Methods inherited from interface io.helidon.webserver.http.HttpRequest
authority, header, headers, id, localPeer, prologue, query, remotePeer, requestedUri
Methods inherited from interface io.helidon.webserver.http.ServerRequest
content, context, continueSent, isSecure, listenerContext, matchingPattern, path, proxyProtocolData, reset, security, serverSocketId, socketId, streamFilter
-
Method Details
-
path
Update path of this request. For internal use only to Helidon.- Parameters:
routedPath
- routed path, that provides matched path parameters from path pattern- Returns:
- this instance
-
prologue
Update prologue of this request. For internal use only to Helidon.- Parameters:
newPrologue
- new prologue to use (on rerouting)- Returns:
- this instance
-
matchingPattern
Update the pattern used to match this request. Such as "/foo/{bar}". For internal use only to Helidon.- Parameters:
matchingPattern
- the matching pattern- Returns:
- this instance
-