Class SignatureController
java.lang.Object
org.bh_foundation.e_sign.controllers.SignatureController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> delete()org.springframework.http.ResponseEntity<?> get()org.springframework.http.ResponseEntity<?> storeSign(byte[] bytes) org.springframework.http.ResponseEntity<?> storeSign(org.springframework.web.multipart.MultipartFile sign)
-
Constructor Details
-
SignatureController
-
-
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()
-