Package org.eclipse.jetty.client
Interface ContentDecoder
- All Known Implementing Classes:
GZIPContentDecoder
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
ContentDecoder decodes content bytes of a response.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported. -
Method Summary
Modifier and TypeMethodDescriptiondecode(ByteBuffer buffer) Deprecated.Decodes the bytes in the givenbufferand returns decoded bytes, if any.default voidrelease(ByteBuffer decoded) Deprecated.Releases the ByteBuffer returned bydecode(ByteBuffer).
-
Method Details
-
decode
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
Deprecated.Releases the ByteBuffer returned by
decode(ByteBuffer).- Parameters:
decoded- the ByteBuffer returned bydecode(ByteBuffer)
-