Uses of Interface
io.helidon.nima.webserver.http.ServerResponse
Packages that use ServerResponse
Package
Description
Metrics endpoint for Níma WebServer.
Nima SSE webserver.
Helidon Níma CORS Support
WebServer HTTP specific APIs.
WebServer HTTP sink SPI.
Integration library for RxServer.
-
Uses of ServerResponse in io.helidon.nima.observe.metrics
Methods in io.helidon.nima.observe.metrics with parameters of type ServerResponseModifier and TypeMethodDescriptionvoidPostRequestMetricsSupport.runTasks(ServerRequest request, ServerResponse response, Throwable throwable) Run the post-processing tasks.Method parameters in io.helidon.nima.observe.metrics with type arguments of type ServerResponseModifier and TypeMethodDescriptionstatic voidPostRequestMetricsSupport.recordPostProcessingWork(ServerRequest request, BiConsumer<ServerResponse, Throwable> task) Records a post-processing task to be performed once the response has been sent to the client.voidPostRequestMetricsSupport.registerPostRequestWork(BiConsumer<ServerResponse, Throwable> task) Records post-request processing to be performed once the server sends the response to the client. -
Uses of ServerResponse in io.helidon.nima.sse.webserver
Methods in io.helidon.nima.sse.webserver with parameters of type ServerResponseModifier and TypeMethodDescriptionSseSinkProvider.create(ServerResponse response, BiConsumer<Object, MediaType> eventConsumer, Runnable closeRunnable) -
Uses of ServerResponse in io.helidon.nima.webserver.cors
Methods in io.helidon.nima.webserver.cors that return types with arguments of type ServerResponseModifier and TypeMethodDescriptionprotected CorsSupportHelper<ServerRequest,ServerResponse> CorsSupport.helper()Methods in io.helidon.nima.webserver.cors with parameters of type ServerResponse -
Uses of ServerResponse in io.helidon.nima.webserver.http
Subinterfaces of ServerResponse in io.helidon.nima.webserver.httpClasses in io.helidon.nima.webserver.http that implement ServerResponseModifier and TypeClassDescriptionclassServerResponseBase<T extends ServerResponseBase<T>>Base class for common server response tasks that can be shared across HTTP versions.Methods in io.helidon.nima.webserver.http that return ServerResponseModifier and TypeMethodDescriptiondefault ServerResponseServerResponse.header(Http.HeaderName name, String... values) Set a header.ServerResponse.header(Http.HeaderValue header) Set header with a value.default ServerResponseNot optimized method for setting a header.ServerResponse.next()Continue processing with the next route (and if none found, return aHttp.Status.NOT_FOUND_404).Re-route using a different path.Re-route using a different path and query.ServerResponse.status(Http.Status status) Status of the response.Completed when last byte is buffered for socket write.Methods in io.helidon.nima.webserver.http with parameters of type ServerResponseModifier and TypeMethodDescriptionbooleanHttpSecurity.authenticate(ServerRequest request, ServerResponse response, boolean requiredHint) Authenticates the current request according to security configuration.booleanHttpSecurity.authorize(ServerRequest request, ServerResponse response, String... roleHint) Authorize the current request according to security configuration.voidDirectHandlers.handle(RequestException httpException, ServerResponse res, boolean keepAlive) Handle an HTTP Exception that occurred when request and response is available.voidErrorHandler.handle(ServerRequest req, ServerResponse res, T throwable) Error handling consumer.voidHandler.handle(ServerRequest req, ServerResponse res) Handle request.voidSecureHandler.handle(ServerRequest req, ServerResponse res) Method parameters in io.helidon.nima.webserver.http with type arguments of type ServerResponseModifier and TypeMethodDescriptionstatic <T> HandlerHandler.create(Class<T> type, BiConsumer<T, ServerResponse> handler) Create a handler that consumes type request entity andServerResponse. -
Uses of ServerResponse in io.helidon.nima.webserver.http.spi
Methods in io.helidon.nima.webserver.http.spi with parameters of type ServerResponseModifier and TypeMethodDescriptionSinkProvider.create(ServerResponse response, BiConsumer<Object, MediaType> eventConsumer, Runnable closeRunnable) Creates a sink using this provider. -
Uses of ServerResponse in io.helidon.security.integration.nima
Methods in io.helidon.security.integration.nima with parameters of type ServerResponseModifier and TypeMethodDescriptionbooleanSecurityFeature.authenticate(ServerRequest request, ServerResponse response, boolean requiredHint) booleanSecurityFeature.authorize(ServerRequest request, ServerResponse response, String... roleHint) voidSecurityHandler.handle(ServerRequest req, ServerResponse res)