open class BasicAuthorizationInterceptor : ClientHttpRequestInterceptor
ClientHttpRequestInterceptor to apply a BASIC authorization header.
Author
Phillip Webb
Since
4.3.1
BasicAuthorizationInterceptor(username: String, password: String)
Create a new interceptor which adds a BASIC authorization header for the given username and password. |
open fun intercept(request: HttpRequest, body: ByteArray, execution: ClientHttpRequestExecution): ClientHttpResponse |