SecureNioChannel.ApplicationBufferHandler (Apache Tomcat 7.0.104 API Documentation)

org.apache.tomcat.util.net

## Interface SecureNioChannel.ApplicationBufferHandler

- All Known Implementing Classes:
    NioEndpoint.NioBufferHandler
  Enclosing class:
    SecureNioChannel

      public static interface SecureNioChannel.ApplicationBufferHandler

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

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ByteBuffer` | `expand(ByteBuffer buffer, int remaining)`
    `ByteBuffer` | `getReadBuffer()`
    `ByteBuffer` | `getWriteBuffer()`

- - ### Method Detail

    - #### expand

          ByteBuffer expand(ByteBuffer buffer,
                          int remaining)

    - #### getReadBuffer

          ByteBuffer getReadBuffer()

    - #### getWriteBuffer

          ByteBuffer getWriteBuffer()

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