public interface Route extends Serializable
| Modifier and Type | Method and Description |
|---|---|
default Payload |
apply(String uri,
Context context) |
Object |
body(Context context) |
boolean |
matchMethod(String method) |
boolean |
matchUri(String uri) |
default Payload apply(String uri, Context context) throws IOException
IOExceptionboolean matchUri(String uri)
boolean matchMethod(String method)
Object body(Context context) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.