public interface RestApiContext
Modifier and Type | Method and Description |
---|---|
Route |
registerEndpoint(java.lang.String methodUri,
java.lang.Class<? extends RestApiHandler> handlerClass) |
Route |
registerEndpoint(java.lang.String apiName,
java.lang.String methodUri,
java.lang.Class<? extends Handler> handlerClass,
java.lang.String handlerMethod,
java.lang.String summary) |
Route |
registerEndpoint(java.lang.String apiName,
java.lang.String httpMethod,
java.lang.String url,
java.lang.Class<? extends Handler> handlerClass,
java.lang.String handlerMethod,
java.lang.String summary,
HandlerFactory handlerFactory) |
void |
registerSchema(Schema... schemas) |
Route registerEndpoint(java.lang.String apiName, java.lang.String methodUri, java.lang.Class<? extends Handler> handlerClass, java.lang.String handlerMethod, java.lang.String summary)
Route registerEndpoint(java.lang.String apiName, java.lang.String httpMethod, java.lang.String url, java.lang.Class<? extends Handler> handlerClass, java.lang.String handlerMethod, java.lang.String summary, HandlerFactory handlerFactory)
Route registerEndpoint(java.lang.String methodUri, java.lang.Class<? extends RestApiHandler> handlerClass)
void registerSchema(Schema... schemas)