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 classBodyPartParser.BodyPartStartstatic classBodyPartParser.BodyPartStart$static classBodyPartParser.DefinedEndOfLineConfigurationstatic classBodyPartParser.DefinedEndOfLineConfiguration$static interfaceBodyPartParser.EndOfLineConfigurationstatic classBodyPartParser.EntityPartstatic classBodyPartParser.EntityPart$static interfaceBodyPartParser.Outputstatic classBodyPartParser.ParseErrorstatic classBodyPartParser.ParseError$static interfaceBodyPartParser.PartStartstatic classBodyPartParser.Settingsstatic interfaceBodyPartParser.StateResultstatic classBodyPartParser.UndefinedEndOfLineConfigurationstatic classBodyPartParser.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.CharPredicateboundaryChar()akka.stream.stage.GraphStageLogiccreateLogic(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:
createLogicin classakka.stream.stage.GraphStage<akka.stream.FlowShape<akka.util.ByteString,BodyPartParser.Output>>
-
-