Uses of Interface
io.helidon.webserver.ConnectionContext
Packages that use ConnectionContext
Package
Description
Helidon WebServer gRPC Support.
Helidon WebServer HTTP specific APIs.
Helidon WebServer HTTP SPI.
Helidon WebServer HTTP/1.1 specific APIs.
Helidon WebServer HTTP/1.1 specific SPIs.
Helidon WebServer HTTP/2 Support.
Helidon WebServer HTTP/2 SPI.
Helidon WebServer SPI.
WebSocket server support.
-
Uses of ConnectionContext in io.helidon.webserver.grpc
Methods in io.helidon.webserver.grpc with parameters of type ConnectionContextModifier and TypeMethodDescriptionGrpcProtocolSelector.subProtocol(ConnectionContext ctx, HttpPrologue prologue, Http2Headers headers, Http2StreamWriter streamWriter, int streamId, Http2Settings serverSettings, Http2Settings clientSettings, StreamFlowControl flowControl, Http2StreamState currentStreamState, Router router) -
Uses of ConnectionContext in io.helidon.webserver.http
Methods in io.helidon.webserver.http with parameters of type ConnectionContextModifier and TypeMethodDescriptionprotected 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.voidFilters.filter(ConnectionContext ctx, RoutingRequest request, RoutingResponse response, Callable<Void> routingExecutor) Filter request.voidHttpRouting.route(ConnectionContext ctx, RoutingRequest request, RoutingResponse response) Route a request.voidErrorHandlers.runWithErrorHandling(ConnectionContext ctx, RoutingRequest request, RoutingResponse response, Callable<Void> task) Run a task and handle the errors, if any.Constructors in io.helidon.webserver.http with parameters of type ConnectionContextModifierConstructorDescriptionprotectedServerResponseBase(ConnectionContext ctx, ServerRequest request) Create server response. -
Uses of ConnectionContext in io.helidon.webserver.http.spi
Methods in io.helidon.webserver.http.spi that return ConnectionContextModifier and TypeMethodDescriptionSinkProviderContext.connectionContext()Obtains access to the connection context. -
Uses of ConnectionContext in io.helidon.webserver.http1
Subinterfaces with type arguments of type ConnectionContext in io.helidon.webserver.http1Modifier and TypeInterfaceDescriptioninterfaceConnection listener for HTTP/1.1.Methods in io.helidon.webserver.http1 with parameters of type ConnectionContextModifier and TypeMethodDescriptionHttp1ConnectionSelector.connection(ConnectionContext ctx) voidHttp1LoggingConnectionListener.data(ConnectionContext ctx, byte[] bytes, int offset, int length) voidHttp1LoggingConnectionListener.data(ConnectionContext ctx, BufferData data) default voidHttp1ConnectionListener.headers(ConnectionContext ctx, Headers headers) Handle headers.voidHttp1LoggingConnectionListener.headers(ConnectionContext ctx, Headers headers) default voidHttp1ConnectionListener.prologue(ConnectionContext ctx, HttpPrologue prologue) Handle prologue.voidHttp1LoggingConnectionListener.prologue(ConnectionContext ctx, HttpPrologue prologue) default voidHttp1ConnectionListener.status(ConnectionContext ctx, Status status) Handle status (server response only).voidHttp1LoggingConnectionListener.status(ConnectionContext ctx, Status status) -
Uses of ConnectionContext in io.helidon.webserver.http1.spi
Methods in io.helidon.webserver.http1.spi with parameters of type ConnectionContextModifier and TypeMethodDescriptionHttp1RoutedUpgrader.routedUpgrade(ConnectionContext ctx, HttpPrologue prologue, WritableHeaders<?> headers) Prepare an upgrade that should run through HTTP routing filters and route policies before the protocol switch is completed.Http1UpgradeRouting.routeUpgrade(ConnectionContext ctx, RoutingRequest request, RoutingResponse response, Http1UpgradeResponse upgradeResponse, Http1RoutedUpgrade upgrade) Route a prepared HTTP/1 upgrade through filters and protocol-upgrade policies.Http1Upgrader.upgrade(ConnectionContext ctx, HttpPrologue prologue, WritableHeaders<?> headers) Upgrade connection. -
Uses of ConnectionContext in io.helidon.webserver.http2
Methods in io.helidon.webserver.http2 with parameters of type ConnectionContextModifier and TypeMethodDescriptionHttp2ConnectionSelector.connection(ConnectionContext ctx) Http2Upgrader.upgrade(ConnectionContext ctx, HttpPrologue prologue, WritableHeaders<?> headers) -
Uses of ConnectionContext in io.helidon.webserver.http2.spi
Methods in io.helidon.webserver.http2.spi with parameters of type ConnectionContextModifier and TypeMethodDescriptionHttp2SubProtocolSelector.subProtocol(ConnectionContext ctx, HttpPrologue prologue, Http2Headers headers, Http2StreamWriter streamWriter, int streamId, Http2Settings serverSettings, Http2Settings clientSettings, StreamFlowControl streamFlowControl, Http2StreamState currentStreamState, Router router) Check if this is a sub-protocol request and return appropriate result. -
Uses of ConnectionContext in io.helidon.webserver.spi
Methods in io.helidon.webserver.spi with parameters of type ConnectionContextModifier and TypeMethodDescriptionServerConnectionSelector.connection(ConnectionContext ctx) Create a new connection. -
Uses of ConnectionContext in io.helidon.webserver.websocket
Methods in io.helidon.webserver.websocket with parameters of type ConnectionContextModifier and TypeMethodDescriptionstatic WsConnectionWsConnection.create(ConnectionContext ctx, HttpPrologue prologue, Headers upgradeHeaders, String wsKey, WsRoute wsRoute) Create a new connection using a route.static WsConnectionWsConnection.create(ConnectionContext ctx, HttpPrologue prologue, Headers upgradeHeaders, String wsKey, WsListener wsListener) Create a new connection using a listener.protected StringWsUpgrader.hash(ConnectionContext ctx, String wsKey) Create the WebSocket accept hash.WsUpgrader.upgrade(ConnectionContext ctx, HttpPrologue prologue, WritableHeaders<?> headers)