Uses of Interface
io.inverno.mod.http.server.Exchange
Packages that use Exchange
-
Uses of Exchange in io.inverno.mod.http.server
Classes in io.inverno.mod.http.server with type parameters of type ExchangeModifier and TypeInterfaceDescriptioninterfaceExchangeHandler<A extends ExchangeContext,B extends Exchange<A>> An exchange handler is used to handle server exchanges.interfaceExchangeInterceptor<A extends ExchangeContext,B extends Exchange<A>> An exchange interceptor is used to intercept a server exchange before it is handled by aExchangeHandler.interfaceReactiveExchangeHandler<A extends ExchangeContext,B extends Exchange<A>> A reactive exchange handler is used to handle server exchanges following reactive principles.interfaceReactiveServerController<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.Subinterfaces of Exchange in io.inverno.mod.http.serverModifier and TypeInterfaceDescriptioninterfaceErrorExchange<A extends ExchangeContext>Represents a failing server exchange.Methods in io.inverno.mod.http.server with type parameters of type ExchangeModifier 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.static <A extends ExchangeContext,B extends Exchange<A>>
ExchangeInterceptor<A, B> ExchangeInterceptor.of(ExchangeInterceptor<? super A, B>... interceptors) Returns an interceptor resulting from chaining the specified interceptors in sequence.Methods in io.inverno.mod.http.server that return types with arguments of type ExchangeModifier 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 ExchangeModifier and TypeMethodDescriptionServer.Builder.setController(ServerController<? extends ExchangeContext, ? extends Exchange<? extends ExchangeContext>, ? extends ErrorExchange<? extends ExchangeContext>> controller)