public class LegacySeleniumRequest extends SeleniumBasedRequest
Constructor and Description |
---|
LegacySeleniumRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
Registry registry) |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getBody() |
java.lang.String |
getNewSessionRequestedCapability(TestSession session) |
createFromRequest, getContentLength, getCreationTime, getDesiredCapabilities, getInputStream, getReader, getRegistry, getRequestType, setBody, setBody, toString
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgrade
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLengthLong, getContentType, getDispatcherType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
public LegacySeleniumRequest(javax.servlet.http.HttpServletRequest httpServletRequest, Registry registry)
public RequestType extractRequestType()
extractRequestType
in class SeleniumBasedRequest
public ExternalSessionKey extractSession()
SeleniumBasedRequest
extractSession
in class SeleniumBasedRequest
public java.util.Map<java.lang.String,java.lang.Object> extractDesiredCapability()
SeleniumBasedRequest
extractDesiredCapability
in class SeleniumBasedRequest
public java.lang.String getNewSessionRequestedCapability(TestSession session)
getNewSessionRequestedCapability
in class SeleniumBasedRequest
public java.lang.String getBody()
getBody
in class SeleniumBasedRequest