|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.ServletRequestWrapper
javax.servlet.http.HttpServletRequestWrapper
org.openqa.grid.web.servlet.handler.SeleniumBasedRequest
org.openqa.grid.web.servlet.handler.LegacySeleniumRequest
public class LegacySeleniumRequest
Field Summary |
---|
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
LegacySeleniumRequest(javax.servlet.http.HttpServletRequest httpServletRequest,
Registry registry)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.openqa.grid.web.servlet.handler.SeleniumBasedRequest |
---|
createFromRequest, getBody, getContentLength, getCreationTime, getDesiredCapabilities, getInputStream, getReader, getRegistry, getRequestProtocol, getRequestType, setBody, setBody, toString |
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper |
---|
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 |
Methods inherited from class javax.servlet.ServletRequestWrapper |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.servlet.ServletRequest |
---|
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 |
Constructor Detail |
---|
public LegacySeleniumRequest(javax.servlet.http.HttpServletRequest httpServletRequest, Registry registry)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |