class...
Cheers, Sergey
-Original Message-
From: vickatvuuch [mailto:vlisov...@gmail.com]
Sent: 30 November 2009 18:22
To: users@cxf.apache.org
Subject: Re: how to close inputStream before returning response
You can take a look at one of the out interceptors that handle the
response.
I
lose();
> > LOGGER.info("===>bis is closed");
> > }
> > if (fis != null)
> > {
> > fis.close();
> > }
> > }
> >
users@cxf.apache.org
Subject: Re: how to close inputStream before returning response
You can take a look at one of the out interceptors that handle the
response.
I would start somewhere around JAXRSOutInterceptor and go from there.
Parimal Dhinoja wrote:
>
> Hi All,
>
> Following is
sing streams");
> }
> }
> // return Response.status(200).entity(bis).build();
> return response;
>
> }
>
> --
> Regards,
> Parimal
> "Nothing is stationary,Change is a part of Life"
>
>
--
View this message in context:
http://old.nabble.com/how-to-close-inputStream-before-returning-response-tp26578495p26579444.html
Sent from the cxf-user mailing list archive at Nabble.com.
Hi All,
Following is my service method where I am reading file and feed it into
Response object. Even if I try to close my file streams in finally block, I
didn't receive any file back in response. if I remove stream closing
statements from finally block, I am getting my file in response body whe