Package dev.gmitch215.bytebox.http
Interface Route
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
What answers one matched request.
- Since:
- 1.0.0
-
Method Summary
-
Method Details
-
handle
Answers the request.- Parameters:
request- the requestpath- what the pattern captured, by parameter name without the colon; empty for a pattern with no parametersenv- the bindingsctx- the invocation context- Returns:
- the response
-