Class ProcessBasedRouterPayload

java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.processes.QProcessPayload
com.kingsrook.qqq.middleware.javalin.routeproviders.ProcessBasedRouterPayload

public class ProcessBasedRouterPayload extends QProcessPayload
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 Details

    • ProcessBasedRouterPayload

      public ProcessBasedRouterPayload()
      Constructor
    • ProcessBasedRouterPayload

      public ProcessBasedRouterPayload(ProcessState processState)
      Constructor
  • Method Details

    • getPath

      public String getPath()
      Getter for path
    • setPath

      public void setPath(String path)
      Setter for path
    • withPath

      public ProcessBasedRouterPayload withPath(String path)
      Fluent setter for path
    • getMethod

      public String getMethod()
      Getter for method
    • setMethod

      public void setMethod(String method)
      Setter for method
    • withMethod

      public ProcessBasedRouterPayload withMethod(String method)
      Fluent setter for method
    • getPathParams

      public Map<String,String> getPathParams()
      Getter for pathParams
    • setPathParams

      public void setPathParams(Map<String,String> pathParams)
      Setter for pathParams
    • withPathParams

      public ProcessBasedRouterPayload withPathParams(Map<String,String> pathParams)
      Fluent setter for pathParams
    • getCookies

      public Map<String,String> getCookies()
      Getter for cookies
    • setCookies

      public void setCookies(Map<String,String> cookies)
      Setter for cookies
    • withCookies

      public ProcessBasedRouterPayload withCookies(Map<String,String> cookies)
      Fluent setter for cookies
    • getStatusCode

      public Integer getStatusCode()
      Getter for statusCode
    • setStatusCode

      public void setStatusCode(Integer statusCode)
      Setter for statusCode
    • withStatusCode

      public ProcessBasedRouterPayload withStatusCode(Integer statusCode)
      Fluent setter for statusCode
    • getResponseHeaders

      public Map<String,String> getResponseHeaders()
      Getter for responseHeaders
    • setResponseHeaders

      public void setResponseHeaders(Map<String,String> responseHeaders)
      Setter for responseHeaders
    • withResponseHeaders

      public ProcessBasedRouterPayload withResponseHeaders(Map<String,String> responseHeaders)
      Fluent setter for responseHeaders
    • getResponseString

      public String getResponseString()
      Getter for responseString
    • setResponseString

      public void setResponseString(String responseString)
      Setter for responseString
    • withResponseString

      public ProcessBasedRouterPayload withResponseString(String responseString)
      Fluent setter for responseString
    • getResponseBytes

      public byte[] getResponseBytes()
      Getter for responseBytes
    • setResponseBytes

      public void setResponseBytes(byte[] responseBytes)
      Setter for responseBytes
    • withResponseBytes

      public ProcessBasedRouterPayload withResponseBytes(byte[] responseBytes)
      Fluent setter for responseBytes
    • getRedirectURL

      public String getRedirectURL()
      Getter for redirectURL
    • setRedirectURL

      public void setRedirectURL(String redirectURL)
      Setter for redirectURL
    • withRedirectURL

      public ProcessBasedRouterPayload withRedirectURL(String redirectURL)
      Fluent setter for redirectURL
    • getQueryParams

      public Map<String,List<String>> getQueryParams()
      Getter for queryParams
    • setQueryParams

      public void setQueryParams(Map<String,List<String>> queryParams)
      Setter for queryParams
    • withQueryParams

      public ProcessBasedRouterPayload withQueryParams(Map<String,List<String>> queryParams)
      Fluent setter for queryParams
    • getFormParams

      public Map<String,List<String>> getFormParams()
      Getter for formParams
    • setFormParams

      public void setFormParams(Map<String,List<String>> formParams)
      Setter for formParams
    • withFormParams

      public ProcessBasedRouterPayload withFormParams(Map<String,List<String>> formParams)
      Fluent setter for formParams