Interface ChunkInterceptor

  • All Implemented Interfaces:

    
    public interface ChunkInterceptor
    
                        

    An interceptor to inspect or modify individual byte chunks as they are being received from the HTTP response body.

    The onChunk method can be called multiple times for the same response.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ByteArray onChunk(ByteArray chunk)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait