Package akka.http.impl.engine.http2
Class Http2Compliance
- java.lang.Object
-
- akka.http.impl.engine.http2.Http2Compliance
-
public class Http2Compliance extends java.lang.Object
INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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 Summary
Constructors Constructor Description Http2Compliance()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isClientInitiatedStreamId(int id)
checks if the stream id was client initiated, by checking if the stream id was odd-numberedstatic 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.
-
-
-
Method Detail
-
missingHttpIdHeaderException
public static final scala.runtime.Nothing$ missingHttpIdHeaderException()
-
validateMaxFrameSize
public static void validateMaxFrameSize(int value)
Validate value of MAX_FRAME_SIZE setting.
-
requireZeroStreamId
public static final void requireZeroStreamId(int id)
-
requireNonZeroStreamId
public static final void requireNonZeroStreamId(int id)
-
requirePositiveWindowUpdateIncrement
public static final void requirePositiveWindowUpdateIncrement(int streamId, int increment)
-
isClientInitiatedStreamId
public static final boolean isClientInitiatedStreamId(int id)
checks if the stream id was client initiated, by checking if the stream id was odd-numbered
-
requireFrameSize
public static final void requireFrameSize(int size, int max)
-
requireNoSelfDependency
public static final void requireNoSelfDependency(int id, int dependency)
-
-