Package akka.http.impl.engine.parsing
Class ParserOutput.StrictEntityCreator<A extends ParserOutput,B extends UniversalEntity>
- java.lang.Object
-
- akka.http.impl.engine.parsing.ParserOutput.EntityCreator<A,B>
-
- akka.http.impl.engine.parsing.ParserOutput.StrictEntityCreator<A,B>
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Function1<akka.stream.scaladsl.Source<A,akka.NotUsed>,B>
,scala.Product
- Enclosing interface:
- ParserOutput
public static final class ParserOutput.StrictEntityCreator<A extends ParserOutput,B extends UniversalEntity> extends ParserOutput.EntityCreator<A,B> implements scala.Product, java.io.Serializable
An entity creator that uses the given entity directly and ignores the passed-in source.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StrictEntityCreator(B entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
apply(akka.stream.scaladsl.Source<A,akka.NotUsed> parts)
B
entity()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface scala.Function1
andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString
-
-
-
-
Constructor Detail
-
StrictEntityCreator
public StrictEntityCreator(B entity)
-
-
Method Detail
-
entity
public B entity()
-
apply
public B apply(akka.stream.scaladsl.Source<A,akka.NotUsed> parts)
- Specified by:
apply
in interfacescala.Function1<A extends ParserOutput,B extends UniversalEntity>
-
-