Uses of Class
org.mockserver.grpc.GrpcJsonMessageConverter
Packages that use GrpcJsonMessageConverter
-
Uses of GrpcJsonMessageConverter in org.mockserver.grpc
Methods in org.mockserver.grpc that return GrpcJsonMessageConverterMethods in org.mockserver.grpc with parameters of type GrpcJsonMessageConverterModifier and TypeMethodDescriptionstatic byte[]GrpcStreamMessageEncoder.encode(String json, com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter) Encode the given message JSON to a gRPC length-prefixed frame. -
Uses of GrpcJsonMessageConverter in org.mockserver.netty.grpc
Constructors in org.mockserver.netty.grpc with parameters of type GrpcJsonMessageConverterModifierConstructorDescriptionGrpcBidiStreamHandler(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter, Function<String, List<String>> responder) Phase 3a constructor: function-based responder (backward compatible).GrpcBidiStreamHandler(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter, GrpcBidiResponse config) Phase 3b constructor: GrpcBidiResponse-driven (without completion callback).GrpcBidiStreamHandler(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter, GrpcBidiResponse config, Runnable completionCallback) Phase 3b constructor: GrpcBidiResponse-driven with completion callback.GrpcBidiStreamHandler(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter, GrpcBidiResponse config, Runnable completionCallback, Configuration configuration, String inboundStreamId) Phase 3b constructor: GrpcBidiResponse-driven with completion callback and inbound breakpoints.GrpcBidiStreamHandler(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter, GrpcBidiResponse config, Runnable completionCallback, Configuration configuration, String inboundStreamId, WebSocketClientRegistry webSocketClientRegistry) Deprecated.use the constructor that accepts inboundBreakpointClientId and inboundBreakpointId from the outer caller to avoid mis-routing across clientsGrpcBidiStreamHandler(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter, GrpcBidiResponse config, Runnable completionCallback, Configuration configuration, String inboundStreamId, WebSocketClientRegistry webSocketClientRegistry, String inboundBreakpointClientId, String inboundBreakpointId) Phase 3b constructor: GrpcBidiResponse-driven with completion callback, inbound breakpoints, per-server WebSocket registry, and pre-resolved breakpoint identity from the outer caller. -
Uses of GrpcJsonMessageConverter in org.mockserver.netty.http3
Constructors in org.mockserver.netty.http3 with parameters of type GrpcJsonMessageConverterModifierConstructorDescriptionHttp3GrpcBidiStreamHandler(io.netty.channel.ChannelHandlerContext ctx, com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter, GrpcBidiResponse config, Runnable completionCallback, MockServerLogger mockServerLogger) Constructs a bidi handler without inbound breakpoint support (default path).Http3GrpcBidiStreamHandler(io.netty.channel.ChannelHandlerContext ctx, com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, GrpcJsonMessageConverter converter, GrpcBidiResponse config, Runnable completionCallback, MockServerLogger mockServerLogger, Configuration configuration, String inboundStreamId, String inboundBreakpointClientId, String inboundBreakpointId, WebSocketClientRegistry webSocketClientRegistry) Constructs a bidi handler with optional inbound (client-to-server) breakpoint support.