Package eu.cqse.teamscale.client
Class JenkinsConsoleInterceptor
java.lang.Object
eu.cqse.teamscale.client.JenkinsConsoleInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
Class for forwarding HTTP-API-responses of Teamscale Uploader to the Jenkins Console.
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion
-
Field Summary
Fields inherited from interface okhttp3.Interceptor
Companion
-
Constructor Summary
ConstructorDescriptionJenkinsConsoleInterceptor
(PrintStream stream) Constructor for intercepting the console output. -
Method Summary
-
Constructor Details
-
JenkinsConsoleInterceptor
Constructor for intercepting the console output.- Parameters:
stream
- printstream of jenkins console.
-
-
Method Details
-
intercept
- Specified by:
intercept
in interfaceokhttp3.Interceptor
- Throws:
IOException
-