Class RDFWebConfig

java.lang.Object
org.dspace.app.configuration.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 Details

    • RDFWebConfig

      public RDFWebConfig()
  • Method Details

    • 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()