public class JsonHttpCommandHandler
extends java.lang.Object
Constructor and Description |
---|
JsonHttpCommandHandler(DriverSessions sessions,
java.util.logging.Logger log) |
Modifier and Type | Method and Description |
---|---|
void |
addNewMapping(java.lang.String commandName,
RequiresAllSessions factory) |
void |
addNewMapping(java.lang.String commandName,
RequiresSession factory) |
void |
addNewMapping(java.lang.String commandName,
java.util.function.Supplier<RestishHandler<?>> factory) |
void |
handleRequest(org.openqa.selenium.remote.http.HttpRequest request,
org.openqa.selenium.remote.http.HttpResponse resp) |
public JsonHttpCommandHandler(DriverSessions sessions, java.util.logging.Logger log)
public void addNewMapping(java.lang.String commandName, java.util.function.Supplier<RestishHandler<?>> factory)
public void addNewMapping(java.lang.String commandName, RequiresAllSessions factory)
public void addNewMapping(java.lang.String commandName, RequiresSession factory)
public void handleRequest(org.openqa.selenium.remote.http.HttpRequest request, org.openqa.selenium.remote.http.HttpResponse resp)