Class Utf8Encoder

java.lang.Object
org.apache.pekko.http.impl.engine.ws.Utf8Encoder

public class Utf8Encoder extends Object
A utf16 (= Java char) to utf8 encoder.

INTERNAL API

  • Constructor Details

    • Utf8Encoder

      public Utf8Encoder()
  • Method Details

    • SurrogateHighMask

      public static int SurrogateHighMask()
    • SurrogateLowMask

      public static int SurrogateLowMask()
    • Utf8OneByteLimit

      public static long Utf8OneByteLimit()
    • Utf8TwoByteLimit

      public static long Utf8TwoByteLimit()
    • Utf8ThreeByteLimit

      public static long Utf8ThreeByteLimit()
    • lowerNBitsSet

      public static long lowerNBitsSet(int n)
    • stringIn

      public static org.apache.pekko.stream.Inlet<String> stringIn()
    • byteStringOut

      public static org.apache.pekko.stream.Outlet<org.apache.pekko.util.ByteString> byteStringOut()
    • shape

      public static org.apache.pekko.stream.FlowShape<String,org.apache.pekko.util.ByteString> shape()
    • initialAttributes

      public static org.apache.pekko.stream.Attributes initialAttributes()
    • createLogic

      public static org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes inheritedAttributes)
    • toString

      public static String toString()
    • named

      public static org.apache.pekko.stream.Graph<S,M> named(String name)
    • async

      public static org.apache.pekko.stream.Graph<S,M> async()
    • async

      public static org.apache.pekko.stream.Graph<S,M> async(String dispatcher)
    • async

      public static org.apache.pekko.stream.Graph<S,M> async(String dispatcher, int inputBufferSize)
    • addAttributes

      public static org.apache.pekko.stream.Graph<S,M> addAttributes(org.apache.pekko.stream.Attributes attr)
    • getAttributes

      public static org.apache.pekko.stream.Attributes getAttributes()
    • createLogicAndMaterializedValue

      public static scala.Tuple2<org.apache.pekko.stream.stage.GraphStageLogic,M> createLogicAndMaterializedValue(org.apache.pekko.stream.Attributes inheritedAttributes, org.apache.pekko.stream.Materializer materializer)
    • traversalBuilder

      public static final org.apache.pekko.stream.impl.TraversalBuilder traversalBuilder()
    • withAttributes

      public static final org.apache.pekko.stream.Graph<S,M> withAttributes(org.apache.pekko.stream.Attributes attr)
    • createLogicAndMaterializedValue

      public static final scala.Tuple2<org.apache.pekko.stream.stage.GraphStageLogic,org.apache.pekko.NotUsed> createLogicAndMaterializedValue(org.apache.pekko.stream.Attributes inheritedAttributes)