Class RDFWebConfig


  • @Configuration
    public class RDFWebConfig
    extends Object
    RDF webapp configuration. Replaces the old web.xml

    This @Configuration class is automatically discovered by Spring via a @ComponentScan.

    All RDF web configurations (beans) can be enabled or disabled by setting "rdf.enabled" to true or false, respectively (in your DSpace configuration). Default is "false".

    All @Value annotated configurations below can also be overridden in your DSpace configuration.

    Author:
    Tim Donohue
    • Constructor Detail

      • RDFWebConfig

        public RDFWebConfig()
    • Method Detail

      • rdfSerializationBean

        @Bean
        @ConditionalOnProperty("rdf.enabled")
        public org.springframework.boot.web.servlet.ServletRegistrationBean rdfSerializationBean()
      • rdfLocalURIRedirectionBean

        @Bean
        @ConditionalOnProperty("rdf.enabled")
        public org.springframework.boot.web.servlet.ServletRegistrationBean rdfLocalURIRedirectionBean()