Package akka.http.scaladsl.model
Class HttpHeader.ParsingResult$.Ok
- java.lang.Object
-
- akka.http.scaladsl.model.HttpHeader.ParsingResult$.Ok
-
- All Implemented Interfaces:
HttpHeader.ParsingResult
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- HttpHeader.ParsingResult$
public static final class HttpHeader.ParsingResult$.Ok extends java.lang.Object implements HttpHeader.ParsingResult, scala.Product, java.io.Serializable
The parsing run produced a result. If there were parsing errors (which did not prevent the run from completing) they are reported in the given error list.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Ok(HttpHeader header, scala.collection.immutable.List<ErrorInfo> errors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.collection.immutable.List<ErrorInfo>
errors()
HttpHeader
header()
-
-
-
Constructor Detail
-
Ok
public Ok(HttpHeader header, scala.collection.immutable.List<ErrorInfo> errors)
-
-
Method Detail
-
header
public HttpHeader header()
-
errors
public scala.collection.immutable.List<ErrorInfo> errors()
- Specified by:
errors
in interfaceHttpHeader.ParsingResult
-
-