Uses of Class
org.apache.qpid.protonj2.codec.EncodeException
Package
Description
-
Uses of EncodeException in org.apache.qpid.protonj2.codec
Modifier and TypeMethodDescriptionEncoderState.encodeUTF8
(ProtonBuffer buffer, CharSequence sequence) Encodes the given sequence of characters in UTF8 to the given buffer.<V> Encoder
Encoder.registerDescribedTypeEncoder
(DescribedTypeEncoder<V> encoder) Register aDescribedTypeEncoder
which can be used when writing custom types using this encoder.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, boolean[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, byte[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, char[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, double[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, float[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, int[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, long[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, short[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, Object[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, UUID[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, Decimal128[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, Decimal32[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, Decimal64[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, Symbol[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, UnsignedByte[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, UnsignedInteger[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, UnsignedLong[] value) Write the given array as with the proper array type encoding to the given buffer.void
Encoder.writeArray
(ProtonBuffer buffer, EncoderState state, UnsignedShort[] value) Write the given array as with the proper array type encoding to the given buffer.void
TypeEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, Object[] values) Write an array elements of the AMQP type to the given byte buffer.void
Encoder.writeBinary
(ProtonBuffer buffer, EncoderState state, byte[] value) Writes the contents of the givenbyte
value into the providedProtonBuffer
instance as an AMQP Binary type.void
Encoder.writeBinary
(ProtonBuffer buffer, EncoderState state, ProtonBuffer value) Writes the contents of the givenProtonBuffer
value into the providedProtonBuffer
instance as an AMQP Binary type.void
Encoder.writeBinary
(ProtonBuffer buffer, EncoderState state, Binary value) Writes the contents of the givenBinary
value into the providedProtonBuffer
instance as an AMQP Binary type.void
Encoder.writeBoolean
(ProtonBuffer buffer, EncoderState state, boolean value) Write aBoolean
type encoding to the given buffer.void
Encoder.writeBoolean
(ProtonBuffer buffer, EncoderState state, Boolean value) Write aBoolean
type encoding to the given buffer.void
Encoder.writeByte
(ProtonBuffer buffer, EncoderState state, byte value) Write aByte
type encoding to the given buffer.void
Encoder.writeByte
(ProtonBuffer buffer, EncoderState state, Byte value) Write aByte
type encoding to the given buffer.void
Encoder.writeCharacter
(ProtonBuffer buffer, EncoderState state, char value) Write aCharacter
type encoding to the given buffer.void
Encoder.writeCharacter
(ProtonBuffer buffer, EncoderState state, Character value) Write aCharacter
type encoding to the given buffer.void
Encoder.writeDecimal128
(ProtonBuffer buffer, EncoderState state, Decimal128 value) Write aDecimal128
type encoding to the given buffer.void
Encoder.writeDecimal32
(ProtonBuffer buffer, EncoderState state, Decimal32 value) Write aDecimal32
type encoding to the given buffer.void
Encoder.writeDecimal64
(ProtonBuffer buffer, EncoderState state, Decimal64 value) Write aDecimal64
type encoding to the given buffer.void
Encoder.writeDeliveryTag
(ProtonBuffer buffer, EncoderState state, DeliveryTag value) Writes the contents of the givenDeliveryTag
value into the providedProtonBuffer
instance as an AMQP Binary type.void
Encoder.writeDescribedType
(ProtonBuffer buffer, EncoderState state, DescribedType value) Write aDescribedType
type encoding to the given buffer.void
Encoder.writeDouble
(ProtonBuffer buffer, EncoderState state, double value) Write aDouble
type encoding to the given buffer.void
Encoder.writeDouble
(ProtonBuffer buffer, EncoderState state, Double value) Write aDouble
type encoding to the given buffer.void
Encoder.writeFloat
(ProtonBuffer buffer, EncoderState state, float value) Write aFloat
type encoding to the given buffer.void
Encoder.writeFloat
(ProtonBuffer buffer, EncoderState state, Float value) Write aFloat
type encoding to the given buffer.void
Encoder.writeInteger
(ProtonBuffer buffer, EncoderState state, int value) Write aInteger
type encoding to the given buffer.void
Encoder.writeInteger
(ProtonBuffer buffer, EncoderState state, Integer value) Write aInteger
type encoding to the given buffer.<T> void
Encoder.writeList
(ProtonBuffer buffer, EncoderState state, List<T> value) Write aList
type encoding to the given buffer.void
Encoder.writeLong
(ProtonBuffer buffer, EncoderState state, long value) Write aLong
type encoding to the given buffer.void
Encoder.writeLong
(ProtonBuffer buffer, EncoderState state, Long value) Write aLong
type encoding to the given buffer.<K,
V> void Encoder.writeMap
(ProtonBuffer buffer, EncoderState state, Map<K, V> value) Write aMap
type encoding to the given buffer.void
Encoder.writeNull
(ProtonBuffer buffer, EncoderState state) Write a Null type encoding to the given buffer.void
Encoder.writeObject
(ProtonBuffer buffer, EncoderState state, Object value) Write the proper type encoding for the providedObject
to the given buffer if anTypeEncoder
can be found for it in the collection of registered type encoders..void
TypeEncoder.writeRawArray
(ProtonBuffer buffer, EncoderState state, Object[] values) Write an array elements of the AMQP type to the given byte buffer.void
Encoder.writeShort
(ProtonBuffer buffer, EncoderState state, short value) Write aShort
type encoding to the given buffer.void
Encoder.writeShort
(ProtonBuffer buffer, EncoderState state, Short value) Write aShort
type encoding to the given buffer.void
Encoder.writeString
(ProtonBuffer buffer, EncoderState state, String value) Write aString
type encoding to the given buffer.void
Encoder.writeSymbol
(ProtonBuffer buffer, EncoderState state, String value) Write aSymbol
type encoding to the given buffer.void
Encoder.writeSymbol
(ProtonBuffer buffer, EncoderState state, Symbol value) Write aSymbol
type encoding to the given buffer.void
Encoder.writeTimestamp
(ProtonBuffer buffer, EncoderState state, long value) Write a Time stamp type encoding to the given buffer.void
Encoder.writeTimestamp
(ProtonBuffer buffer, EncoderState state, Date value) Write a Time stamp type encoding to the given buffer.void
TypeEncoder.writeType
(ProtonBuffer buffer, EncoderState state, V value) Write the full AMQP type data to the given byte buffer.void
Encoder.writeUnsignedByte
(ProtonBuffer buffer, EncoderState state, byte value) Write anUnsignedByte
type encoding to the given buffer.void
Encoder.writeUnsignedByte
(ProtonBuffer buffer, EncoderState state, UnsignedByte value) Write anUnsignedByte
type encoding to the given buffer.void
Encoder.writeUnsignedInteger
(ProtonBuffer buffer, EncoderState state, byte value) Write aUnsignedInteger
type encoding to the given buffer.void
Encoder.writeUnsignedInteger
(ProtonBuffer buffer, EncoderState state, int value) Write aUnsignedInteger
type encoding to the given buffer.void
Encoder.writeUnsignedInteger
(ProtonBuffer buffer, EncoderState state, long value) Write aUnsignedInteger
type encoding to the given buffer using the provided value with appropriate range checks to ensure invalid input is not accepted.void
Encoder.writeUnsignedInteger
(ProtonBuffer buffer, EncoderState state, UnsignedInteger value) Write aUnsignedInteger
type encoding to the given buffer.void
Encoder.writeUnsignedLong
(ProtonBuffer buffer, EncoderState state, byte value) Write aUnsignedLong
type encoding to the given buffer.void
Encoder.writeUnsignedLong
(ProtonBuffer buffer, EncoderState state, long value) Write aUnsignedLong
type encoding to the given buffer.void
Encoder.writeUnsignedLong
(ProtonBuffer buffer, EncoderState state, UnsignedLong value) Write aUnsignedLong
type encoding to the given buffer.void
Encoder.writeUnsignedShort
(ProtonBuffer buffer, EncoderState state, int value) Write aUnsignedShort
type encoding to the given buffer using the provided value with appropriate range checks to ensure invalid input is not accepted.void
Encoder.writeUnsignedShort
(ProtonBuffer buffer, EncoderState state, short value) Write aUnsignedShort
type encoding to the given buffer.void
Encoder.writeUnsignedShort
(ProtonBuffer buffer, EncoderState state, UnsignedShort value) Write aUnsignedShort
type encoding to the given buffer.void
Encoder.writeUUID
(ProtonBuffer buffer, EncoderState state, UUID value) Write aUUID
type encoding to the given buffer. -
Uses of EncodeException in org.apache.qpid.protonj2.codec.decoders
Modifier and TypeMethodDescriptionstatic OutputStream
ProtonStreamUtils.writeByte
(byte value, OutputStream stream) Write the givenByte
to the targetOutputStream
.static OutputStream
ProtonStreamUtils.writeInt
(int value, OutputStream stream) Write the givenInteger
to the targetOutputStream
.static OutputStream
ProtonStreamUtils.writeLong
(long value, OutputStream stream) Write the givenLong
to the targetOutputStream
.static OutputStream
ProtonStreamUtils.writeShort
(short value, OutputStream stream) Write the givenShort
to the targetOutputStream
. -
Uses of EncodeException in org.apache.qpid.protonj2.codec.encoders
Modifier and TypeMethodDescriptionvoid
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, boolean[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, byte[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, char[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, double[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, float[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, int[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, long[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, short[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, Object[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, UUID[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, Decimal128[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, Decimal32[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, Decimal64[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, Symbol[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, UnsignedByte[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, UnsignedInteger[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, UnsignedLong[] value) void
ProtonEncoder.writeArray
(ProtonBuffer buffer, EncoderState state, UnsignedShort[] value) void
ProtonEncoder.writeBinary
(ProtonBuffer buffer, EncoderState state, byte[] value) void
ProtonEncoder.writeBinary
(ProtonBuffer buffer, EncoderState state, ProtonBuffer value) void
ProtonEncoder.writeBinary
(ProtonBuffer buffer, EncoderState state, Binary value) void
ProtonEncoder.writeBoolean
(ProtonBuffer buffer, EncoderState state, boolean value) void
ProtonEncoder.writeBoolean
(ProtonBuffer buffer, EncoderState state, Boolean value) void
ProtonEncoder.writeByte
(ProtonBuffer buffer, EncoderState state, byte value) void
ProtonEncoder.writeByte
(ProtonBuffer buffer, EncoderState state, Byte value) void
ProtonEncoder.writeCharacter
(ProtonBuffer buffer, EncoderState state, char value) void
ProtonEncoder.writeCharacter
(ProtonBuffer buffer, EncoderState state, Character value) void
ProtonEncoder.writeDecimal128
(ProtonBuffer buffer, EncoderState state, Decimal128 value) void
ProtonEncoder.writeDecimal32
(ProtonBuffer buffer, EncoderState state, Decimal32 value) void
ProtonEncoder.writeDecimal64
(ProtonBuffer buffer, EncoderState state, Decimal64 value) void
ProtonEncoder.writeDeliveryTag
(ProtonBuffer buffer, EncoderState state, DeliveryTag value) void
ProtonEncoder.writeDescribedType
(ProtonBuffer buffer, EncoderState state, DescribedType value) void
ProtonEncoder.writeDouble
(ProtonBuffer buffer, EncoderState state, double value) void
ProtonEncoder.writeDouble
(ProtonBuffer buffer, EncoderState state, Double value) void
ProtonEncoder.writeFloat
(ProtonBuffer buffer, EncoderState state, float value) void
ProtonEncoder.writeFloat
(ProtonBuffer buffer, EncoderState state, Float value) void
ProtonEncoder.writeInteger
(ProtonBuffer buffer, EncoderState state, int value) void
ProtonEncoder.writeInteger
(ProtonBuffer buffer, EncoderState state, Integer value) <T> void
ProtonEncoder.writeList
(ProtonBuffer buffer, EncoderState state, List<T> value) void
ProtonEncoder.writeLong
(ProtonBuffer buffer, EncoderState state, long value) void
ProtonEncoder.writeLong
(ProtonBuffer buffer, EncoderState state, Long value) <K,
V> void ProtonEncoder.writeMap
(ProtonBuffer buffer, EncoderState state, Map<K, V> value) void
ProtonEncoder.writeNull
(ProtonBuffer buffer, EncoderState state) void
ProtonEncoder.writeObject
(ProtonBuffer buffer, EncoderState state, Object value) void
ProtonEncoder.writeShort
(ProtonBuffer buffer, EncoderState state, short value) void
ProtonEncoder.writeShort
(ProtonBuffer buffer, EncoderState state, Short value) void
ProtonEncoder.writeString
(ProtonBuffer buffer, EncoderState state, String value) void
ProtonEncoder.writeSymbol
(ProtonBuffer buffer, EncoderState state, String value) void
ProtonEncoder.writeSymbol
(ProtonBuffer buffer, EncoderState state, Symbol value) void
ProtonEncoder.writeTimestamp
(ProtonBuffer buffer, EncoderState state, long value) void
ProtonEncoder.writeTimestamp
(ProtonBuffer buffer, EncoderState state, Date value) void
ProtonEncoder.writeUnsignedByte
(ProtonBuffer buffer, EncoderState state, byte value) void
ProtonEncoder.writeUnsignedByte
(ProtonBuffer buffer, EncoderState state, UnsignedByte value) void
ProtonEncoder.writeUnsignedInteger
(ProtonBuffer buffer, EncoderState state, byte value) void
ProtonEncoder.writeUnsignedInteger
(ProtonBuffer buffer, EncoderState state, int value) void
ProtonEncoder.writeUnsignedInteger
(ProtonBuffer buffer, EncoderState state, long value) void
ProtonEncoder.writeUnsignedInteger
(ProtonBuffer buffer, EncoderState state, UnsignedInteger value) void
ProtonEncoder.writeUnsignedLong
(ProtonBuffer buffer, EncoderState state, byte value) void
ProtonEncoder.writeUnsignedLong
(ProtonBuffer buffer, EncoderState state, long value) void
ProtonEncoder.writeUnsignedLong
(ProtonBuffer buffer, EncoderState state, UnsignedLong value) void
ProtonEncoder.writeUnsignedShort
(ProtonBuffer buffer, EncoderState state, int value) void
ProtonEncoder.writeUnsignedShort
(ProtonBuffer buffer, EncoderState state, short value) void
ProtonEncoder.writeUnsignedShort
(ProtonBuffer buffer, EncoderState state, UnsignedShort value) void
ProtonEncoder.writeUUID
(ProtonBuffer buffer, EncoderState state, UUID value)