org.apache.hc.core5.http2.frame

## Interface StreamIdGenerator

-     public interface StreamIdGenerator

  HTTP/2 stream ID generator.
  Since:
    5.0

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static StreamIdGenerator` | `EVEN`
    `static StreamIdGenerator` | `ODD`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `generate(int previousMax)`
    `boolean` | `isSameSide(int streamId)`

- - ### Field Detail

    - #### ODD

          static final StreamIdGenerator ODD

    - #### EVEN

          static final StreamIdGenerator EVEN

  - ### Method Detail

    - #### generate

          int generate(int previousMax)

    - #### isSameSide

          boolean isSameSide(int streamId)

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