Package org.duracloud.syncui.controller
Class InitController
- java.lang.Object
-
- org.duracloud.syncui.controller.InitController
-
@Controller public class InitController extends Object
A controller for initializing the app programmatically. It is intended to be used by tests.- Author:
- Daniel Bernstein
-
-
Field Summary
Fields Modifier and Type Field Description static StringINIT_MAPPING
-
Constructor Summary
Constructors Constructor Description InitController(SyncConfigurationManager syncConfigurationManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<String>initialize(InputStream request)
-
-
-
Field Detail
-
INIT_MAPPING
public static final String INIT_MAPPING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InitController
@Autowired public InitController(SyncConfigurationManager syncConfigurationManager)
-
-
Method Detail
-
initialize
@RequestMapping(value="/init", method=POST) public org.springframework.http.ResponseEntity<String> initialize(InputStream request)
-
-