Class BodyPartParser
java.lang.Object
org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<S,org.apache.pekko.NotUsed>
org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,BodyPartParser.Output>>
org.apache.pekko.http.impl.engine.parsing.BodyPartParser
- All Implemented Interfaces:
org.apache.pekko.stream.Graph<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,BodyPartParser.Output>, org.apache.pekko.NotUsed>
public final class BodyPartParser
extends org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,BodyPartParser.Output>>
INTERNAL API
see: http://tools.ietf.org/html/rfc2046#section-5.1.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic classstatic classstatic interfacestatic final classstatic classstatic interfacestatic final classstatic classstatic interfacestatic classstatic interfacestatic classstatic classNested classes/interfaces inherited from interface org.apache.pekko.stream.Graph
org.apache.pekko.stream.Graph.GraphMapMatVal<S extends org.apache.pekko.stream.Shape,M extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionBodyPartParser(ContentType defaultContentType, String boundary, org.apache.pekko.event.LoggingAdapter log, BodyPartParser.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.parboiled2.CharPredicateorg.apache.pekko.stream.stage.GraphStageLogiccreateLogic(org.apache.pekko.stream.Attributes attributes) org.apache.pekko.stream.Inlet<org.apache.pekko.util.ByteString>in()org.apache.pekko.stream.Outlet<BodyPartParser.Output>out()org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,BodyPartParser.Output> shape()Methods inherited from class org.apache.pekko.stream.stage.GraphStage
createLogicAndMaterializedValueMethods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, initialAttributes, named, traversalBuilder, withAttributes
-
Constructor Details
-
BodyPartParser
public BodyPartParser(ContentType defaultContentType, String boundary, org.apache.pekko.event.LoggingAdapter log, BodyPartParser.Settings settings)
-
-
Method Details
-
boundaryChar
public static org.parboiled2.CharPredicate boundaryChar() -
in
public org.apache.pekko.stream.Inlet<org.apache.pekko.util.ByteString> in() -
out
-
shape
public org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,BodyPartParser.Output> shape() -
createLogic
public org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes attributes) - Specified by:
createLogicin classorg.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<org.apache.pekko.util.ByteString,BodyPartParser.Output>>
-