Class ManageSessionSpecV1
java.lang.Object
com.kingsrook.qqq.middleware.javalin.specs.AbstractEndpointSpec<ManageSessionInput,ManageSessionResponseV1,ManageSessionExecutor>
com.kingsrook.qqq.middleware.javalin.specs.v1.ManageSessionSpecV1
public class ManageSessionSpecV1
extends AbstractEndpointSpec<ManageSessionInput,ManageSessionResponseV1,ManageSessionExecutor>
-
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 endpoint's input object from a javalin contextvoid
handleOutput
(io.javalin.http.Context context, ManageSessionResponseV1 output) build the endpoint's http response (written to the javalin context) from an execution output objectboolean
serveRequest
(io.javalin.http.Context context) Methods inherited from class com.kingsrook.qqq.middleware.javalin.specs.AbstractEndpointSpec
customizeMethod, defineCompleteOperation, defineMethod, defineRequestParameters, defineResponses, defineRoute, getRequestParam, getRequestParamInteger, getRequestParamMap, handleException, newExecutor, newOutput, setQInstance
-
Constructor Details
-
ManageSessionSpecV1
public ManageSessionSpecV1()
-
-
Method Details
-
defineBasicOperation
-
isSecured
public boolean isSecured()- Overrides:
isSecured
in classAbstractEndpointSpec<ManageSessionInput,
ManageSessionResponseV1, ManageSessionExecutor>
-
serveRequest
- Overrides:
serveRequest
in classAbstractEndpointSpec<ManageSessionInput,
ManageSessionResponseV1, ManageSessionExecutor> - Throws:
Exception
-
defineRequestBody
- Overrides:
defineRequestBody
in classAbstractEndpointSpec<ManageSessionInput,
ManageSessionResponseV1, ManageSessionExecutor>
-
buildInput
Description copied from class:AbstractEndpointSpec
build the endpoint's input object from a javalin context- Specified by:
buildInput
in classAbstractEndpointSpec<ManageSessionInput,
ManageSessionResponseV1, ManageSessionExecutor> - Throws:
Exception
-
defineBasicSuccessResponse
-
defineComponentSchemas
-
defineAdditionalBasicResponses
-
handleOutput
public void handleOutput(io.javalin.http.Context context, ManageSessionResponseV1 output) throws Exception Description copied from class:AbstractEndpointSpec
build the endpoint's http response (written to the javalin context) from an execution output object- Specified by:
handleOutput
in classAbstractEndpointSpec<ManageSessionInput,
ManageSessionResponseV1, ManageSessionExecutor> - Throws:
Exception
-