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
 Capabilities getCapabilities()
           
 org.openqa.selenium.remote.Response getResponse()
           
 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

getCapabilities

public Capabilities getCapabilities()

getResponse

public org.openqa.selenium.remote.Response getResponse()

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 © 2012. All Rights Reserved.