Class NewLineSanitizerInputStream
java.lang.Object
java.io.InputStream
de.hybris.platform.odata2services.odata.processor.NewLineSanitizerInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
This class is a workaround to fix content that is crafted not following the RFC 1341 for multipart requests.
It needs to stay in place until SCPI is able to send compliant content using CRLF instead of LF only for blank
lines between the HTTP headers and the payload.
https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
NewLineSanitizerInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-