// Path: 7.SpringMvc/in28minutes-web-springmvc/src/main/java/com/in28minutes/springmvc/web/util/SessionData.java
// public class SessionData implements Serializable {
// 
// 	public SessionData() {
// 		super();
// 	}
// 
// 	private User user;
// 
// 	private Locale locale;
// 
// 	public User getUser() {
// 		return user;
// 	}
// 
// 	public void setUser(User user) {
// 		this.user = user;
// 	}
// 
// 	public Locale getLocale() {
// 		return locale;
// 	}
// 
// 	public void setLocale(Locale locale) {
// 		this.locale = locale;
// 	}
// }


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.in28minutes.springmvc.web.util.SessionData;
package com.in28minutes.springmvc.web.interceptors;




public class SessionCheckInterceptor extends HandlerInterceptorAdapter {

	@Autowired
// Path: 7.SpringMvc/in28minutes-web-springmvc/src/main/java/com/in28minutes/springmvc/web/util/SessionData.java
// public class SessionData implements Serializable {
// 
// 	public SessionData() {
// 		super();
// 	}
// 
// 	private User user;
// 
// 	private Locale locale;
// 
// 	public User getUser() {
// 		return user;
// 	}
// 
// 	public void setUser(User user) {
// 		this.user = user;
// 	}
// 
// 	public Locale getLocale() {
// 		return locale;
// 	}
// 
// 	public void setLocale(Locale locale) {
// 		this.locale = locale;
// 	}
// }


// Path: 7.SpringMvc/in28minutes-web-springmvc/src/main/java/com/in28minutes/springmvc/web/interceptors/SessionCheckInterceptor.java
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import com.in28minutes.springmvc.web.util.SessionData;

package com.in28minutes.springmvc.web.interceptors;




public class SessionCheckInterceptor extends HandlerInterceptorAdapter {

	@Autowired
	private SessionData sessionData;