Package akka.http.impl.engine.http2
Class RequestParsing
- java.lang.Object
-
- akka.http.impl.engine.http2.RequestParsing
-
public class RequestParsing extends java.lang.Object
INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RequestParsing.BadRequest
static class
RequestParsing.BadRequest$
static class
RequestParsing.OkRequest
static class
RequestParsing.OkRequest$
static interface
RequestParsing.ParseRequestResult
-
Constructor Summary
Constructors Constructor Description RequestParsing()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkNoRegularHeadersBeforePseudoHeader(java.lang.String name, boolean seenRegularHeader)
static void
checkRequiredPseudoHeader(java.lang.String name, java.lang.Object value)
static void
checkUniquePseudoHeader(java.lang.String name, java.lang.Object value)
static scala.runtime.Nothing$
parseError(java.lang.String summary, java.lang.String headerName)
static HttpHeader
parseHeaderPair(HttpHeaderParser httpHeaderParser, java.lang.String name, java.lang.String value)
static scala.Function1<Http2SubStream,RequestParsing.ParseRequestResult>
parseRequest(HttpHeaderParser httpHeaderParser, ServerSettings serverSettings, akka.stream.Attributes streamAttributes)
static scala.runtime.Nothing$
protocolError(java.lang.String summary)
static void
validateHeader(HttpHeader httpHeader)
-
-
-
Method Detail
-
parseRequest
public static scala.Function1<Http2SubStream,RequestParsing.ParseRequestResult> parseRequest(HttpHeaderParser httpHeaderParser, ServerSettings serverSettings, akka.stream.Attributes streamAttributes)
-
parseHeaderPair
public static HttpHeader parseHeaderPair(HttpHeaderParser httpHeaderParser, java.lang.String name, java.lang.String value)
-
checkRequiredPseudoHeader
public static void checkRequiredPseudoHeader(java.lang.String name, java.lang.Object value)
-
checkUniquePseudoHeader
public static void checkUniquePseudoHeader(java.lang.String name, java.lang.Object value)
-
checkNoRegularHeadersBeforePseudoHeader
public static void checkNoRegularHeadersBeforePseudoHeader(java.lang.String name, boolean seenRegularHeader)
-
validateHeader
public static void validateHeader(HttpHeader httpHeader)
-
protocolError
public static scala.runtime.Nothing$ protocolError(java.lang.String summary)
-
parseError
public static scala.runtime.Nothing$ parseError(java.lang.String summary, java.lang.String headerName)
-
-