Class FrankApiService

java.lang.Object
org.frankframework.console.controllers.FrankApiService
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

@Service public class FrankApiService extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
  • Constructor Details

  • Method Details

    • getGateway

      protected final OutboundGateway getGateway()
    • sendSyncMessage

      @Nonnull protected org.springframework.messaging.Message<?> sendSyncMessage(RequestMessageBuilder input)
    • callSyncGateway

      public org.springframework.http.ResponseEntity<?> callSyncGateway(RequestMessageBuilder input) throws ApiException
      Throws:
      ApiException
    • callSyncGateway

      public org.springframework.http.ResponseEntity<?> callSyncGateway(RequestMessageBuilder input, boolean preFillCache) throws ApiException
      Overload of the normal callSyncGateway but can `prefill` the cache (for WebSockets). The response message must be an instance of String else it won't be cached.
      Throws:
      ApiException
    • callAsyncGateway

      public org.springframework.http.ResponseEntity<?> callAsyncGateway(RequestMessageBuilder input)
    • setApplicationContext

      public final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • afterPropertiesSet

      public final void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • getProperty

      protected <T> T getProperty(String key, T defaultValue)
      Get a property from the Spring Environment.
    • allowDeprecatedEndpoints

      protected final boolean allowDeprecatedEndpoints()