Uses of Interface
io.inverno.mod.http.server.ServerController
Packages that use ServerController
-
Uses of ServerController in io.inverno.mod.http.server
Methods in io.inverno.mod.http.server that return ServerControllerModifier and TypeMethodDescriptionServerController<? extends ExchangeContext, ? extends Exchange<? extends ExchangeContext>, ? extends ErrorExchange<? extends ExchangeContext>> Server.controller()static <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 with parameters of type ServerControllerModifier and TypeMethodDescriptionServer.Builder.setController(ServerController<? extends ExchangeContext, ? extends Exchange<? extends ExchangeContext>, ? extends ErrorExchange<? extends ExchangeContext>> controller)