Uses of Class
zipkin2.junit.HttpFailure
-
Uses of HttpFailure in zipkin2.junit
Methods in zipkin2.junit that return HttpFailure Modifier and Type Method Description static HttpFailure
HttpFailure. disconnectDuringBody()
Ex a network partition occurs in the middle of the POST requeststatic HttpFailure
HttpFailure. sendErrorResponse(int code, String body)
Ex code 400 when the server cannot read the spansMethods in zipkin2.junit with parameters of type HttpFailure Modifier and Type Method Description ZipkinRule
ZipkinRule. enqueueFailure(HttpFailure failure)
Adds a one-time failure to the http endpoint.