Uses of Interface
io.inverno.mod.http.server.ErrorExchange
Packages that use ErrorExchange
-
Uses of ErrorExchange in io.inverno.mod.http.server
Classes in io.inverno.mod.http.server with type parameters of type ErrorExchangeModifier and TypeInterfaceDescriptioninterfaceReactiveServerController<A extends ExchangeContext,B extends Exchange<A>, C extends ErrorExchange<A>> A reactive server controller defines how exchanges and error exchanges must be handled within the HTTP server following reactive principles.interfaceServerController<A extends ExchangeContext,B extends Exchange<A>, C extends ErrorExchange<A>> A server controller defines how server exchanges and server error exchanges are handled, within the HTTP server.Methods in io.inverno.mod.http.server with type parameters of type ErrorExchangeModifier and TypeMethodDescriptionstatic <U extends ExchangeContext,V extends Exchange<U>, W extends ErrorExchange<U>>
ServerController<U, V, W> ServerController.from(ExchangeHandler<U, V> handler) Returns a server controller that delegates to the specified exchange handler.static <U extends ExchangeContext,V extends Exchange<U>, W extends ErrorExchange<U>>
ServerController<U, V, W> ServerController.from(ExchangeHandler<U, V> handler, ExchangeHandler<U, W> errorHandler) Returns a server controller that delegates to the specified exchange handler and error exchange handler.static <U extends ExchangeContext,V extends Exchange<U>, W extends ErrorExchange<U>>
ServerController<U, V, W> ServerController.from(ExchangeHandler<U, V> handler, ExchangeHandler<U, W> errorHandler, Supplier<U> contextSupplier) Returns a server controller that delegates to the specified exchange handler and error exchange handler and uses the specified context supplier to create exchange contexts.Methods in io.inverno.mod.http.server that return ErrorExchangeModifier and TypeMethodDescriptiondefault ErrorExchange<A> Returns an error exchange consisting of the result of applying the given function to the error of the exchange.Methods in io.inverno.mod.http.server that return types with arguments of type ErrorExchangeModifier and TypeMethodDescriptionServerController<? extends ExchangeContext, ? extends Exchange<? extends ExchangeContext>, ? extends ErrorExchange<? extends ExchangeContext>> Server.controller()Method parameters in io.inverno.mod.http.server with type arguments of type ErrorExchangeModifier and TypeMethodDescriptionServer.Builder.setController(ServerController<? extends ExchangeContext, ? extends Exchange<? extends ExchangeContext>, ? extends ErrorExchange<? extends ExchangeContext>> controller)