oauth2/oauth2-client/src/main/java/org/springframework/security/oauth2/client/userinfo/CustomUserTypesOAuth2UserService.java
public final void setRequestEntityConverter(Converter<OAuth2UserRequest, RequestEntity<?>> requestEntityConverter) {
		Assert.notNull(requestEntityConverter, "requestEntityConverter cannot be null");
		this.requestEntityConverter = requestEntityConverter;
	}
public final void setRequestEntityConverter(Converter<OAuth2UserRequest, RequestEntity<?>> requestEntityConverter) {
		Assert.notNull(requestEntityConverter, "requestEntityConverter cannot be null");
		this.requestEntityConverter = requestEntityConverter;
	}
public final void setRequestEntityConverter ( Converter < OAuth2UserRequest , RequestEntity < ? > > requestEntityConverter ) { Assert . notNull ( requestEntityConverter , "requestEntityConverter cannot be null" ) ; this . requestEntityConverter = requestEntityConverter ; }
Sets the {@link Converter} used for converting the {@link OAuth2UserRequest}
to a {@link RequestEntity} representation of the UserInfo Request.

@since 5.1
@param requestEntityConverter the {@link Converter} used for converting to a {@link RequestEntity} representation of the UserInfo Request
Sets the { @link Converter } used for converting the { @link OAuth2UserRequest } to a { @link RequestEntity } representation of the UserInfo Request .