Revision 224f7da1
Added by Andreas Kohlbecker over 15 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/ReferenceController.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.cdm.remote.controller; |
12 | 12 |
|
13 |
import java.util.Arrays; |
|
14 |
import java.util.List; |
|
15 |
|
|
13 | 16 |
import org.springframework.beans.factory.annotation.Autowired; |
14 | 17 |
import org.springframework.stereotype.Controller; |
15 | 18 |
import org.springframework.web.bind.annotation.RequestMapping; |
... | ... | |
32 | 35 |
public ReferenceController(){ |
33 | 36 |
super(); |
34 | 37 |
setUuidParameterPattern("^/(?:[^/]+)/reference/([^/?#&\\.]+).*"); |
38 |
setInitializationStrategy(Arrays.asList(new String[]{ |
|
39 |
"$", |
|
40 |
"authorTeam.$"})); |
|
35 | 41 |
} |
36 | 42 |
|
37 | 43 |
/* (non-Javadoc) |
Also available in: Unified diff
new controllers & improved JSON serialization