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 API
see: http://tools.ietf.org/html/rfc2046#section-5.1.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static class
static class
static interface
static final class
static class
static interface
static final class
static class
static interface
static class
static interface
static class
static class
Nested classes/interfaces inherited from interface akka.stream.Graph
akka.stream.Graph.GraphMapMatVal<S extends akka.stream.Shape,
M extends Object> -
Constructor Summary
ConstructorDescriptionBodyPartParser
(ContentType defaultContentType, String boundary, akka.event.LoggingAdapter log, BodyPartParser.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionstatic akka.parboiled2.CharPredicate
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()
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
-
Constructor Details
-
BodyPartParser
public BodyPartParser(ContentType defaultContentType, String boundary, akka.event.LoggingAdapter log, BodyPartParser.Settings settings)
-
-
Method Details
-
boundaryChar
public static akka.parboiled2.CharPredicate boundaryChar() -
in
public akka.stream.Inlet<akka.util.ByteString> in() -
out
-
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>>
-