You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Nir Barel (JIRA)" <ji...@apache.org> on 2014/08/05 16:10:11 UTC

[jira] [Updated] (CXF-5930) DelegatingInputStream dont support mark / reset anymore

     [ https://issues.apache.org/jira/browse/CXF-5930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nir Barel updated CXF-5930:
---------------------------

    Description: 
Hi,

due to CXF-5635 that improve LoggingInInterceptor now the AbstractHTTPDestination used SequenceInputStream
that doesn't support mark() and reset()



  was:
Hi,

we implement MessageBodyReader readFrom method
and during the reading of inputstream we want to use mark and reset on the stream but we get exception:

Caused by: java.io.IOException: mark/reset not supported
        at java.io.InputStream.reset(InputStream.java:369)

this works ok in version 2.7.7 and 2.7.4



> DelegatingInputStream dont support mark / reset anymore
> -------------------------------------------------------
>
>                 Key: CXF-5930
>                 URL: https://issues.apache.org/jira/browse/CXF-5930
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.11
>            Reporter: Nir Barel
>            Priority: Critical
>
> Hi,
> due to CXF-5635 that improve LoggingInInterceptor now the AbstractHTTPDestination used SequenceInputStream
> that doesn't support mark() and reset()



--
This message was sent by Atlassian JIRA
(v6.2#6252)