@Import(value=CustomWebMvcConfiguration.class) public class ArchiveAccessWebApplication extends Object
SpringApplication that provides the web
interface for accessing the archive. This configuration takes care of setting
up an embedded Tomcat server and configuring Spring Web MVC as well as the
other components making up the web application.| Modifier and Type | Class and Description |
|---|---|
static class |
ArchiveAccessWebApplication.WebMvcConfiguration
Configuration for Spring Web MVC.
|
| Constructor and Description |
|---|
ArchiveAccessWebApplication() |
| Modifier and Type | Method and Description |
|---|---|
Api10Controller |
api10Controller()
Creates the controller that handles requests to the legacy archive-access
API.
|
CharacterEncodingFilter |
characterEncodingFilter()
Creates a filter that sets the character encoding of requests and
responses.
|
DispatcherServlet |
dispatcherServlet()
Creates the dispatcher servlet.
|
TomcatEmbeddedServletContainerFactory |
servletContainerFactory()
Creates the Tomcat servlet-container factory.
|
void |
setServerProperties(ServerProperties serverProperties)
Sets the server properties used by this configuration.
|
@Autowired public void setServerProperties(ServerProperties serverProperties)
serverProperties - server properties to be used by this configuration.@Bean public CharacterEncodingFilter characterEncodingFilter()
@Bean public DispatcherServlet dispatcherServlet()
ApplicationContext.@Bean public TomcatEmbeddedServletContainerFactory servletContainerFactory()
ServerProperties.getAdminPort().@Bean public Api10Controller api10Controller()
Copyright © 2011–2017 aquenos GmbH. All rights reserved.