Code example for AbstractHandlerMapping

0
	 
	private ScreenRepository repository; 
	 
	private String servletPrefix = ""; 
	 
	public ScreenHandlerMapping(ScreenRepository repository) { 
		this.repository = repository; 
	} 
	 
	public void setServletPrefix(String servletPrefix) { 
		this.servletPrefix = servletPrefix; 
	} 
 
	@Override 
	protected Object getHandlerInternal(HttpServletRequest request) 
			throws Exception { 
		 
		String path = ServletUtils.getPathWithoutServletMapping(request); 
		String[] s = StringUtils.tokenizeToStringArray(path, "/");