Uses of Interface
io.helidon.webserver.ServerResponse
-
Packages that use ServerResponse Package Description io.helidon.media.jackson.server io.helidon.media.jsonb.server io.helidon.media.jsonp.server io.helidon.security.integration.webserver Integration library for RxServer.io.helidon.webserver Reactive web server API.io.helidon.webserver.accesslog Access log support for Helidon WebServer. -
-
Uses of ServerResponse in io.helidon.media.jackson.server
Methods in io.helidon.media.jackson.server with parameters of type ServerResponse Modifier and Type Method Description voidJacksonSupport. accept(ServerRequest request, ServerResponse response)Method parameters in io.helidon.media.jackson.server with type arguments of type ServerResponse Modifier and Type Method Description static JacksonSupportJacksonSupport. create(BiFunction<? super ServerRequest,? super ServerResponse,? extends ObjectMapper> objectMapperProvider)Creates a newJacksonSupport. -
Uses of ServerResponse in io.helidon.media.jsonb.server
Methods in io.helidon.media.jsonb.server with parameters of type ServerResponse Modifier and Type Method Description voidJsonBindingSupport. accept(ServerRequest request, ServerResponse response)Method parameters in io.helidon.media.jsonb.server with type arguments of type ServerResponse Modifier and Type Method Description static JsonBindingSupportJsonBindingSupport. create(BiFunction<? super ServerRequest,? super ServerResponse,? extends Jsonb> jsonbProvider)Creates a newJsonBindingSupport. -
Uses of ServerResponse in io.helidon.media.jsonp.server
Methods in io.helidon.media.jsonp.server with parameters of type ServerResponse Modifier and Type Method Description voidJsonSupport. accept(ServerRequest request, ServerResponse response)It registers reader and writer forJsonSupportonServerRequest/ServerResponseon provided routing criteria. -
Uses of ServerResponse in io.helidon.security.integration.webserver
Methods in io.helidon.security.integration.webserver with parameters of type ServerResponse Modifier and Type Method Description voidSecurityHandler. accept(ServerRequest req, ServerResponse res) -
Uses of ServerResponse in io.helidon.webserver
Methods in io.helidon.webserver that return ServerResponse Modifier and Type Method Description ServerResponseServerResponse. registerFilter(Function<Flow.Publisher<DataChunk>,Flow.Publisher<DataChunk>> function)Registers a provider of the new response content publisher - typically a filter.<T> ServerResponseServerResponse. registerWriter(Class<T> type, MediaType contentType, Function<? extends T,Flow.Publisher<DataChunk>> function)Registers a content writer for a given type and media type.<T> ServerResponseServerResponse. registerWriter(Class<T> type, Function<T,Flow.Publisher<DataChunk>> function)Registers a content writer for a given type.<T> ServerResponseServerResponse. registerWriter(Predicate<?> accept, MediaType contentType, Function<T,Flow.Publisher<DataChunk>> function)Registers a content writer for all accepted contents.<T> ServerResponseServerResponse. registerWriter(Predicate<?> accept, Function<T,Flow.Publisher<DataChunk>> function)Registers a content writer for all accepted contents.default ServerResponseServerResponse. status(int statusCode)Sets new HTTP status code.ServerResponseServerResponse. status(Http.ResponseStatus status)Sets new HTTP status.Methods in io.helidon.webserver that return types with arguments of type ServerResponse Modifier and Type Method Description CompletionStage<ServerResponse>ServerResponse. send()Sends an empty response.CompletionStage<ServerResponse>ServerResponse. send(Flow.Publisher<DataChunk> content)Send a message as is without any other marshalling.<T> CompletionStage<ServerResponse>ServerResponse. send(T content)Send a message and close the response.CompletionStage<ServerResponse>ServerResponse. whenSent()Completion stage is completed when response is completed.Methods in io.helidon.webserver with parameters of type ServerResponse Modifier and Type Method Description voidErrorHandler. accept(ServerRequest req, ServerResponse res, T ex)Error handling consumer.voidFormParamsSupport. accept(ServerRequest req, ServerResponse res)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.webserver.accesslog
Methods in io.helidon.webserver.accesslog that return ServerResponse Modifier and Type Method Description ServerResponseAccessLogContext. serverResponse()The server response, after data was sent.Methods in io.helidon.webserver.accesslog with parameters of type ServerResponse Modifier and Type Method Description default 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)
-