Uses of Interface
io.helidon.webserver.ServerResponse
-
Packages that use ServerResponse Package Description io.helidon.openapi Helidon SE OpenAPI Support.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.io.helidon.webserver.context.propagation Propagation of context data across HTTP for HelidonWebServer
.io.helidon.webserver.cors Helidon SE CORS Support -
-
Uses of ServerResponse in io.helidon.openapi
Methods in io.helidon.openapi with parameters of type ServerResponse Modifier and Type Method Description boolean
OpenApiUi. prepareTextResponseFromMainEndpoint(ServerRequest request, ServerResponse response)
Gives the UI an opportunity to respond to a request arriving at theOpenAPISupport
endpoint for which the best-acceptedMediaType
wastext/html
.protected boolean
OpenApiUiBase. sendStaticText(ServerRequest request, ServerResponse response, MediaType mediaType)
Sends a static text response of the given media type. -
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 default ServerResponse
ServerResponse. addHeader(String name, Iterable<String> values)
Adds header values for a specified name.default ServerResponse
ServerResponse. addHeader(String name, String... values)
Adds header values for a specified name.default ServerResponse
ServerResponse. addHeaders(Parameters parameters)
Copies all of the mappings from the specifiedparameters
to this response headers instance.default ServerResponse
ServerResponse. cachingStrategy(ServerResponse.CachingStrategy cachingStrategy)
Sets theCache-Control
header values according to the specified strategy.ServerResponse
ServerResponse. registerFilter(MessageBodyFilter filter)
ServerResponse
ServerResponse. registerFilter(Function<Flow.Publisher<DataChunk>,Flow.Publisher<DataChunk>> function)
Deprecated.since 2.0.0, useregisterFilter(io.helidon.media.common.MessageBodyFilter)
insteadServerResponse
ServerResponse. registerWriter(MessageBodyStreamWriter<?> writer)
ServerResponse
ServerResponse. registerWriter(MessageBodyWriter<?> writer)
<T> ServerResponse
ServerResponse. registerWriter(Class<T> type, MediaType contentType, Function<? extends T,Flow.Publisher<DataChunk>> function)
Deprecated.since 2.0.0, useregisterWriter(io.helidon.media.common.MessageBodyWriter)
instead<T> ServerResponse
ServerResponse. registerWriter(Class<T> type, Function<T,Flow.Publisher<DataChunk>> function)
Deprecated.Since 2.0.0, useregisterWriter(io.helidon.media.common.MessageBodyWriter)
instead<T> ServerResponse
ServerResponse. registerWriter(Predicate<?> accept, MediaType contentType, Function<T,Flow.Publisher<DataChunk>> function)
Deprecated.since 2.0.0, useregisterWriter(io.helidon.media.common.MessageBodyWriter)
instead<T> ServerResponse
ServerResponse. registerWriter(Predicate<?> accept, Function<T,Flow.Publisher<DataChunk>> function)
Deprecated.since 2.0.0, useregisterWriter(io.helidon.media.common.MessageBodyWriter)
insteaddefault 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 Single<ServerResponse>
ServerResponse. send()
Sends an empty response.Single<ServerResponse>
ServerResponse. send(Flow.Publisher<DataChunk> content)
Send a message as is without any other marshalling, registered filters are applied.Single<ServerResponse>
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.Single<ServerResponse>
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.Single<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)
Deprecated.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)
-
Uses of ServerResponse in io.helidon.webserver.context.propagation
Methods in io.helidon.webserver.context.propagation with parameters of type ServerResponse Modifier and Type Method Description void
ContextPropagationFilter. accept(ServerRequest req, ServerResponse res)
-
Uses of ServerResponse in io.helidon.webserver.cors
Methods in io.helidon.webserver.cors with parameters of type ServerResponse Modifier and Type Method Description void
CorsSupport. accept(ServerRequest request, ServerResponse response)
-