public class UrlMapper extends Object
| Constructor and Description |
|---|
UrlMapper(DriverSessions sessions,
Logger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGlobalHandler(ResultType type,
Result result) |
ResultConfig |
bind(String url,
Class<? extends RestishHandler> handlerClazz) |
ResultConfig |
getConfig(String url) |
public UrlMapper(DriverSessions sessions, Logger log)
public ResultConfig bind(String url, Class<? extends RestishHandler> handlerClazz)
public ResultConfig getConfig(String url)
public void addGlobalHandler(ResultType type, Result result)
Copyright © 2013. All rights reserved.