org.openqa.selenium.server
Class DefaultRemoteCommand
java.lang.Object
org.openqa.selenium.server.DefaultRemoteCommand
- All Implemented Interfaces:
- RemoteCommand
public class DefaultRemoteCommand
- extends Object
- implements RemoteCommand
The default implementation of the RemoteCommand interface
- Version:
- $Revision: 184 $
- Author:
- Paul Hammant
DefaultRemoteCommand
public DefaultRemoteCommand(String command,
String field,
String value)
DefaultRemoteCommand
public DefaultRemoteCommand(String command,
String field,
String value,
String piggybackedJavaScript)
getCommandURLString
public String getCommandURLString()
- Description copied from interface:
RemoteCommand
- Return the URL query string which will be sent to the browser
- Specified by:
getCommandURLString
in interface RemoteCommand
getJSONString
public String getJSONString()
getCommand
public String getCommand()
- Specified by:
getCommand
in interface RemoteCommand
getField
public String getField()
- Specified by:
getField
in interface RemoteCommand
getValue
public String getValue()
- Specified by:
getValue
in interface RemoteCommand
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
parse
public static RemoteCommand parse(String inputLine)
- Factory method to create a RemoteCommand from a wiki-style input string
getPiggybackedJavaScript
public String getPiggybackedJavaScript()
- Specified by:
getPiggybackedJavaScript
in interface RemoteCommand
Copyright © 2012. All Rights Reserved.