Class EncryptionController


  • @Controller
    @RequestMapping("/console")
    public class EncryptionController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map decrypt​(java.lang.String toDecrypt)  
      java.util.Map encrypt​(java.lang.String toEncrypt)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EncryptionController

        public EncryptionController()
    • Method Detail

      • encrypt

        @RequestMapping(value={"encrypt","flexsearch/encrypt"},
                        method=POST,
                        headers="Accept=application/json")
        @ResponseBody
        public java.util.Map encrypt​(@ModelAttribute("cookie")
                                     java.lang.String toEncrypt)
      • decrypt

        @RequestMapping(value={"decrypt","flexsearch/decrypt"},
                        method=POST,
                        headers="Accept=application/json")
        @ResponseBody
        public java.util.Map decrypt​(@ModelAttribute("cookie")
                                     java.lang.String toDecrypt)