Class RestConfig

java.lang.Object
com.almis.awe.autoconfigure.RestConfig

@Configuration @EnableConfigurationProperties(RestConfigProperties.class) public class RestConfig extends Object
Class used to start AWE as a microservice
  • Constructor Details

    • RestConfig

      public RestConfig(RestConfigProperties properties)
      Rest config constructor
      Parameters:
      properties - Rest configuration properties
  • Method Details

    • httpComponentsClientHttpRequestFactory

      @Bean public org.springframework.http.client.ClientHttpRequestFactory httpComponentsClientHttpRequestFactory()
      Define client http request factory bean
      Returns:
      Client http request factory