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

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

public class NewSession
extends java.lang.Object
implements RestishHandler, JsonParametersAware


Constructor Summary
NewSession(DriverSessions allSession)
           
 
Method Summary
 Capabilities getCapabilities()
           
 Response getResponse()
           
 java.lang.String getSessionId()
           
 ResultType handle()
           
 void setJsonParameters(java.util.Map<java.lang.String,java.lang.Object> allParameters)
           
 java.lang.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 Response getResponse()

setJsonParameters

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

handle

public ResultType handle()
                  throws java.lang.Exception
Specified by:
handle in interface RestishHandler
Throws:
java.lang.Exception

getSessionId

public java.lang.String getSessionId()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012. All Rights Reserved.