public static class RequestServer.DummyRestApiContext extends java.lang.Object implements RestApiContext
Constructor and Description |
---|
RequestServer.DummyRestApiContext() |
Modifier and Type | Method and Description |
---|---|
Schema[] |
getAllSchemas() |
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) |
public Route registerEndpoint(java.lang.String apiName, java.lang.String methodUri, java.lang.Class<? extends Handler> handlerClass, java.lang.String handlerMethod, java.lang.String summary)
registerEndpoint
in interface RestApiContext
public 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)
registerEndpoint
in interface RestApiContext
public Route registerEndpoint(java.lang.String methodUri, java.lang.Class<? extends RestApiHandler> handlerClass)
registerEndpoint
in interface RestApiContext
public void registerSchema(Schema... schemas)
registerSchema
in interface RestApiContext
public Schema[] getAllSchemas()