TempStorageController.java 705 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
package pwc.taxtech.atms.controller;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1/tempStorage/")
public class TempStorageController {
    //TODO: only for index running ,should be query from db (neo)
12
    @RequestMapping(value = "storage/{userId}/{name}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
13
    public String getTempStorage(String userId, String name) {//TODO:only for running,should be query from db (neo)
14 15 16
        return "";
    }
}