public class Http2Compliance
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Http2Compliance.Http2ProtocolException |
static class |
Http2Compliance.Http2ProtocolStreamException |
static class |
Http2Compliance.IllegalHttp2FrameSize |
static class |
Http2Compliance.IllegalHttp2StreamDependency |
static class |
Http2Compliance.IllegalHttp2StreamIdException |
static class |
Http2Compliance.IllegalPayloadInSettingsAckFrame |
static class |
Http2Compliance.IllegalPayloadLengthInSettingsFrame |
static class |
Http2Compliance.MissingHttpIdHeaderException |
Constructor and Description |
---|
Http2Compliance() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isClientInitiatedStreamId(int id)
checks if the stream id was client initiated, by checking if the stream id was odd-numbered
|
static scala.runtime.Nothing$ |
missingHttpIdHeaderException() |
static void |
requireFrameSize(int size,
int max) |
static void |
requireNonZeroStreamId(int id) |
static void |
requireNoSelfDependency(int id,
int dependency) |
static void |
requirePositiveWindowUpdateIncrement(int streamId,
int increment) |
static void |
requireZeroStreamId(int id) |
static void |
validateMaxFrameSize(int value)
Validate value of MAX_FRAME_SIZE setting.
|
public static final scala.runtime.Nothing$ missingHttpIdHeaderException()
public static void validateMaxFrameSize(int value)
public static final void requireZeroStreamId(int id)
public static final void requireNonZeroStreamId(int id)
public static final void requirePositiveWindowUpdateIncrement(int streamId, int increment)
public static final boolean isClientInitiatedStreamId(int id)
public static final void requireFrameSize(int size, int max)
public static final void requireNoSelfDependency(int id, int dependency)