开发者

How to access the current request while in an domain object used by requestfactory?

I am using GWT RequestFactory. When I am in a normal RPC class that extends RemoteServiceServlet I can access the current request using this.getThreadLocalReq开发者_JAVA技巧uest().

Now I am in a Domain object. How can I access the current request? I need to get getThreadLocalRequest().getRemoteUser()


Similarly: RequestFactoryServlet.getThreadLocalRequest().getRemoteUser()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜