|
||||||||||
| 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 | |
|---|---|
Map<String,Object> |
extractDesiredCapability()
Parse the request to extract the desiredCapabilities. |
RequestType |
extractRequestType()
|
String |
extractSession()
Extract the session from the request. |
String |
forwardNewSessionRequest(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, getCreated, getDesiredCapabilities, getRegistry, getRequest, getRequestBody, getRequestType, getResponse, getServerSession, getSession, hashCode, process, setDesiredCapabilities, setRequestType, setSession, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public RequestType extractRequestType()
extractRequestType in class RequestHandlerpublic String extractSession()
RequestHandler
extractSession in class RequestHandlerpublic Map<String,Object> extractDesiredCapability()
RequestHandler
extractDesiredCapability in class RequestHandlerpublic String forwardNewSessionRequest(TestSession session)
RequestHandler
forwardNewSessionRequest in class RequestHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||