Class 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

      Constructors 
      Constructor Description
      CrossDomainRpc​(java.lang.String method, java.lang.String path, java.lang.String data)
      Creates a new RPC.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getContent()  
      java.lang.String getData()  
      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()
      • getContent

        public byte[] getContent()