Finally, build() the ResponseBuilder and return Response object with “download success” message.Annotate download Zip method with Set “Content-Disposition” in the ResponseBuilder to allow downloading users to select path to download Zipped file.We will implement Jersey examples in the following articles based on latest 2.x version Download Latest Jersey release version is 2.12 see here and look documentation and API for details. Earlier Jersey 1.x version was developed and supported by Oracle/Sun team Latest Jersey 2.x version has been developed by Oracle/Glassfish team in accordance with JAX-RS 2.0 specification. Jersey is the most popular amongst Restful web service development. In this article, we will learn and implement JAX-RS Restful web service which is exposed to upload/download Zipped (.zip) file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |