Package org.mockserver.grpc
package org.mockserver.grpc
-
ClassDescriptionTransport-neutral helper that matches an inbound gRPC bidi message (as JSON) against a
GrpcBidiRule'smatchJsonpattern.Synthesizes schema-valid example protobuf messages from a loaded protobufDescriptors.Descriptor.Handles grpc.health.v1.Health/Check requests without a proto descriptor.Handles gRPC Server Reflection requests without a generated proto stub.Transport-neutral helper that encodes a single gRPC stream message (JSON) into a gRPC length-prefixed frame, ready to be written as an HTTP/2 DATA frame or an HTTP/3 DATA frame.Transport-neutral renderer that turns aGrpcStreamMessagebidi response into the JSON string to emit on the wire, applying optional response templating against the matched inbound gRPC message.Translates between gRPC-Web framing and standard gRPC framing.Incremental gRPC length-prefixed frame decoder that accumulates across multiplefeed()calls, retaining any trailing partial bytes for the next call.