Class AbstractMiddlewareVersion
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.AbstractMiddlewareVersion
- Direct Known Subclasses:
MiddlewareVersionV1
Baseclass that combines multiple specs together into a single "version" of
the full qqq middleware.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateOpenAPIModel(String basePath) abstract List<AbstractEndpointSpec<?, ?, ?>> hey - don't re-construct the endpoint-spec objects inside this method...io.javalin.apibuilder.EndpointGroupgetJavalinEndpointGroup(QInstance qInstance) abstract StringvoidpreExecute(io.javalin.http.Context context) voidsetQInstance(QInstance qInstance) For initial setup when server boots, set the qInstance - but also, e.g., for development, to do a hot-swap.voidwarnIfPathMethodAlreadyUsed(Method existing, CompleteOperation completeOperation, AbstractEndpointSpec<?, ?, ?> spec)
-
Field Details
-
LOG
-
-
Constructor Details
-
AbstractMiddlewareVersion
public AbstractMiddlewareVersion()
-
-
Method Details
-
getVersion
-
getEndpointSpecs
hey - don't re-construct the endpoint-spec objects inside this method... -
getJavalinEndpointGroup
-
getVersionBasePath
-
setQInstance
For initial setup when server boots, set the qInstance - but also, e.g., for development, to do a hot-swap. -
generateOpenAPIModel
- Throws:
QException
-
warnIfPathMethodAlreadyUsed
public void warnIfPathMethodAlreadyUsed(Method existing, CompleteOperation completeOperation, AbstractEndpointSpec<?, ?, ?> spec) -
preExecute
- Throws:
QException
-