Class Utf8Encoder$
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<String,org.apache.pekko.util.ByteString>>
org.apache.pekko.http.impl.engine.ws.Utf8Encoder$
- All Implemented Interfaces:
org.apache.pekko.stream.Graph<org.apache.pekko.stream.FlowShape<String,
org.apache.pekko.util.ByteString>, org.apache.pekko.NotUsed>
public class Utf8Encoder$
extends org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<String,org.apache.pekko.util.ByteString>>
A utf16 (= Java char) to utf8 encoder.
INTERNAL API
-
Nested Class Summary
Nested 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> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Utf8Encoder$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.stream.Outlet<org.apache.pekko.util.ByteString>
org.apache.pekko.stream.stage.GraphStageLogic
createLogic
(org.apache.pekko.stream.Attributes inheritedAttributes) org.apache.pekko.stream.Attributes
long
lowerNBitsSet
(int n) org.apache.pekko.stream.FlowShape<String,
org.apache.pekko.util.ByteString> shape()
org.apache.pekko.stream.Inlet<String>
stringIn()
int
int
toString()
long
long
long
Methods inherited from class org.apache.pekko.stream.stage.GraphStage
createLogicAndMaterializedValue
Methods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue
addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, named, traversalBuilder, withAttributes
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Utf8Encoder$
public Utf8Encoder$()
-
-
Method Details
-
SurrogateHighMask
public int SurrogateHighMask() -
SurrogateLowMask
public int SurrogateLowMask() -
Utf8OneByteLimit
public long Utf8OneByteLimit() -
Utf8TwoByteLimit
public long Utf8TwoByteLimit() -
Utf8ThreeByteLimit
public long Utf8ThreeByteLimit() -
lowerNBitsSet
public long lowerNBitsSet(int n) -
stringIn
-
byteStringOut
public org.apache.pekko.stream.Outlet<org.apache.pekko.util.ByteString> byteStringOut() -
shape
-
initialAttributes
public org.apache.pekko.stream.Attributes initialAttributes()- Overrides:
initialAttributes
in classorg.apache.pekko.stream.stage.GraphStageWithMaterializedValue<org.apache.pekko.stream.FlowShape<String,
org.apache.pekko.util.ByteString>, org.apache.pekko.NotUsed>
-
createLogic
public org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes inheritedAttributes) - Specified by:
createLogic
in classorg.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.FlowShape<String,
org.apache.pekko.util.ByteString>>
-
toString
-