net.sourceforge.apphere.sessions
Class WebSession
java.lang.Object
net.sourceforge.apphere.Session
net.sourceforge.apphere.sessions.WebSession
- All Implemented Interfaces:
- AppHereSession, java.lang.Comparable
- public class WebSession
- extends Session
- implements AppHereSession
Methods inherited from class net.sourceforge.apphere.Session |
compareTo, getContent, getLocation, getMetadata, getName, getSessID, readMetadataAttribute, readMetadataAttributes, setLocation, setMetadata, setName, setSessID, setSessType, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sourceforge.apphere.AppHereSession |
getContent, getLocation, getMetadata, getName, getSessID, readMetadataAttribute, readMetadataAttributes, setLocation, setMetadata, setName, setSessID, setSessType |
virtualBrowser
public VirtualWebBrowser virtualBrowser
WebSession
public WebSession()
setURL
public void setURL(java.lang.String newUrl)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
setURL
public void setURL(java.net.URL newUrl)
getUrl
public java.net.URL getUrl()
getSessType
public java.lang.String getSessType()
- Description copied from interface:
AppHereSession
- Returns the type.
- Specified by:
getSessType
in interface AppHereSession
- Overrides:
getSessType
in class Session
- Returns:
- String
mergeSessions
public void mergeSessions(Session newVals)
- Specified by:
mergeSessions
in interface AppHereSession
- Overrides:
mergeSessions
in class Session
setContent
public void setContent(byte[] newContent)
- Description copied from interface:
AppHereSession
- Sets the content.
- Specified by:
setContent
in interface AppHereSession
- Overrides:
setContent
in class Session
- Parameters:
newContent
- The content to set
createApp
public VirtualApplication createApp()
- Specified by:
createApp
in interface AppHereSession
- Overrides:
createApp
in class Session