| Package | Description | 
|---|---|
| org.apache.hc.core5.http2 | Core HTTP/2 transport component APIs. | 
| org.apache.hc.core5.http2.frame | Core HTTP/2 data frame APIs. | 
| Modifier and Type | Method and Description | 
|---|---|
| static H2Error | H2Error. getByCode(int code) | 
| static H2Error | H2Error. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static H2Error[] | H2Error. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Constructor and Description | 
|---|
| H2ConnectionException(H2Error error,
                     String message) | 
| H2StreamResetException(H2Error error,
                      String message) | 
| Modifier and Type | Method and Description | 
|---|---|
| RawFrame | FrameFactory. createGoAway(int lastStream,
            H2Error error,
            String message) | 
| RawFrame | FrameFactory. createResetStream(int streamId,
                 H2Error error) | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.