Interface ContentDecoder

All Known Implementing Classes:
GZIPContentDecoder

@Deprecated(since="2021-05-27") public interface ContentDecoder
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 Classes
    Modifier and Type
    Interface
    Description
    static class 
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Decodes the bytes in the given buffer and returns decoded bytes, if any.
    default void
    Deprecated.
    Releases the ByteBuffer returned by decode(ByteBuffer).
  • Method Details

    • decode

      ByteBuffer decode(ByteBuffer buffer)
      Deprecated.

      Decodes the bytes in the given buffer and returns decoded bytes, if any.

      Parameters:
      buffer - the buffer containing encoded bytes
      Returns:
      a buffer containing decoded bytes, if any
    • release

      default void release(ByteBuffer decoded)
      Deprecated.

      Releases the ByteBuffer returned by decode(ByteBuffer).

      Parameters:
      decoded - the ByteBuffer returned by decode(ByteBuffer)