Package io.jenkins.plugins.harbor.client
Class HarborInterceptor
- java.lang.Object
-
- io.jenkins.plugins.harbor.client.HarborInterceptor
-
- All Implemented Interfaces:
okhttp3.Interceptor
public class HarborInterceptor extends Object implements okhttp3.Interceptor
-
-
Constructor Summary
Constructors Constructor Description HarborInterceptor(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials)
HarborInterceptor(String username, String password)
-
-
-
Method Detail
-
intercept
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException
- Specified by:
intercept
in interfaceokhttp3.Interceptor
- Throws:
IOException
-
-