java.lang.Object
io.helidon.webserver.grpc.GrpcProtocolSelector
- All Implemented Interfaces:
Http2SubProtocolSelector
Sub-protocol selector for HTTP/2.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webserver.http2.spi.Http2SubProtocolSelector
Http2SubProtocolSelector.SubProtocolHandler -
Field Summary
Fields inherited from interface io.helidon.webserver.http2.spi.Http2SubProtocolSelector
NOT_SUPPORTED -
Method Summary
Modifier and TypeMethodDescriptionstatic GrpcProtocolSelectorcreate()Create a new grpc protocol selector (default).subProtocol(ConnectionContext ctx, io.helidon.http.HttpPrologue prologue, io.helidon.http.http2.Http2Headers headers, io.helidon.http.http2.Http2StreamWriter streamWriter, int streamId, io.helidon.http.http2.Http2Settings serverSettings, io.helidon.http.http2.Http2Settings clientSettings, io.helidon.http.http2.StreamFlowControl flowControl, io.helidon.http.http2.Http2StreamState currentStreamState, Router router)
-
Method Details
-
create
Create a new grpc protocol selector (default).- Returns:
- a new default grpc protocol selector for HTTP/2
-
subProtocol
public SubProtocolResult subProtocol(ConnectionContext ctx, io.helidon.http.HttpPrologue prologue, io.helidon.http.http2.Http2Headers headers, io.helidon.http.http2.Http2StreamWriter streamWriter, int streamId, io.helidon.http.http2.Http2Settings serverSettings, io.helidon.http.http2.Http2Settings clientSettings, io.helidon.http.http2.StreamFlowControl flowControl, io.helidon.http.http2.Http2StreamState currentStreamState, Router router) - Specified by:
subProtocolin interfaceHttp2SubProtocolSelector
-