Spring Framework UrlFilenameViewController - 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 UrlFilenameViewController class.

This code example shows how to use the following methods:
 * 
 * @author ranger 
 * @version $Id: $ 
 * @since 1.8.1 
 */ 
public class OutageResolvedController extends UrlFilenameViewController { 
     
        private String m_successView; 
 
        private OutageService m_outageService ; 
         
        private OutageTable m_outageTable = new OutageTable(); 
         
        /** 
         * <p>setOutageService</p> 
         * 
         * @param service a {@link org.opennms.web.svclayer.outage.OutageService} object. 
         */ 
        public void setOutageService(OutageService service) { 
                m_outageService = service; 
4
CodeRank
This code example shows how to use the following methods:
 *  /page/mrsmith/dashboard = page/mrsmith/dashboard 
 *  /page/mr.smith/dashboard = page/mr <-- incorrect! should resolve to: page/mr.smith/dashboard 
 *  
 * @author Kevin Roast 
 */ 
public class UrlViewController extends UrlFilenameViewController 
{ 
    /** 
     * Extract the URL filename from the given request URI. 
     * @param uri the request URI; for example <code>"/index.html"</code> 
     * @return the extracted URI filename; for example <code>"index"</code> 
     */ 
    @Override 
    protected String extractViewNameFromUrlPath(final String uri) 
    { 
        return uri.substring((uri.charAt(0) == '/' ? 1 : 0)); 
    } 
} 
4
CodeRank
This code example shows how to use the following methods:
 * 
 * @author ranger 
 * @version $Id: $ 
 * @since 1.8.1 
 */ 
public class OutageAllController extends UrlFilenameViewController { 
 
	OutageService m_outageService; 
 
	OutageListBuilder m_cview = new OutageListBuilder(); 
 
	Collection<OnmsOutage> foundOutages; 
 
	Collection<OnmsOutage> viewOutages; 
 
	private String m_successView; 
 
	// private OutageService outageService; 
	// BEAN Setter 
 
4
CodeRank