Spring Framework AbstractUrlViewController - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework AbstractUrlViewController class.

This code example shows how to use the following methods:
 * For example, given the path "/foo/index.html", this controller will point to the view "foo/index". 
 * 
 * @author The Spring Team 
 * @author Sergio Bossa 
 */ 
public class FullPathUrlFilenameViewController extends AbstractUrlViewController { 
     
    private UrlPathHelper urlPathHelper = new UrlPathHelper(); 
     
    private String prefix = ""; 
    private String suffix = ""; 
     
    /** Request URL path String --> view name String */ 
    private final Map viewNameCache = Collections.synchronizedMap(new HashMap()); 
     
    public void setUrlPathHelper(UrlPathHelper urlPathHelper) { 
        // This is an hack for supporting both Spring 1.2.x and 2.0.x 
        super.setUrlPathHelper(urlPathHelper); 
        this.urlPathHelper = urlPathHelper; 
    } 
4
CodeRank
Contextual code suggestions in your IDE  Get Codota for Java
See Code Examples for Spring Framework AbstractUrlViewController Methods: