import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(EncryptAdminController.class);
- @RequestMapping(value = { "/executeEncryptQuery" }, method = RequestMethod.POST)
+ @PostMapping(value = { "/executeEncryptQuery" })
public Map<Long, String> executeEncrypt(HttpServletRequest request, HttpServletResponse response)
throws CipherUtilException {