(final InputStream stream)
| 145 | } |
| 146 | |
| 147 | @Override |
| 148 | public InputStream parse(final InputStream stream) { |
| 149 | if (stream.markSupported()) { |
| 150 | return stream; |
| 151 | } else if (stream instanceof KnownLength) { |
| 152 | return new KnownLengthBufferedInputStream(stream); |
| 153 | } else { |
| 154 | return new BufferedInputStream(stream); |
| 155 | } |
| 156 | } |
| 157 | }; |
| 158 | |
| 159 | return useMarshalledMessages(serviceDef, marshaller); |
nothing calls this directly
no test coverage detected