Package com.jsgalactic.axiom.context
Interface Handler
- All Known Subinterfaces:
StreamingHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An ordinary Java callback, invoked once per matched request.
-
Method Summary
-
Method Details
-
handle
Handles one matched request.- Parameters:
context- the request-scoped context- Returns:
- a Response, a body value, or null for no content
- Throws:
Exception- if application processing fails
-