Project

General

Profile

Revision e5846a95

IDe5846a95ffb2a598b4d4d4ef6568d691bac48da9
Parent 469f904a
Child 06ec599a

Added by Andreas Kohlbecker over 8 years ago

removing ContentNegociationHandlerInterceptor

View differences:

cdmlib-remote-webapp/src/main/webapp/WEB-INF/cdmlib-remote-servlet.xml
67 67
  <bean id="datasourceContextHandlerInterceptor"
68 68
    class="eu.etaxonomy.cdm.remote.controller.interceptor.DatasourceContextHandlerInterceptor" /> -->
69 69
  <bean id="localeContextHandlerInterceptor"
70
    class="eu.etaxonomy.cdm.remote.controller.interceptor.LocaleContextHandlerInterceptor" />
71
  <!--
72
     === no longer needed, replaced by ContentNegotiatingViewResolver ==
73
  <bean id="contentNegociationHandlerInterceptor"
74
    class="eu.etaxonomy.cdm.remote.controller.interceptor.ContentNegociationHandlerInterceptor">
75
    <property name="mapping">
76
      <map>
77
        <entry key="text/json" value="json" />
78
        <entry key="application/json" value="json" />
79
        <entry key="application/xml" value="xml" />
80
      </map>
81
    </property>
82
    <property name="defaultExtension" value="xml" />
83
  </bean>
84
   -->
70
    class="eu.etaxonomy.cdm.remote.controller.interceptor.LocaleContextHandlerInterceptor" />
85 71

  
86 72
  <!--
87 73
   ======= ViewControllers =======

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)