
public class DevModeSession extends Object
| Constructor and Description |
|---|
DevModeSession(String moduleName,
String userAgent)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleName() |
static DevModeSession |
getSessionForCurrentThread()
Gets the devmode session for the current thread.
|
String |
getUserAgent() |
public DevModeSession(String moduleName, String userAgent)
moduleName - the name of the GWT module for this sessionuserAgent - the User agent field provided by the browser for this
sessionpublic static DevModeSession getSessionForCurrentThread()
setSessionForCurrentThread(), then this will return null.public String getModuleName()
public String getUserAgent()
Copyright © 2018. All rights reserved.