Class Utf8PartialBuilder

java.lang.Object
org.eclipse.jetty.websocket.common.util.Utf8PartialBuilder

@Deprecated public class Utf8PartialBuilder extends Object
Deprecated.
Similar in scope to the Utf8StringBuilder, but allowing partially constructed Strings without throwing Exceptions for incomplete UTF8 sequences.

A call to toPartialString(ByteBuffer) will return the section of the String from the start to the last completed UTF8 sequence. Leaving incomplete sequences for a subsequent call to complete.

  • Field Details

    • utf8

      private final org.eclipse.jetty.util.Utf8StringBuilder utf8
      Deprecated.
  • Constructor Details

    • Utf8PartialBuilder

      public Utf8PartialBuilder()
      Deprecated.
  • Method Details