
protected static class BrowserChannel.LoadModuleMessage extends BrowserChannel.Message
| Constructor and Description |
|---|
LoadModuleMessage(BrowserChannel channel,
String url,
String tabKey,
String sessionKey,
String moduleName,
String userAgent)
Creates a LoadModule message to be sent to the server.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleName() |
String |
getSessionKey() |
String |
getTabKey() |
String |
getUrl() |
String |
getUserAgent() |
static BrowserChannel.LoadModuleMessage |
receive(BrowserChannel channel) |
void |
send() |
getBrowserChannel, isAsynchronous, readMessageTypepublic LoadModuleMessage(BrowserChannel channel, String url, String tabKey, String sessionKey, String moduleName, String userAgent)
channel - BrowserChannel instanceurl - URL of main top-level window - may not be nulltabKey - opaque key identifying the tab in the browser, or an
empty string if it cannot be determined - may not be nullsessionKey - opaque key identifying a particular session (ie,
group of modules) - may not be nullmoduleName - name of GWT module to load - may not be nulluserAgent - user agent identifier of the browser - may not be nullpublic static BrowserChannel.LoadModuleMessage receive(BrowserChannel channel) throws IOException
IOExceptionpublic String getModuleName()
public String getSessionKey()
public String getTabKey()
public String getUrl()
public String getUserAgent()
public void send()
throws IOException
send in class BrowserChannel.MessageIOException - if a subclass encounters an I/O errorCopyright © 2018. All rights reserved.