public class JsonHttpRemoteConfig extends Object
Constructor and Description |
---|
JsonHttpRemoteConfig(DriverSessions sessions,
Logger log) |
Modifier and Type | Method and Description |
---|---|
void |
addGlobalHandler(ResultType type,
Result result) |
ResultConfig |
addNewDeleteMapping(String path,
Class<? extends RestishHandler> implementationClass) |
ResultConfig |
addNewGetMapping(String path,
Class<? extends RestishHandler> implementationClass) |
ResultConfig |
addNewPostMapping(String path,
Class<? extends RestishHandler> implementationClass) |
void |
handleRequest(HttpRequest request,
HttpResponse response) |
public JsonHttpRemoteConfig(DriverSessions sessions, Logger log)
public void addGlobalHandler(ResultType type, Result result)
public ResultConfig addNewGetMapping(String path, Class<? extends RestishHandler> implementationClass)
public ResultConfig addNewPostMapping(String path, Class<? extends RestishHandler> implementationClass)
public ResultConfig addNewDeleteMapping(String path, Class<? extends RestishHandler> implementationClass)
public void handleRequest(HttpRequest request, HttpResponse response) throws WebDriverException
WebDriverException
Copyright © 2013. All rights reserved.