Class DeliveryDestinationsSpecV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.AbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryDestinationsResponseV1,DeliveryExecutor>
com.kingsrook.qqq.middleware.javalin.specs.v1.DeliveryDestinationsSpecV1
public class DeliveryDestinationsSpecV1
extends AbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryDestinationsResponseV1,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, DeliveryDestinationsResponseV1 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
-
DeliveryDestinationsSpecV1
public DeliveryDestinationsSpecV1()
-
-
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,DeliveryDestinationsResponseV1, DeliveryExecutor> - Throws:
Exception
-
defineComponentSchemas
Publish response and request schemas. -
defineBasicSuccessResponse
Success response contract. -
handleOutput
public void handleOutput(io.javalin.http.Context context, DeliveryDestinationsResponseV1 output) throws Exception Write the operation response.- Overrides:
handleOutputin classAbstractEndpointSpec<DeliveryMiddlewareInput,DeliveryDestinationsResponseV1, DeliveryExecutor> - Throws:
Exception
-