Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.http.io
Interface BufferInfo

All Known Implementing Classes:
  AbstractSessionInputBuffer, AbstractSessionOutputBuffer, SessionInputBufferImpl, SessionOutputBufferImpl, SocketInputBuffer, SocketOutputBuffer

    public interface BufferInfo

Basic buffer properties.

Since:
  4.1

Method Summary
`int` | `available()` Returns available space in the buffer.
`int` | `capacity()` Returns total capacity of the buffer
`int` | `length()` Return length data stored in the buffer

Method Detail

### length

    int length()

  Return length data stored in the buffer

  Returns:
    data length

### capacity

    int capacity()

  Returns total capacity of the buffer

  Returns:
    total capacity

### available

    int available()

  Returns available space in the buffer.

  Returns:
    available space.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.