public Consumer<WebClient.RequestHeadersSpec<?>> defaultRequest() {
		return spec -> {
			spec.attributes(attrs -> {
				populateDefaultRequestResponse(attrs);
				populateDefaultAuthentication(attrs);
				populateDefaultOAuth2AuthorizedClient(attrs);
			});
		};
	}
public Consumer<WebClient.RequestHeadersSpec<?>> defaultRequest() {
		return spec -> {
			spec.attributes(attrs -> {
				populateDefaultRequestResponse(attrs);
				populateDefaultAuthentication(attrs);
				populateDefaultOAuth2AuthorizedClient(attrs);
			});
		};
	}
public Consumer < WebClient . RequestHeadersSpec < ? > > defaultRequest ( ) { return spec -> { spec . attributes ( attrs -> { populateDefaultRequestResponse ( attrs ) ; populateDefaultAuthentication ( attrs ) ; populateDefaultOAuth2AuthorizedClient ( attrs ) ; } ) ; } ; }
Provides defaults for the {@link HttpServletRequest} and the {@link HttpServletResponse} using
{@link RequestContextHolder}. It also provides defaults for the {@link Authentication} using
{@link SecurityContextHolder}. It also can default the {@link OAuth2AuthorizedClient} using the
{@link #clientRegistrationId(String)} or the {@link #authentication(Authentication)}.
@return the {@link Consumer} to populate the attributes
Provides defaults for the {