public class HttpServletRequestProxy extends Object implements InvocationHandler
HttpServletRequest for a WebDriver command
described by a CrossDomainRpc.| Modifier and Type | Method and Description |
|---|---|
static javax.servlet.http.HttpServletRequest |
createProxy(javax.servlet.http.HttpServletRequest request,
CrossDomainRpc crossDomainRpc,
String xdrpcPath,
String mimeType)
Creates a new proxy.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public static javax.servlet.http.HttpServletRequest createProxy(javax.servlet.http.HttpServletRequest request,
CrossDomainRpc crossDomainRpc,
String xdrpcPath,
String mimeType)
request - The request to override with the proxy.crossDomainRpc - The RPC with the command parameters to patch in.xdrpcPath - The servlet path for the cross-domain request handler;
this path will be stripped from the original request in favor of the
RPC path.mimeType - The mime-type that should be assigned to the proxied
request.Copyright © 2013. All rights reserved.