org.openqa.selenium.remote.server.handler
Class NewSession

java.lang.Object
  extended by org.openqa.selenium.remote.server.handler.NewSession
All Implemented Interfaces:
JsonParametersAware, Handler

public class NewSession
extends Object
implements Handler, JsonParametersAware


Constructor Summary
NewSession(DriverSessions allSession)
           
 
Method Summary
 String getSessionId()
           
 ResultType handle()
           
 void setJsonParameters(Map<String,Object> allParameters)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NewSession

public NewSession(DriverSessions allSession)
Method Detail

setJsonParameters

public void setJsonParameters(Map<String,Object> allParameters)
                       throws Exception
Specified by:
setJsonParameters in interface JsonParametersAware
Throws:
Exception

handle

public ResultType handle()
                  throws Exception
Specified by:
handle in interface Handler
Throws:
Exception

getSessionId

public String getSessionId()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.