public class WeblateAuthenticationInterceptor extends Object implements org.springframework.http.client.ClientHttpRequestInterceptor
| Constructor and Description |
|---|
WeblateAuthenticationInterceptor(String authToken) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.client.ClientHttpResponse |
intercept(org.springframework.http.HttpRequest httpRequest,
byte[] bytes,
org.springframework.http.client.ClientHttpRequestExecution clientHttpRequestExecution) |
public WeblateAuthenticationInterceptor(String authToken)
authToken - Weblate API tokenpublic org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest httpRequest,
byte[] bytes,
org.springframework.http.client.ClientHttpRequestExecution clientHttpRequestExecution)
throws IOException
intercept in interface org.springframework.http.client.ClientHttpRequestInterceptorIOExceptionCopyright © 2022 Porsche Informatik. All rights reserved.