Class DeliveryTargetsSpecV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.AbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryTargetStepResponseV1,DeliveryExecutor>
com.kingsrook.qqq.middleware.javalin.specs.v1.DeliveryTargetsSpecV1
public class DeliveryTargetsSpecV1
extends AbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryTargetStepResponseV1,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.Required chosen-values object.Parameters from the URL path only.voidhandleOutput(io.javalin.http.Context context, DeliveryTargetStepResponseV1 output) Write the operation response.Methods inherited from class com.kingsrook.qqq.middleware.javalin.specs.AbstractEndpointSpec
checkCredentialScopeOperation, customizeMethod, defineAdditionalBasicResponses, defineCompleteOperation, defineMethod, defineResponses, defineRoute, getOpenApiOperationId, getOperationId, getRequestBodyAsJsonObject, getRequestParam, getRequestParamInteger, getRequestParamMap, handleException, isSecured, newExecutor, newOutput, serveRequest, setQInstance
-
Constructor Details
-
DeliveryTargetsSpecV1
public DeliveryTargetsSpecV1()
-
-
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,DeliveryTargetStepResponseV1, DeliveryExecutor> - Throws:
Exception
-
defineComponentSchemas
Publish response and request schemas. -
defineBasicSuccessResponse
Success response contract. -
handleOutput
public void handleOutput(io.javalin.http.Context context, DeliveryTargetStepResponseV1 output) throws Exception Write the operation response.- Overrides:
handleOutputin classAbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryTargetStepResponseV1, DeliveryExecutor> - Throws:
Exception
-
defineRequestBody
Required chosen-values object.
-