Package org.eclipse.jetty.client
Interface ContentDecoder
-
- All Known Implementing Classes:
GZIPContentDecoder
@Deprecated(since="2021-05-27") public interface ContentDecoderDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.ContentDecoderdecodes content bytes of a response.- See Also:
ContentDecoder.Factory
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classContentDecoder.FactoryDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description java.nio.ByteBufferdecode(java.nio.ByteBuffer buffer)Deprecated.Decodes the bytes in the givenbufferand returns decoded bytes, if any.default voidrelease(java.nio.ByteBuffer decoded)Deprecated.Releases the ByteBuffer returned bydecode(ByteBuffer).
-
-
-
Method Detail
-
decode
java.nio.ByteBuffer decode(java.nio.ByteBuffer buffer)
Deprecated.Decodes the bytes in the given
bufferand returns decoded bytes, if any.- Parameters:
buffer- the buffer containing encoded bytes- Returns:
- a buffer containing decoded bytes, if any
-
release
default void release(java.nio.ByteBuffer decoded)
Deprecated.Releases the ByteBuffer returned by
decode(ByteBuffer).- Parameters:
decoded- the ByteBuffer returned bydecode(ByteBuffer)
-
-