org.openqa.selenium.remote.server.xdrpc
Class CrossDomainRpc
java.lang.Object
org.openqa.selenium.remote.server.xdrpc.CrossDomainRpc
public class CrossDomainRpc
- extends java.lang.Object
A cross-domain RPC that specifies a command to execute in the WebDriver
wire protocol.
- See Also:
-
WebDriver Wire Protocol
Constructor Summary |
CrossDomainRpc(java.lang.String method,
java.lang.String path,
java.lang.String data)
Creates a new RPC. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrossDomainRpc
public CrossDomainRpc(java.lang.String method,
java.lang.String path,
java.lang.String data)
- Creates a new RPC.
- Parameters:
method
- The method for the desired command.path
- The path for the command resource.data
- The raw data associated with the command.
getMethod
public java.lang.String getMethod()
getPath
public java.lang.String getPath()
getData
public java.lang.String getData()
getDataReader
public java.io.Reader getDataReader()
Copyright © 2012. All Rights Reserved.