@Configuration public class RepositoryServiceSpringConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MULTIPART_MAX_IN_MEMORY_SIZE |
static String |
DEFAULT_MULTIPART_UPLOAD_DIR |
static String |
PARAM_MULTIPART_MAX_IN_MEMORY_SIZE
Max size of in-memory buffering of multipart requests
|
static String |
PARAM_MULTIPART_UPLOAD_DIR |
| Constructor and Description |
|---|
RepositoryServiceSpringConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
configMgrCreated(org.lockss.config.ConfigManager.ConfigManagerCreatedEvent event) |
org.springframework.web.multipart.commons.CommonsMultipartResolver |
multipartResolver()
Emits a
CommonsMultipartResolver bean for use in Spring's DispatcherServlet. |
public static String PARAM_MULTIPART_MAX_IN_MEMORY_SIZE
public static String DEFAULT_MULTIPART_UPLOAD_DIR
public static String PARAM_MULTIPART_UPLOAD_DIR
public static final int DEFAULT_MULTIPART_MAX_IN_MEMORY_SIZE
@Bean
public org.springframework.web.multipart.commons.CommonsMultipartResolver multipartResolver()
throws IOException
CommonsMultipartResolver bean for use in Spring's DispatcherServlet.
See the javadocs of MultipartResolver and DispatcherServlet for details.
CommonsMultipartResolver for the Spring-implementation of the LOCKSS Repository Service.IOException@EventListener public void configMgrCreated(org.lockss.config.ConfigManager.ConfigManagerCreatedEvent event)
Copyright © 2000–2023 LOCKSS Program. All rights reserved.