Class ControllerConfiguration
-
- All Implemented Interfaces:
-
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration()@EnableConfigurationProperties(value = {ControllerProperties.class}) public final class ControllerConfiguration implements WebMvcConfigurer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classControllerConfiguration.S3MockExceptionHandlerResponseEntityExceptionHandler dealing with S3Exceptions; Serializes them to response output as suitable ErrorResponses. API Reference
public final classControllerConfiguration.IllegalStateExceptionHandlerResponseEntityExceptionHandler dealing with IllegalStateExceptions. Serializes them to response output as a 500 Internal Server Error ErrorResponse. API Reference API Reference
-
Field Summary
Fields Modifier and Type Field Description private final Validatorvalidatorprivate final MessageCodesResolvermessageCodesResolver
-
Constructor Summary
Constructors Constructor Description ControllerConfiguration()
-
Method Summary
-
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureApiVersioning, configureAsyncSupport, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
kmsFilter
@Bean() final Filter kmsFilter(KmsKeyStore kmsKeyStore, JacksonXmlHttpMessageConverter messageConverter)
-
configureContentNegotiation
Unit configureContentNegotiation(ContentNegotiationConfigurer configurer)
-
logFilter
@Bean()@Profile(value = {"debug"}) final CommonsRequestLoggingFilter logFilter()
-
messageConverter
@Bean() final JacksonXmlHttpMessageConverter messageConverter()
Creates an HttpMessageConverter for XML.
- Returns:
The configured JacksonXmlHttpMessageConverter.
-
httpPutFormContentFilter
@Bean() final OrderedFormContentFilter httpPutFormContentFilter()
-
faviconController
@Bean() final FaviconController faviconController()
-
fileStoreController
@Bean() final ObjectController fileStoreController(ObjectService objectService, BucketService bucketService)
-
objectAclController
@Bean() final ObjectAclController objectAclController(ObjectService objectService, BucketService bucketService)
-
objectTaggingController
@Bean() final ObjectTaggingController objectTaggingController(ObjectService objectService, BucketService bucketService)
-
objectLegalHoldController
@Bean() final ObjectLegalHoldController objectLegalHoldController(ObjectService objectService, BucketService bucketService)
-
objectRetentionController
@Bean() final ObjectRetentionController objectRetentionController(ObjectService objectService, BucketService bucketService)
-
objectAttributesController
@Bean() final ObjectAttributesController objectAttributesController(ObjectService objectService, BucketService bucketService)
-
bucketController
@Bean() final BucketController bucketController(BucketService bucketService)
-
multipartController
@Bean() final MultipartController multipartController(BucketService bucketService, ObjectService objectService, MultipartService multipartService)
-
s3MockExceptionHandler
@Bean() final ControllerConfiguration.S3MockExceptionHandler s3MockExceptionHandler()
-
illegalStateExceptionHandler
@Bean() final ControllerConfiguration.IllegalStateExceptionHandler illegalStateExceptionHandler()
-
objectCannedAclHeaderConverter
@Bean() final ObjectCannedAclHeaderConverter objectCannedAclHeaderConverter()
-
taggingHeaderConverter
@Bean() final TaggingHeaderConverter taggingHeaderConverter()
-
httpRangeHeaderConverter
@Bean() final HttpRangeHeaderConverter httpRangeHeaderConverter()
-
objectOwnershipHeaderConverter
@Bean() final ObjectOwnershipHeaderConverter objectOwnershipHeaderConverter()
-
checksumModeHeaderConverter
@Bean() final ChecksumModeHeaderConverter checksumModeHeaderConverter()
-
regionConverter
@Bean() final RegionConverter regionConverter()
-
-
-
-