Class ProcessBasedRouterPayload
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.processes.QProcessPayload
com.kingsrook.qqq.middleware.javalin.routeproviders.ProcessBasedRouterPayload
process payload shared the processes which are used as process-based-router
processes. e.g., the fields here are those written to and read by
ProcessBasedRouter.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorProcessBasedRouterPayload
(ProcessState processState) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGetter for cookiesGetter for formParamsGetter for methodgetPath()
Getter for pathGetter for pathParamsGetter for queryParamsGetter for redirectURLbyte[]
Getter for responseBytesGetter for responseHeadersGetter for responseStringGetter for statusCodevoid
setCookies
(Map<String, String> cookies) Setter for cookiesvoid
setFormParams
(Map<String, List<String>> formParams) Setter for formParamsvoid
Setter for methodvoid
Setter for pathvoid
setPathParams
(Map<String, String> pathParams) Setter for pathParamsvoid
setQueryParams
(Map<String, List<String>> queryParams) Setter for queryParamsvoid
setRedirectURL
(String redirectURL) Setter for redirectURLvoid
setResponseBytes
(byte[] responseBytes) Setter for responseBytesvoid
setResponseHeaders
(Map<String, String> responseHeaders) Setter for responseHeadersvoid
setResponseString
(String responseString) Setter for responseStringvoid
setStatusCode
(Integer statusCode) Setter for statusCodewithCookies
(Map<String, String> cookies) Fluent setter for cookieswithFormParams
(Map<String, List<String>> formParams) Fluent setter for formParamswithMethod
(String method) Fluent setter for methodFluent setter for pathwithPathParams
(Map<String, String> pathParams) Fluent setter for pathParamswithQueryParams
(Map<String, List<String>> queryParams) Fluent setter for queryParamswithRedirectURL
(String redirectURL) Fluent setter for redirectURLwithResponseBytes
(byte[] responseBytes) Fluent setter for responseByteswithResponseHeaders
(Map<String, String> responseHeaders) Fluent setter for responseHeaderswithResponseString
(String responseString) Fluent setter for responseStringwithStatusCode
(Integer statusCode) Fluent setter for statusCodeMethods inherited from class com.kingsrook.qqq.backend.core.model.actions.processes.QProcessPayload
allowedFieldTypes, fromProcessState, getFieldList, populateFromProcessState, toProcessState
-
Constructor Details
-
ProcessBasedRouterPayload
public ProcessBasedRouterPayload()Constructor -
ProcessBasedRouterPayload
Constructor
-
-
Method Details
-
getPath
Getter for path -
setPath
Setter for path -
withPath
Fluent setter for path -
getMethod
Getter for method -
setMethod
Setter for method -
withMethod
Fluent setter for method -
getPathParams
-
setPathParams
-
withPathParams
Fluent setter for pathParams -
getCookies
-
setCookies
-
withCookies
Fluent setter for cookies -
getStatusCode
Getter for statusCode -
setStatusCode
Setter for statusCode -
withStatusCode
Fluent setter for statusCode -
getResponseHeaders
-
setResponseHeaders
-
withResponseHeaders
Fluent setter for responseHeaders -
getResponseString
Getter for responseString -
setResponseString
Setter for responseString -
withResponseString
Fluent setter for responseString -
getResponseBytes
public byte[] getResponseBytes()Getter for responseBytes -
setResponseBytes
public void setResponseBytes(byte[] responseBytes) Setter for responseBytes -
withResponseBytes
Fluent setter for responseBytes -
getRedirectURL
Getter for redirectURL -
setRedirectURL
Setter for redirectURL -
withRedirectURL
Fluent setter for redirectURL -
getQueryParams
-
setQueryParams
-
withQueryParams
Fluent setter for queryParams -
getFormParams
-
setFormParams
-
withFormParams
Fluent setter for formParams
-