Uses of Class
io.nitric.faas.http.HttpMiddleware
-
Packages that use HttpMiddleware Package Description io.nitric.faas Provides the FaaS server and micro-framework classes.io.nitric.faas.http Provides the FaaS HTTP context and middleware classes. -
-
Uses of HttpMiddleware in io.nitric.faas
Subclasses of HttpMiddleware in io.nitric.faas Modifier and Type Class Description static class
TriggerProcessor.HttpMiddlewareWrapper
Provides an HttpMiddleware wrapper to accurately report processing errors.Methods in io.nitric.faas that return HttpMiddleware Modifier and Type Method Description protected HttpMiddleware
TriggerProcessor. buildHttpMiddlewareChain()
Build a HttpMiddleware chain from the configured eventMiddlewares, or null if none defined.HttpMiddleware
TriggerProcessor.HttpMiddlewareWrapper. getTarget()
Return the wrapped target middleware.Methods in io.nitric.faas with parameters of type HttpMiddleware Modifier and Type Method Description HttpContext
TriggerProcessor.HttpMiddlewareWrapper. handle(HttpContext context, HttpMiddleware next)
Handle the HTTP request delegating to the target middleware.Faas
Faas. http(HttpMiddleware middleware)
Add an HTTP request processing middleware.Method parameters in io.nitric.faas with type arguments of type HttpMiddleware Modifier and Type Method Description protected void
TriggerProcessor. setHttpMiddlewares(List<HttpMiddleware> httpMiddlewares)
Set the HTTP TriggerRequest HttpMiddlewares.Constructors in io.nitric.faas with parameters of type HttpMiddleware Constructor Description HttpMiddlewareWrapper(HttpMiddleware target)
Create new HttpMiddleware wrapper object with given target. -
Uses of HttpMiddleware in io.nitric.faas.http
Subclasses of HttpMiddleware in io.nitric.faas.http Modifier and Type Class Description static class
HttpMiddleware.FinalMiddleware
Provides the final HttpMiddleware in the chain.static class
HttpMiddleware.HandlerAdapter
Provides a HttpHandler to HttpMiddleware adapter class.Fields in io.nitric.faas.http declared as HttpMiddleware Modifier and Type Field Description static HttpMiddleware
HttpMiddleware. FINAL_MIDDLEWARE
The final middleware in the chain.protected HttpMiddleware
HttpMiddleware. next
The next HttpMiddleware to execute.Methods in io.nitric.faas.http that return HttpMiddleware Modifier and Type Method Description HttpMiddleware
HttpMiddleware. getNext()
Return the next HttpMiddleware to process request context.Methods in io.nitric.faas.http with parameters of type HttpMiddleware Modifier and Type Method Description HttpContext
HttpMiddleware.FinalMiddleware. handle(HttpContext context, HttpMiddleware next)
This method will simply return the context and not invoke the next middleware.abstract HttpContext
HttpMiddleware. handle(HttpContext context, HttpMiddleware next)
Handle the Http Request and invoke the next handler in the chain.HttpContext
HttpMiddleware.HandlerAdapter. handle(HttpContext context, HttpMiddleware next)
Handle the Http Request and invoke the next handler in the chain.void
HttpMiddleware. setNext(HttpMiddleware middleware)
Set the next HttpMiddleware to process request context.
-