Uses of Interface
io.helidon.reactive.webserver.ServerResponse
Packages that use ServerResponse
Package
Description
Metrics endpoint for reactive WebServer.
Reactive web server API.
Access log support for Helidon WebServer.
Helidon SE CORS Support
Integration library for RxServer.
-
Uses of ServerResponse in io.helidon.reactive.metrics
Methods in io.helidon.reactive.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.reactive.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.reactive.webserver
Methods in io.helidon.reactive.webserver that return ServerResponseModifier and TypeMethodDescriptiondefault ServerResponseServerResponse.addHeader(Http.HeaderName name, String... values) Adds header values for a specified name.default ServerResponseServerResponse.addHeader(Http.HeaderValue value) Adds header values for a specified name.default ServerResponseDeprecated.default ServerResponseDeprecated.default ServerResponseServerResponse.cachingStrategy(ServerResponse.CachingStrategy cachingStrategy) Sets theCache-Controlheader values according to the specified strategy.ServerResponse.registerFilter(MessageBodyFilter filter) ServerResponse.registerWriter(MessageBodyStreamWriter<?> writer) ServerResponse.registerWriter(MessageBodyWriter<?> writer) default ServerResponseServerResponse.status(int statusCode) Sets new HTTP status code.ServerResponse.status(Http.Status status) Sets new HTTP status.Methods in io.helidon.reactive.webserver that return types with arguments of type ServerResponseModifier and TypeMethodDescriptionServerResponse.send()Sends an empty response.ServerResponse.send(Flow.Publisher<DataChunk> content) Send a message as is without any other marshalling, registered filters are applied.ServerResponse.send(Flow.Publisher<DataChunk> content, boolean applyFilters) Send a message as is without any other marshalling.<T> Single<ServerResponse>ServerResponse.send(Flow.Publisher<T> content, Class<T> clazz) Send a message with the given entity stream as content and close the response.ServerResponse.send(Function<MessageBodyWriterContext, Flow.Publisher<DataChunk>> function) Send a message using the given marshalling function.<T> Single<ServerResponse>ServerResponse.send(T content) Send a message and close the response.ServerResponse.whenSent()Completion stage is completed when response is completed.Methods in io.helidon.reactive.webserver with parameters of type ServerResponseModifier and TypeMethodDescriptionvoidErrorHandler.accept(ServerRequest req, ServerResponse res, T ex) Error handling consumer.voidHandler.accept(ServerRequest req, ServerResponse res) voidHandler.EntityHandler.accept(ServerRequest req, ServerResponse res, T entity) voidRequestPredicate.ConditionalHandler.accept(ServerRequest req, ServerResponse res) protected booleanJsonService.acceptsJson(ServerRequest request, ServerResponse response) Determines if JSON is an accepted response type, usingAcceptand responseContent-Typeheaders. -
Uses of ServerResponse in io.helidon.reactive.webserver.accesslog
Methods in io.helidon.reactive.webserver.accesslog that return ServerResponseModifier and TypeMethodDescriptionAccessLogContext.serverResponse()The server response, after data was sent.Methods in io.helidon.reactive.webserver.accesslog with parameters of type ServerResponseModifier and TypeMethodDescriptiondefault voidAccessLogEntry.accept(ServerRequest req, ServerResponse res) This method allows for each log entry to register anything on the request and/or response.voidSizeLogEntry.accept(ServerRequest req, ServerResponse res) -
Uses of ServerResponse in io.helidon.reactive.webserver.cors
Methods in io.helidon.reactive.webserver.cors that return types with arguments of type ServerResponseModifier and TypeMethodDescriptionprotected CorsSupportHelper<ServerRequest,ServerResponse> CorsSupport.helper()Methods in io.helidon.reactive.webserver.cors with parameters of type ServerResponseModifier and TypeMethodDescriptionvoidCorsSupport.accept(ServerRequest request, ServerResponse response) -
Uses of ServerResponse in io.helidon.security.integration.webserver
Methods in io.helidon.security.integration.webserver with parameters of type ServerResponseModifier and TypeMethodDescriptionvoidSecurityHandler.accept(ServerRequest req, ServerResponse res)
addHeader(io.helidon.common.http.Http.HeaderName, String...)