Implementation is immutable and thread-safe. It can be used as either an HTTP request initializer or an HTTP request execute interceptor. {@link #initialize(HttpRequest)} only sets itself as theinterceptor. Authentication is actually done in {@link #intercept(HttpRequest)}, which is implemented using {@link HttpHeaders#setBasicAuthentication(String,String)}.
@since 1.7 @author Yaniv Inbar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|