Class DatabindRest

java.lang.Object
io.meeds.social.databind.rest.DatabindRest

@RestController @RequestMapping("/databind") public class DatabindRest extends Object
  • Constructor Details

    • DatabindRest

      public DatabindRest()
  • Method Details

    • serialize

      @GetMapping("serialize") @Secured("administrators") public org.springframework.http.ResponseEntity<org.springframework.core.io.InputStreamResource> serialize(jakarta.servlet.http.HttpServletRequest request, @RequestParam(name="objectType") String objectType, @RequestParam(name="objectId") List<String> objectIds) throws IOException
      Throws:
      IOException
    • deserialize

      @PostMapping("deserialize") @Secured("administrators") public CompletableFuture<org.springframework.http.ResponseEntity<io.meeds.social.databind.model.DatabindReport>> deserialize(jakarta.servlet.http.HttpServletRequest request, @RequestBody DatabindRestEntity databindRestEntity)