Uses of Interface
io.helidon.webserver.ServerRequest
Package
Description
Support for Micrometer in Helidon SE.
API and minimal implementation for metrics support service.
Helidon SE OpenAPI Support.
Integration library for
GrpcServer
.Integration library for RxServer.
Reactive web server API.
Access log support for Helidon WebServer.
Helidon SE CORS Support
-
Uses of ServerRequest in io.helidon.integrations.micrometer
Modifier and TypeMethodDescriptionMeterRegistryFactory.Builder.enrollRegistry
(io.micrometer.core.instrument.MeterRegistry meterRegistry, Function<ServerRequest, Optional<Handler>> handlerFunction) Records aMetricRegistry
to be managed byMicrometerSupport
, along with the function that returns anOptional
of aHandler
for processing a given request to the Micrometer endpoint. -
Uses of ServerRequest in io.helidon.metrics.serviceapi
Modifier and TypeMethodDescriptionstatic void
PostRequestMetricsSupport.recordPostProcessingWork
(ServerRequest request, BiConsumer<ServerResponse, Throwable> task) Records a post-processing task to be performed once the response has been sent to the client.void
PostRequestMetricsSupport.runTasks
(ServerRequest request, ServerResponse response, Throwable throwable) Run the post-processing tasks. -
Uses of ServerRequest in io.helidon.openapi
Modifier and TypeMethodDescriptionboolean
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 ServerRequest in io.helidon.security.integration.grpc
Modifier and TypeMethodDescriptionstatic GrpcClientSecurity.Builder
GrpcClientSecurity.builder
(ServerRequest req) Obtain aGrpcClientSecurity
builder.static GrpcClientSecurity
GrpcClientSecurity.create
(ServerRequest req) Create aGrpcClientSecurity
instance. -
Uses of ServerRequest in io.helidon.security.integration.webserver
Modifier and TypeMethodDescriptionvoid
SecurityHandler.accept
(ServerRequest req, ServerResponse res) -
Uses of ServerRequest in io.helidon.webserver
Modifier and TypeMethodDescriptionvoid
ErrorHandler.accept
(ServerRequest req, ServerResponse res, T ex) Error handling consumer.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.boolean
RequestPredicate.test
(ServerRequest request) Evaluate this predicate.Modifier and TypeMethodDescriptionRequestPredicate.and
(Predicate<ServerRequest> predicate) Returns a composed predicate that represents a logical AND expression between this predicate and another predicate.RequestPredicate.or
(Predicate<ServerRequest> predicate) Returns a composed predicate that represents a logical OR expression between this predicate and another predicate. -
Uses of ServerRequest in io.helidon.webserver.accesslog
Modifier and TypeMethodDescriptiondefault 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 ServerRequest in io.helidon.webserver.cors
Modifier and TypeMethodDescriptionvoid
CorsSupport.accept
(ServerRequest request, ServerResponse response)