Class DeliveryOutputSpecV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.AbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryOutputResponseV1,DeliveryExecutor>
com.kingsrook.qqq.middleware.javalin.specs.v1.DeliveryOutputSpecV1
public class DeliveryOutputSpecV1
extends AbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryOutputResponseV1,DeliveryExecutor>
Authenticated output delivery operation.
-
Field Summary
Fields inherited from class com.kingsrook.qqq.middleware.javalin.specs.AbstractEndpointSpec
qInstance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildInput(io.javalin.http.Context context) Build the typed input; identity always comes from the authenticated session.Describe this versioned operation.Success response contract.Publish response and request schemas.Parameters from the URL path only.voidhandleOutput(io.javalin.http.Context context, DeliveryOutputResponseV1 output) Write the operation response.Methods inherited from class com.kingsrook.qqq.middleware.javalin.specs.AbstractEndpointSpec
checkCredentialScopeOperation, customizeMethod, defineAdditionalBasicResponses, defineCompleteOperation, defineMethod, defineRequestBody, defineResponses, defineRoute, getOpenApiOperationId, getOperationId, getRequestBodyAsJsonObject, getRequestParam, getRequestParamInteger, getRequestParamMap, handleException, isSecured, newExecutor, newOutput, serveRequest, setQInstance
-
Constructor Details
-
DeliveryOutputSpecV1
public DeliveryOutputSpecV1()
-
-
Method Details
-
defineBasicOperation
Describe this versioned operation. -
defineRequestParameters
Parameters from the URL path only. -
buildInput
Build the typed input; identity always comes from the authenticated session.- Specified by:
buildInputin classAbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryOutputResponseV1, DeliveryExecutor> - Throws:
Exception
-
defineComponentSchemas
Publish response and request schemas. -
defineBasicSuccessResponse
Success response contract. -
handleOutput
public void handleOutput(io.javalin.http.Context context, DeliveryOutputResponseV1 output) throws Exception Write the operation response.- Overrides:
handleOutputin classAbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryOutputResponseV1, DeliveryExecutor> - Throws:
Exception
-