Code example for ModelAndView

Methods: addAllObjectsaddObjectsetViewsetViewName

0
        map.put("albums", albums); 
        map.put("topTracks", topTracks); 
        map.put("user", user); 
 
        ModelAndView result = super.handleRequestInternal(request, response); 
        result.addObject("model", map); 
        return result; 
    } 
     
    // Spring setters 
 
	public void setArtistInfoService(ArtistInfoService artistInfoService) { 
		this.artistInfoService = artistInfoService; 
	} 
 
	public void setArtistTopTagsService(ArtistTopTagsService artistTopTagsService) { 
		this.artistTopTagsService = artistTopTagsService; 
	} 
 
	public void setMusicBrainzService(MusicBrainzService musicBrainzService) { 
		this.musicBrainzService = musicBrainzService; 
	} 
 
	public void setArtistTopTracksService(ArtistTopTracksService artistTopTracksService) { 
		this.artistTopTracksService = artistTopTracksService; 
	} 
 
	public void setMediaFileService(MediaFileService mediaFileService) { 
		this.mediaFileService = mediaFileService; 
	} 
 
	public void setSecurityService(SecurityService securityService) { 
		this.securityService = securityService; 
	} 
 
	public void setSettingsService(SettingsService settingsService) { 
		this.settingsService = settingsService; 
	} 
 
	public void setStarService(StarService starService) { 
		this.starService = starService; 
	} 
    
} 
Contextual code suggestions in your IDE  Get Codota for Java