ApplicationBufferHandler (Apache Tomcat 9.0.37 API Documentation)

org.apache.tomcat.util.net

## Interface ApplicationBufferHandler

- All Known Implementing Classes:
    BufferedInputFilter, ChunkedInputFilter, Http11InputBuffer, IdentityInputFilter, InputBuffer

      public interface ApplicationBufferHandler

  Callback interface to be able to expand buffers when buffer overflow exceptions happen or to replace buffers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `expand(int size)`
    `ByteBuffer` | `getByteBuffer()`
    `void` | `setByteBuffer(ByteBuffer buffer)`

- - ### Method Detail

    - #### setByteBuffer

          void setByteBuffer(ByteBuffer buffer)

    - #### getByteBuffer

          ByteBuffer getByteBuffer()

    - #### expand

          void expand(int size)

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.