org.openqa.selenium.remote.server.xdrpc
Class CrossDomainRpc

java.lang.Object
  extended by 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.
 
Method Summary
 java.lang.String getData()
           
 java.io.Reader getDataReader()
           
 java.lang.String getMethod()
           
 java.lang.String getPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.