Package akka.http.impl.engine.parsing
Class BodyPartParser
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,akka.NotUsed>
-
- akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,BodyPartParser.Output>>
-
- akka.http.impl.engine.parsing.BodyPartParser
-
- All Implemented Interfaces:
akka.stream.Graph<akka.stream.FlowShape<akka.util.ByteString,BodyPartParser.Output>,akka.NotUsed>
public final class BodyPartParser extends akka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,BodyPartParser.Output>>
INTERNAL APIsee: http://tools.ietf.org/html/rfc2046#section-5.1.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BodyPartParser.BodyPartStart
static class
BodyPartParser.BodyPartStart$
static class
BodyPartParser.DefinedEndOfLineConfiguration
static class
BodyPartParser.DefinedEndOfLineConfiguration$
static interface
BodyPartParser.EndOfLineConfiguration
static class
BodyPartParser.EntityPart
static class
BodyPartParser.EntityPart$
static interface
BodyPartParser.Output
static class
BodyPartParser.ParseError
static class
BodyPartParser.ParseError$
static interface
BodyPartParser.PartStart
static class
BodyPartParser.Settings
static interface
BodyPartParser.StateResult
static class
BodyPartParser.UndefinedEndOfLineConfiguration
static class
BodyPartParser.UndefinedEndOfLineConfiguration$
-
Constructor Summary
Constructors Constructor Description BodyPartParser(ContentType defaultContentType, java.lang.String boundary, akka.event.LoggingAdapter log, BodyPartParser.Settings settings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static akka.parboiled2.CharPredicate
boundaryChar()
akka.stream.stage.GraphStageLogic
createLogic(akka.stream.Attributes attributes)
akka.stream.Inlet<akka.util.ByteString>
in()
akka.stream.Outlet<BodyPartParser.Output>
out()
akka.stream.FlowShape<akka.util.ByteString,BodyPartParser.Output>
shape()
-
-
-
Constructor Detail
-
BodyPartParser
public BodyPartParser(ContentType defaultContentType, java.lang.String boundary, akka.event.LoggingAdapter log, BodyPartParser.Settings settings)
-
-
Method Detail
-
boundaryChar
public static akka.parboiled2.CharPredicate boundaryChar()
-
in
public akka.stream.Inlet<akka.util.ByteString> in()
-
out
public akka.stream.Outlet<BodyPartParser.Output> out()
-
shape
public akka.stream.FlowShape<akka.util.ByteString,BodyPartParser.Output> shape()
-
createLogic
public akka.stream.stage.GraphStageLogic createLogic(akka.stream.Attributes attributes)
- Specified by:
createLogic
in classakka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,BodyPartParser.Output>>
-
-