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 void
JacksonSupport. 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 JacksonSupport
JacksonSupport. 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 void
JsonBindingSupport. 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 JsonBindingSupport
JsonBindingSupport. 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 void
JsonSupport. accept(ServerRequest request, ServerResponse response)
It registers reader and writer forJsonSupport
onServerRequest
/ServerResponse
on 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 void
SecurityHandler. 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 ServerResponse
ServerResponse. registerFilter(Function<Flow.Publisher<DataChunk>,Flow.Publisher<DataChunk>> function)
Registers a provider of the new response content publisher - typically a filter.<T> ServerResponse
ServerResponse. 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> ServerResponse
ServerResponse. registerWriter(Class<T> type, Function<T,Flow.Publisher<DataChunk>> function)
Registers a content writer for a given type.<T> ServerResponse
ServerResponse. registerWriter(Predicate<?> accept, MediaType contentType, Function<T,Flow.Publisher<DataChunk>> function)
Registers a content writer for all accepted contents.<T> ServerResponse
ServerResponse. registerWriter(Predicate<?> accept, Function<T,Flow.Publisher<DataChunk>> function)
Registers a content writer for all accepted contents.default ServerResponse
ServerResponse. status(int statusCode)
Sets new HTTP status code.ServerResponse
ServerResponse. 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 void
ErrorHandler. accept(ServerRequest req, ServerResponse res, T ex)
Error handling consumer.void
FormParamsSupport. accept(ServerRequest req, ServerResponse res)
void
Handler. accept(ServerRequest req, ServerResponse res)
void
Handler.EntityHandler. accept(ServerRequest req, ServerResponse res, T entity)
void
RequestPredicate.ConditionalHandler. accept(ServerRequest req, ServerResponse res)
protected boolean
JsonService. acceptsJson(ServerRequest request, ServerResponse response)
Determines if JSON is an accepted response type, usingAccept
and responseContent-Type
headers. -
Uses of ServerResponse in io.helidon.webserver.accesslog
Methods in io.helidon.webserver.accesslog that return ServerResponse Modifier and Type Method Description ServerResponse
AccessLogContext. 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 void
AccessLogEntry. accept(ServerRequest req, ServerResponse res)
This method allows for each log entry to register anything on the request and/or response.void
SizeLogEntry. accept(ServerRequest req, ServerResponse res)
-