public abstract class RouteBinding extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RECOMMENDED_CONTENT_TYPE |
| Modifier | Constructor and Description |
|---|---|
protected |
RouteBinding(String path,
Method method,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
dispatch(ApplicationRouter router,
org.vertx.java.core.http.HttpServerRequest req) |
String |
getContentType() |
Method |
getMethod() |
String |
getPath() |
void |
handle(ApplicationRouter router,
org.vertx.java.core.http.HttpServerRequest req) |
String |
toString() |
public static final String RECOMMENDED_CONTENT_TYPE
public String getContentType()
public String getPath()
public Method getMethod()
public void handle(ApplicationRouter router, org.vertx.java.core.http.HttpServerRequest req) throws Exception
Exceptionprotected abstract void dispatch(ApplicationRouter router, org.vertx.java.core.http.HttpServerRequest req) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.