Class GetClientRegistrationInfoTokenCmd

java.lang.Object
com.flowable.platform.engine.impl.cmd.GetClientRegistrationInfoTokenCmd
All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<String>

public class GetClientRegistrationInfoTokenCmd extends Object implements org.flowable.common.engine.impl.interceptor.Command<String>
Author:
Filip Hrisafov
  • Field Details

    • registrationKey

      protected String registrationKey
    • tenantId

      protected String tenantId
  • Constructor Details

    • GetClientRegistrationInfoTokenCmd

      public GetClientRegistrationInfoTokenCmd(String registrationKey, String tenantId)
  • Method Details

    • execute

      public String execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      execute in interface org.flowable.common.engine.impl.interceptor.Command<String>
    • readResponseBody

      protected com.fasterxml.jackson.databind.JsonNode readResponseBody(org.flowable.http.common.api.HttpResponse response, PlatformEngineConfiguration engineConfiguration)
    • getErrorMessage

      protected String getErrorMessage(HttpStatus status, org.flowable.http.common.api.HttpResponse response, PlatformEngineConfiguration engineConfiguration)
    • getBadRequestResponseErrorMessage

      protected String getBadRequestResponseErrorMessage(org.flowable.http.common.api.HttpResponse response, PlatformEngineConfiguration engineConfiguration)
    • getBadRequestErrorMessageFromHeaders

      protected String getBadRequestErrorMessageFromHeaders(org.flowable.http.common.api.HttpHeaders httpHeaders)
    • createErrorMessage

      protected String createErrorMessage(String errorCode, String errorDescription)