Uses of Class
org.mockserver.grpc.connect.ConnectError
Packages that use ConnectError
-
Uses of ConnectError in org.mockserver.grpc.connect
Methods in org.mockserver.grpc.connect that return ConnectErrorModifier and TypeMethodDescriptionstatic ConnectErrorConnectError.connectError(String code, String message) static ConnectErrorConnectError.connectError(ConnectError.Code code, String message) ConnectError.setDetails(List<Object> details) ConnectError.setMessage(String message) static ConnectErrorConnectUnaryDetector.validateRequestBody(GrpcProtoDescriptorStore descriptorStore, String path, String json) If a descriptor is loaded for this method, validates that the request JSON parses against the method's input message type.Methods in org.mockserver.grpc.connect with parameters of type ConnectErrorModifier and TypeMethodDescriptionstatic HttpResponseConnectResponse.error(ConnectError error) A Connect unary error response: a non-200 HTTP status mapped from the Connect error code, with a JSON body of the shape{"code","message","details"}andContent-Type: application/json.