MIME ****. Generating tmp file in Jersey Restful API
I have created a RESTfule webservice using Jersey2.0 API that can create and use json MediaType.
@Path( "/PortfolioSummary" )
public class RESTWSService
{
public RESTWSService()
{
}
@POST
@Consumes( { MediaType.APPLICATION_JSON } )
@Produces( { MediaType.APPLICATION_JSON } )
public String getportfolioSummary( String req )
{
----
}
}
When I deploy a service or call a service, a temporary file such as MIME43756487865.tmp is created in my folder AppData/local/Temp
.
How to avoid creating a MIME ****. tmp in the folder /Temp
?
+3
source to share
No one has answered this question yet
Check out similar questions: