Interface CommandCodec<T>
- Type Parameters:
T- The type of encoded command.
- All Known Implementing Classes:
AbstractHttpCommandCodec, W3CHttpCommandCodec
public interface CommandCodec<T>
Converts
Command objects to and from another representation.-
Method Summary
Modifier and TypeMethodDescriptionvoidAllow commands to have aliases.Decodes a command.voiddefineCommand(String name, org.openqa.selenium.remote.http.HttpMethod method, String pathPattern) Enhance this command codec with additional commands.Encodes a command.booleanisSupported(String commandName)
-
Method Details
-
isSupported
- Returns:
- Whether this
CommandCodecsupports the given command name.
-
encode
-
decode
-
defineCommand
-
alias
-