net.sourceforge.apphere.sessions
Class WebSession

java.lang.Object
  extended bynet.sourceforge.apphere.Session
      extended bynet.sourceforge.apphere.sessions.WebSession
All Implemented Interfaces:
AppHereSession, java.lang.Comparable

public class WebSession
extends Session
implements AppHereSession


Field Summary
 VirtualWebBrowser virtualBrowser
           
 
Fields inherited from class net.sourceforge.apphere.Session
EMAIL, WEB, WORD
 
Constructor Summary
WebSession()
           
 
Method Summary
 VirtualApplication createApp()
           
 java.lang.String getSessType()
          Returns the type.
 java.net.URL getUrl()
           
 void mergeSessions(Session newVals)
           
 void setContent(byte[] newContent)
          Sets the content.
 void setURL(java.lang.String newUrl)
           
 void setURL(java.net.URL newUrl)
           
 
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
 

Field Detail

virtualBrowser

public VirtualWebBrowser virtualBrowser
Constructor Detail

WebSession

public WebSession()
Method Detail

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