public class WebDriverRequest extends SeleniumBasedRequest
Constructor and Description |
---|
WebDriverRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
Registry registry) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
extractDesiredCapability()
Parse the request to extract the desiredCapabilities.
|
RequestType |
extractRequestType() |
ExternalSessionKey |
extractSession()
Extract the session from the request.
|
String |
getNewSessionRequestedCapability(TestSession session) |
createFromRequest, getBody, getContentLength, getCreationTime, getDesiredCapabilities, getInputStream, getReader, getRegistry, getRequestProtocol, getRequestType, setBody, setBody, toString
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttribute, getAttributeNames, getCharacterEncoding, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public WebDriverRequest(javax.servlet.http.HttpServletRequest httpServletRequest, Registry registry)
public RequestType extractRequestType()
extractRequestType
in class SeleniumBasedRequest
public ExternalSessionKey extractSession()
SeleniumBasedRequest
extractSession
in class SeleniumBasedRequest
public Map<String,Object> extractDesiredCapability()
SeleniumBasedRequest
extractDesiredCapability
in class SeleniumBasedRequest
public String getNewSessionRequestedCapability(TestSession session)
getNewSessionRequestedCapability
in class SeleniumBasedRequest
Copyright © 2014. All rights reserved.