Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/RemoteServiceServlet.java @ 7134:11106b14daf2
Full stop at doc sentence end.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 23 Sep 2013 11:40:11 +0200 |
parents | ea9eef426962 |
children |
comparison
equal
deleted
inserted
replaced
7133:ed1865dc405e | 7134:11106b14daf2 |
---|---|
14 | 14 |
15 public class RemoteServiceServlet | 15 public class RemoteServiceServlet |
16 extends com.google.gwt.user.server.rpc.RemoteServiceServlet | 16 extends com.google.gwt.user.server.rpc.RemoteServiceServlet |
17 { | 17 { |
18 /** | 18 /** |
19 * Return the current logged in user from the HTTP Session | 19 * Return the current logged in user from the HTTP Session. |
20 */ | 20 */ |
21 public User getUser() { | 21 public User getUser() { |
22 HttpSession session = this.getThreadLocalRequest().getSession(); | 22 HttpSession session = this.getThreadLocalRequest().getSession(); |
23 return (User)session.getAttribute("user"); | 23 return (User)session.getAttribute("user"); |
24 } | 24 } |