public abstract class FrameFactory extends Object
Constructor and Description |
---|
FrameFactory() |
Modifier and Type | Method and Description |
---|---|
abstract RawFrame |
createContinuation(int streamId,
ByteBuffer payload,
boolean endHeaders) |
abstract RawFrame |
createData(int streamId,
ByteBuffer payload,
boolean endStream) |
RawFrame |
createGoAway(int lastStream,
H2Error error,
String message) |
abstract RawFrame |
createHeaders(int streamId,
ByteBuffer payload,
boolean endHeaders,
boolean endStream) |
RawFrame |
createPing(ByteBuffer opaqueData) |
RawFrame |
createPingAck(ByteBuffer opaqueData) |
abstract RawFrame |
createPushPromise(int streamId,
ByteBuffer payload,
boolean endHeaders) |
RawFrame |
createResetStream(int streamId,
H2Error error) |
RawFrame |
createResetStream(int streamId,
int code) |
RawFrame |
createSettings(H2Setting... settings) |
RawFrame |
createSettingsAck() |
RawFrame |
createWindowUpdate(int streamId,
int increment) |
public RawFrame createSettingsAck()
public RawFrame createResetStream(int streamId, int code)
public RawFrame createPing(ByteBuffer opaqueData)
public RawFrame createPingAck(ByteBuffer opaqueData)
public abstract RawFrame createHeaders(int streamId, ByteBuffer payload, boolean endHeaders, boolean endStream)
public abstract RawFrame createContinuation(int streamId, ByteBuffer payload, boolean endHeaders)
public abstract RawFrame createPushPromise(int streamId, ByteBuffer payload, boolean endHeaders)
public abstract RawFrame createData(int streamId, ByteBuffer payload, boolean endStream)
public RawFrame createWindowUpdate(int streamId, int increment)
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.