|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openqa.grid.web.servlet.handler.RequestHandler
org.openqa.grid.web.servlet.handler.Selenium1RequestHandler
public class Selenium1RequestHandler
Handler processing the selenium1 based requests. Each request body has to be read to get the sessionId at least.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
extractDesiredCapability()
Parse the request to extract the desiredCapabilities. |
RequestType |
extractRequestType()
|
ExternalSessionKey |
extractSession()
Extract the session from the request. |
ExternalSessionKey |
forwardNewSessionRequestAndUpdateRegistry(TestSession session)
Forward the new session request to the TestSession that has been assigned, and parse the response to extract and return the external key assigned by the remote. |
| Methods inherited from class org.openqa.grid.web.servlet.handler.RequestHandler |
|---|
bindSession, compareTo, createHandler, debug, equals, forwardRequest, getDesiredCapabilities, getRegistry, getRequest, getRequestBody, getRequestType, getResponse, getServerSession, getSession, hashCode, process, setDesiredCapabilities, setRequestType, setSession, stop, toString, waitForSessionBound |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public RequestType extractRequestType()
extractRequestType in class RequestHandlerpublic ExternalSessionKey extractSession()
RequestHandler
extractSession in class RequestHandlerpublic java.util.Map<java.lang.String,java.lang.Object> extractDesiredCapability()
RequestHandler
extractDesiredCapability in class RequestHandler
public ExternalSessionKey forwardNewSessionRequestAndUpdateRegistry(TestSession session)
throws NewSessionException
RequestHandler
forwardNewSessionRequestAndUpdateRegistry in class RequestHandlerNewSessionException - in case anything wrong happens during the new session process.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||