Interface StreamDecoder
- All Known Subinterfaces:
StreamDecoder
Deprecated.
An interface for objects that apply HTTP content decoding to incoming
HttpData
.
Implement this interface to use content decoding schemes not built-in to the JDK.-
Method Summary
Modifier and TypeMethodDescriptionfinish()
Deprecated.Closes the decoder and returns any decoded data that may be left over.int
Deprecated.Returns the maximum allowed length of the content decoded.
-
Method Details
-
decode
Deprecated.- Throws:
ContentTooLargeException
- if the total length of the decoded content exceedsmaxLength()
.
-
finish
HttpData finish()Deprecated.Closes the decoder and returns any decoded data that may be left over.- Throws:
ContentTooLargeException
- if the total length of the decoded content exceedsmaxLength()
.
-
maxLength
Deprecated.Returns the maximum allowed length of the content decoded.
-
StreamDecoder
instead.