Spring RESTful webservices Image/file upload/download from/to Database - spring

I need help about steps for how to upload or Download a Image or File in Spring RESTful webservices

Related

HDFC payment gateway integration - JSP Spring boot

I need to integrate hdfc payment gateway with Springboot application.i have received the kit from hdfc which contains JSP pages and jar file. If anyone help with code integration and steps that would be great.
I have imported the JSP files and jar changed the access key and all. When I try to hit datafrom.html it's not working

Converting Legacy soap based web service to rest service

I have recently encountered a problem statement ,there is a legacy code using soap based web service and ant as build tool.
My task is to convert the soap based web service to rest endpoint using spring boot and then end goal is to convert to microservice.
I have seen lot of articles where spring starter project is created with spring webservice dependency and they are also generating the classes through xsd's and using annotations like payload and SOAP configuration and checking the wsdl after running the application.
Is this the right approach to convert soap to rest but in my understanding it is simply creating soap web services using spring boot.
If we expose Rest Controllers with Pojos generated and generating the response type as xml or json ,do we need to do something apart from this to achieve the goal of converting soap to rest?
Any suggestions?
I am still exploring the working solution.
So far I have created the config client and server and I am thinking how to code inside the client code to expose soap as rest service.

Spring boot - how to implement cancelling file download?

I have created a RESTful web service using spring boot to upload and download files. Now I have another requirement. When a large file is getting uploaded or downloaded, user can send a request to cancel the uploading or downloading. How can I implement this feature?

Spring Zero Copy file download

I have to write a Web service that will be hit by a web application to download image.Image URL is not directly exposed to client, it will be be decided by some business logic. I am using Amazon S3 for file storage so how can i implement zero copy file transfer with spring?

Spring XD as a Rest Endpoint

Can we integrate Spring XD and Spring MVC, so that we can ingest/process data sent to the REST end point?
We have huge amounts of data collected in a Spring MVC app and are wondering if we could use Spring XD for this.
The http source is a stripped-down http server (based on netty); it is not a full Spring MVC server. For that, you would need a custom source with an embedded tomcat/jetty.
See Artem's comment on this answer for a suggestion about how to embed tomcat in a module.

Resources