Package com.adobe.testing.s3mock
Class S3MockConfiguration
-
- All Implemented Interfaces:
@Configuration()@EnableConfigurationProperties(value = {S3MockProperties.class}) public final class S3MockConfiguration
-
-
Constructor Summary
Constructors Constructor Description S3MockConfiguration()
-
Method Summary
Modifier and Type Method Description final ConnectorhttpConnector(S3MockProperties properties)HTTP Connector for the additional plain-HTTP port configured via S3MockProperties.httpPort. final ServletWebServerFactorywebServerFactory(S3MockProperties properties, Connector httpConnector)Create a ServletWebServerFactory bean reconfigured for an additional HTTP port. -
-
Method Detail
-
httpConnector
@Bean() final Connector httpConnector(S3MockProperties properties)
HTTP Connector for the additional plain-HTTP port configured via S3MockProperties.httpPort. Exposed as a bean so it can be injected wherever the actual bound port is needed.
-
webServerFactory
@Bean() final ServletWebServerFactory webServerFactory(S3MockProperties properties, Connector httpConnector)
Create a ServletWebServerFactory bean reconfigured for an additional HTTP port.
- Returns:
webServerFactory bean reconfigured for an additional HTTP port
-
-
-
-