Class SignatureController

java.lang.Object
org.bh_foundation.e_sign.controllers.SignatureController

@RestController @RequestMapping("/api/signature") public class SignatureController extends Object
  • Constructor Details

    • SignatureController

      public SignatureController(SignatureService signatureService)
  • Method Details

    • get

      @GetMapping("/get") public org.springframework.http.ResponseEntity<?> get()
    • storeSign

      @PostMapping("/store-sign") public org.springframework.http.ResponseEntity<?> storeSign(@RequestParam(required=true) org.springframework.web.multipart.MultipartFile sign) throws IOException
      Throws:
      IOException
    • storeSign

      @PostMapping("/store-sign-base64") public org.springframework.http.ResponseEntity<?> storeSign(@RequestParam(required=true) byte[] bytes)
    • delete

      @DeleteMapping("/delete") public org.springframework.http.ResponseEntity<?> delete()