cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nir Barel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5930) DelegatingInputStream dont support mark / reset anymore
Date Tue, 05 Aug 2014 14:10:11 GMT

     [ 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)

Mime
View raw message