Package | Description |
---|---|
org.apache.hc.core5.http2.frame |
Core HTTP/2 data frame APIs.
|
org.apache.hc.core5.http2.impl.io | |
org.apache.hc.core5.http2.impl.nio |
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.testing.nio |
Modifier and Type | Method and Description |
---|---|
RawFrame |
DefaultFrameFactory.createContinuation(int streamId,
ByteBuffer payload,
boolean endHeaders) |
abstract RawFrame |
FrameFactory.createContinuation(int streamId,
ByteBuffer payload,
boolean endHeaders) |
RawFrame |
DefaultFrameFactory.createData(int streamId,
ByteBuffer payload,
boolean endStream) |
abstract RawFrame |
FrameFactory.createData(int streamId,
ByteBuffer payload,
boolean endStream) |
RawFrame |
FrameFactory.createGoAway(int lastStream,
H2Error error,
String message) |
RawFrame |
DefaultFrameFactory.createHeaders(int streamId,
ByteBuffer payload,
boolean endHeaders,
boolean endStream) |
abstract RawFrame |
FrameFactory.createHeaders(int streamId,
ByteBuffer payload,
boolean endHeaders,
boolean endStream) |
RawFrame |
FrameFactory.createPing(ByteBuffer opaqueData) |
RawFrame |
FrameFactory.createPingAck(ByteBuffer opaqueData) |
RawFrame |
DefaultFrameFactory.createPushPromise(int streamId,
ByteBuffer payload,
boolean endHeaders) |
abstract RawFrame |
FrameFactory.createPushPromise(int streamId,
ByteBuffer payload,
boolean endHeaders) |
RawFrame |
FrameFactory.createResetStream(int streamId,
H2Error error) |
RawFrame |
FrameFactory.createResetStream(int streamId,
int code) |
RawFrame |
FrameFactory.createSettings(H2Setting... settings) |
RawFrame |
FrameFactory.createSettingsAck() |
RawFrame |
FrameFactory.createWindowUpdate(int streamId,
int increment) |
Modifier and Type | Method and Description |
---|---|
void |
FramePrinter.printFrameInfo(RawFrame frame,
Appendable appendable) |
void |
FramePrinter.printPayload(RawFrame frame,
Appendable appendable) |
Modifier and Type | Method and Description |
---|---|
RawFrame |
FrameInputBuffer.read(InputStream inStream) |
Modifier and Type | Method and Description |
---|---|
void |
FrameOutputBuffer.write(RawFrame frame,
OutputStream outStream) |
Modifier and Type | Method and Description |
---|---|
RawFrame |
FrameInputBuffer.read(ByteBuffer src,
ReadableByteChannel channel)
Attempts to read a complete frame from the given source buffer and the underlying data
channel.
|
RawFrame |
FrameInputBuffer.read(ReadableByteChannel channel)
Attempts to read a complete frame from the underlying data channel.
|
Modifier and Type | Method and Description |
---|---|
void |
H2StreamListener.onFrameInput(HttpConnection connection,
int streamId,
RawFrame frame) |
void |
H2StreamListener.onFrameOutput(HttpConnection connection,
int streamId,
RawFrame frame) |
void |
FrameOutputBuffer.write(RawFrame frame,
WritableByteChannel channel) |
Modifier and Type | Method and Description |
---|---|
void |
LoggingH2StreamListener.onFrameInput(HttpConnection connection,
int streamId,
RawFrame frame) |
void |
LoggingH2StreamListener.onFrameOutput(HttpConnection connection,
int streamId,
RawFrame frame) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.