Uses of Interface
io.helidon.webserver.http.ServerRequest
Packages that use ServerRequest
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.
Helidon WebServer SSE Support.
-
Uses of ServerRequest in io.helidon.webserver.http
Classes in io.helidon.webserver.http with type parameters of type ServerRequestModifier and TypeClassDescriptionclassServerRequest__ServiceDescriptor<T extends ServerRequest>Service descriptor forServerRequest.Subinterfaces of ServerRequest in io.helidon.webserver.httpFields in io.helidon.webserver.http with type parameters of type ServerRequestModifier and TypeFieldDescriptionstatic final ServerRequest__ServiceDescriptor<ServerRequest> ServerRequest__ServiceDescriptor.INSTANCEGlobal singleton instance for this descriptor.Methods in io.helidon.webserver.http with parameters of type ServerRequestModifier 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.protected final <X extends Sink<?>>
XServerResponseBase.createSink(SinkProvider<?> provider, ServerRequest request, ConnectionContext connectionContext, Function<Runnable, Optional<OutputStream>> entityOutputStreamProvider, Runnable closeRunnable, Runnable flushHeadersRunnable) Create a sink using the shared provider context and protocol-specific callbacks.protected final SinkProvider<?> ServerResponseBase.findSinkProvider(GenericType<? extends Sink<?>> sinkType, ServerRequest request) Find a sink provider for the requested sink type.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) HttpServiceLocator.locate(ServerRequest request) Locate an HTTP service for the current request.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 ServerRequestModifier and TypeMethodDescriptionstatic HandlerHandler.create(Consumer<ServerRequest> handler) Create a handler that consumes aServerRequestand returnsStatus.OK_200.static HandlerHandler.create(Function<ServerRequest, ?> handler) Create a handler that consumes aServerRequestand returns an entity object.static HttpServiceLocatorHttpServiceLocator.create(Function<ServerRequest, Optional<HttpService>> locator) Create a service locator from a locating function.default HttpRouting.BuilderHttpRouting.Builder.route(Method method, String pathPattern, Consumer<ServerRequest> handler) default HttpRouting.BuilderHttpRouting.Builder.route(Method method, String pathPattern, Function<ServerRequest, ?> handler) default HttpRulesHttpRules.route(Method method, String pathPattern, Consumer<ServerRequest> handler) Add a route.default HttpRulesHttpRules.route(Method method, String pathPattern, Function<ServerRequest, ?> handler) Add a route.Constructors in io.helidon.webserver.http with parameters of type ServerRequestModifierConstructorDescriptionprotectedServerResponseBase(ConnectionContext ctx, ServerRequest request) Create server response. -
Uses of ServerRequest in io.helidon.webserver.http.spi
Methods in io.helidon.webserver.http.spi that return ServerRequestModifier and TypeMethodDescriptiondefault ServerRequestSinkProviderContext.serverRequest()Obtains the server request associated with this context.Methods in io.helidon.webserver.http.spi with parameters of type ServerRequestModifier and TypeMethodDescriptionvoidProtocolUpgradeHandler.handleProtocolUpgrade(ServerRequest req, ServerResponse res) Handle an HTTP/1 protocol upgrade request before the protocol switch.booleanSinkProvider.supports(GenericType<? extends Sink<?>> type, ServerRequest request) Checks if a provider supports the type. -
Uses of ServerRequest in io.helidon.webserver.jsonrpc
Subinterfaces of ServerRequest in io.helidon.webserver.jsonrpcModifier and TypeInterfaceDescriptioninterfaceA representation of a JSON-RPC request.Methods in io.helidon.webserver.jsonrpc with parameters of type ServerRequestModifier and TypeMethodDescriptionJsonRpcErrorHandler.handle(ServerRequest req, JsonObject jsonObject) Handler for a JSON-RPC erroneous request. -
Uses of ServerRequest in io.helidon.webserver.observe.metrics
Methods in io.helidon.webserver.observe.metrics with parameters of type ServerRequestModifier 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.runTasks(ServerRequest request, ServerResponse response, Throwable throwable) Run the post-processing tasks. -
Uses of ServerRequest in io.helidon.webserver.security
Methods in io.helidon.webserver.security with parameters of type ServerRequestModifier and TypeMethodDescriptionbooleanSecurityHttpFeature.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) -
Uses of ServerRequest in io.helidon.webserver.sse
Methods in io.helidon.webserver.sse with parameters of type ServerRequestModifier and TypeMethodDescriptionbooleanSseSinkProvider.supports(GenericType<? extends Sink<?>> type, ServerRequest request)