Interface StreamDecoder


public interface StreamDecoder
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 Type Method Description
    HttpData decode​(HttpData obj)
    Decodes an HttpData and returns the decoded HttpData.
    HttpData finish()
    Closes the decoder and returns any decoded data that may be left over.