Package com.buildless.telemetry
Class HttpResponseInfoValidator
java.lang.Object
com.buildless.telemetry.HttpResponseInfoValidator
- All Implemented Interfaces:
io.envoyproxy.pgv.ValidatorImpl<HttpResponseInfo>
public class HttpResponseInfoValidator
extends Object
implements io.envoyproxy.pgv.ValidatorImpl<HttpResponseInfo>
Validates
HttpResponseInfo protobuf objects.-
Field Summary
Fields inherited from interface io.envoyproxy.pgv.ValidatorImpl
ALWAYS_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertValid(HttpResponseInfo proto, io.envoyproxy.pgv.ValidatorIndex index) static io.envoyproxy.pgv.ValidatorImplvalidatorFor(Class clazz)
-
Constructor Details
-
HttpResponseInfoValidator
public HttpResponseInfoValidator()
-
-
Method Details
-
validatorFor
-
assertValid
public void assertValid(HttpResponseInfo proto, io.envoyproxy.pgv.ValidatorIndex index) throws io.envoyproxy.pgv.ValidationException - Specified by:
assertValidin interfaceio.envoyproxy.pgv.ValidatorImpl<HttpResponseInfo>- Throws:
io.envoyproxy.pgv.ValidationException
-