@Controller
@RequestMapping("/console")
public class EncryptionController
extends Object
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EncryptionController
public EncryptionController()
-
Method Details
-
encrypt
@RequestMapping(value={"encrypt","flexsearch/encrypt"},
method=POST,
headers="Accept=application/json")
@ResponseBody
public Map encrypt(@ModelAttribute("cookie")
String toEncrypt)
-
decrypt
@RequestMapping(value={"decrypt","flexsearch/decrypt"},
method=POST,
headers="Accept=application/json")
@ResponseBody
public Map decrypt(@ModelAttribute("cookie")
String toDecrypt)