Uses of Interface
io.helidon.webserver.http.ServerResponse
Packages that use ServerResponse
Package
Description
Helidon WebServer HTTP specific APIs.
Helidon WebServer HTTP SPI.
Helidon WebServer JSON-RPC Support.
Helidon WebServer Observability Metrics Support.
Helidon WebServer Security Support.
-
Uses of ServerResponse in io.helidon.webserver.http
Classes in io.helidon.webserver.http with type parameters of type ServerResponseModifier and TypeClassDescriptionclassServerResponse__ServiceDescriptor<T extends ServerResponse>Service descriptor forServerResponse.Subinterfaces of ServerResponse in io.helidon.webserver.httpClasses in io.helidon.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.Fields in io.helidon.webserver.http with type parameters of type ServerResponseModifier and TypeFieldDescriptionstatic final ServerResponse__ServiceDescriptor<ServerResponse> ServerResponse__ServiceDescriptor.INSTANCEGlobal singleton instance for this descriptor.Methods in io.helidon.webserver.http that return ServerResponseModifier and TypeMethodDescriptiondefault ServerResponseServerResponse.automaticContentEncoding(boolean enabled) Configure whether the WebServer response layer may automatically encode the response entity using the listener content encoding context.default ServerResponseServerResponse.beforeSend(Runnable listener) Executed right before the first byte is written to the socket (including response status and headers).ServerResponseBase.beforeSend(Runnable listener) default ServerResponseServerResponse.beforeTrailers(Consumer<ServerResponseTrailers> beforeTrailers) Callback to update any last minute trailers before they are written to the output stream.ServerResponseBase.beforeTrailers(Consumer<ServerResponseTrailers> beforeTrailers) default ServerResponseServerResponse.contentEncoder(ContentEncoder encoder) Configure an explicit response content encoder.Set header with a value.default ServerResponseServerResponse.header(HeaderName name, String... values) Set a header.default ServerResponseNot optimized method for setting a header.ServerResponse.next()Continue processing with the next route (and if none found, return aStatus.NOT_FOUND_404).Re-route using a different path.Re-route using a different path and query.default ServerResponseServerResponse.status(int status) Status of the response.Status of the response.Completed when last byte is buffered for socket write.Methods in io.helidon.webserver.http with parameters of type ServerResponseModifier and TypeMethodDescriptionbooleanHttpSecurity.authenticate(ServerRequest request, ServerResponse response, boolean requiredHint) Authenticates the current request according to security configuration.voidHttpEntryPoint.AuthorizationInterceptor.authorize(InterceptionContext interceptionContext, HttpEntryPoint.Interceptor.Chain chain, ServerRequest request, ServerResponse response) Authorize the operation.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) voidSecureHandler.handleProtocolUpgrade(ServerRequest req, ServerResponse res) voidHttpEntryPoint.Interceptor.Chain.proceed(ServerRequest request, ServerResponse response) Invoke the next interceptor in the chain.voidHttpEntryPoint.Interceptor.proceed(InterceptionContext interceptionContext, HttpEntryPoint.Interceptor.Chain chain, ServerRequest request, ServerResponse response) Method to implement interceptor logic.Method parameters in io.helidon.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.webserver.http.spi
Methods in io.helidon.webserver.http.spi that return ServerResponseModifier and TypeMethodDescriptionSinkProviderContext.serverResponse()Obtains the server response associated with this context.Methods in io.helidon.webserver.http.spi with parameters of type ServerResponseModifier and TypeMethodDescriptionvoidProtocolUpgradeHandler.handleProtocolUpgrade(ServerRequest req, ServerResponse res) Handle an HTTP/1 protocol upgrade request before the protocol switch. -
Uses of ServerResponse in io.helidon.webserver.jsonrpc
Subinterfaces of ServerResponse in io.helidon.webserver.jsonrpcModifier and TypeInterfaceDescriptioninterfaceA representation of a JSON-RPC response. -
Uses of ServerResponse in io.helidon.webserver.observe.metrics
Methods in io.helidon.webserver.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.webserver.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.webserver.security
Methods in io.helidon.webserver.security with parameters of type ServerResponseModifier and TypeMethodDescriptionSecurityResponseMapper.aborted(ServerResponse serverResponse, SecurityResponse securityResponse, String message) Called when a security response is aborted due to a security problem (e.g.booleanSecurityHttpFeature.authenticate(ServerRequest request, ServerResponse response, boolean requiredHint) booleanSecurityHttpFeature.authorize(ServerRequest request, ServerResponse response, String... roleHint) voidSecurityHandler.handle(ServerRequest req, ServerResponse res) voidSecurityHandler.handleProtocolUpgrade(ServerRequest req, ServerResponse res)