Uses of Record Class
com.dani.bff.dto.UserProfile
Packages that use UserProfile
-
Uses of UserProfile in com.dani.bff.dto
Methods in com.dani.bff.dto that return UserProfileModifier and TypeMethodDescriptionDownstreamUserResponse.toUserProfile(String requestedUserId) Converts the downstream contract into the stable BFF user contract.static UserProfileUserProfile.unavailable(String userId) Creates a safe placeholder used when the user service is unavailable.DashboardResponse.user()Returns the value of theuserrecord component.Constructors in com.dani.bff.dto with parameters of type UserProfileModifierConstructorDescriptionDashboardResponse(UserProfile user, List<ProductRecommendation> recommendedProducts) Creates an instance of aDashboardResponserecord class. -
Uses of UserProfile in com.dani.bff.gateway
Methods in com.dani.bff.gateway that return types with arguments of type UserProfileModifier and TypeMethodDescriptionreactor.core.publisher.Mono<UserProfile> UserServiceClient.fetchUserProfile(String userId) Fetches a user profile from the user service.reactor.core.publisher.Mono<UserProfile> ResilientDashboardGateway.getUserProfile(String userId) Reads the user's profile with a safe placeholder fallback.