Class Utf8CharBuffer
- java.lang.Object
-
- org.eclipse.jetty.util.Utf8Appendable
-
- org.eclipse.jetty.websocket.common.message.Utf8CharBuffer
-
@Deprecated(since="2021-05-27") public class Utf8CharBuffer extends Utf8Appendable
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A CharBuffer wrapped with the Utf8Appendable logic.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.Utf8Appendable
Utf8Appendable.NotUtf8Exception
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.util.Utf8Appendable
REPLACEMENT, REPLACEMENT_UTF8
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
append(char[] cbuf, int offset, int size)
Deprecated.void
append(int c)
Deprecated.void
clear()
Deprecated.java.nio.ByteBuffer
getByteBuffer()
Deprecated.java.lang.String
getPartialString()
Deprecated.int
length()
Deprecated.int
remaining()
Deprecated.void
reset()
Deprecated.java.lang.String
toString()
Deprecated.static Utf8CharBuffer
wrap(java.nio.ByteBuffer buffer)
Deprecated.Convenience method to wrap a ByteBuffer with aUtf8CharBuffer
-
Methods inherited from class org.eclipse.jetty.util.Utf8Appendable
append, append, append, append, append, append, append, append, isUtf8SequenceComplete, takePartialString, toReplacedString
-
-
-
-
Method Detail
-
wrap
public static Utf8CharBuffer wrap(java.nio.ByteBuffer buffer)
Deprecated.Convenience method to wrap a ByteBuffer with aUtf8CharBuffer
- Parameters:
buffer
- the buffer to wrap- Returns:
- the Utf8ByteBuffer for the provided ByteBuffer
-
append
public void append(char[] cbuf, int offset, int size)
Deprecated.
-
append
public void append(int c)
Deprecated.
-
reset
public void reset()
Deprecated.
-
clear
public void clear()
Deprecated.
-
getByteBuffer
public java.nio.ByteBuffer getByteBuffer()
Deprecated.
-
length
public int length()
Deprecated.- Specified by:
length
in classUtf8Appendable
-
remaining
public int remaining()
Deprecated.
-
getPartialString
public java.lang.String getPartialString()
Deprecated.- Specified by:
getPartialString
in classUtf8Appendable
- Returns:
- The UTF8 so far decoded, ignoring partial code points
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-