Uses of Class
io.avaje.http.api.context.ServerContext
Packages that use ServerContext
-
Uses of ServerContext in io.avaje.http.api.context
Methods in io.avaje.http.api.context that return types with arguments of type ServerContextModifier and TypeMethodDescriptionRequestContextResolver.currentRequest()
Retrieve the current server context.ThreadLocalRequestContextResolver.currentRequest()
Methods in io.avaje.http.api.context with parameters of type ServerContextModifier and TypeMethodDescription<T> T
RequestContextResolver.callWith
(ServerContext ctx, Callable<T> callable) Wraps the execution of the given callable in request context processing.<T> T
ThreadLocalRequestContextResolver.callWith
(ServerContext request, Callable<T> callable) void
RequestContextResolver.runWith
(ServerContext ctx, Runnable runnable) Wraps the execution of the given runnable in request context processing.void
ThreadLocalRequestContextResolver.runWith
(ServerContext request, Runnable runnable) <T> T
RequestContextResolver.supplyWith
(ServerContext ctx, Supplier<T> supplier) Wraps the execution of the given supplier in request context processing.<T> T
ThreadLocalRequestContextResolver.supplyWith
(ServerContext request, Supplier<T> supplier)