Class BinaryCodec.ByteBuffer
java.lang.Object
ch.raffael.meldioc.library.http.server.undertow.codec.BinaryCodec<ByteBuffer>
ch.raffael.meldioc.library.http.server.undertow.codec.BinaryCodec.ByteBuffer
- All Implemented Interfaces:
HttpDecoder<ByteBuffer>,HttpEncoder<ByteBuffer>
- Enclosing class:
BinaryCodec<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.raffael.meldioc.library.http.server.undertow.codec.BinaryCodec
BinaryCodec.ByteArray, BinaryCodec.ByteBuffer, BinaryCodec.ByteBufferArrayNested classes/interfaces inherited from interface ch.raffael.meldioc.library.http.server.undertow.codec.HttpDecoder
HttpDecoder.Consumer<B>, HttpDecoder.IgnoreBodyDecoder<B> -
Constructor Summary
ConstructorsConstructorDescriptionByteBuffer(ch.raffael.meldioc.library.codec.ContentType... contentType) ByteBuffer(io.vavr.collection.Traversable<? extends ch.raffael.meldioc.library.codec.ContentType> contentTypes) ByteBuffer(String... contentTypes) -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteBufferfromBytes(byte[] bytes) protected ByteBuffer[]toByteBuffers(ByteBuffer value) Methods inherited from class ch.raffael.meldioc.library.http.server.undertow.codec.BinaryCodec
decode, encode
-
Constructor Details
-
ByteBuffer
-
ByteBuffer
public ByteBuffer(ch.raffael.meldioc.library.codec.ContentType... contentType) -
ByteBuffer
public ByteBuffer(io.vavr.collection.Traversable<? extends ch.raffael.meldioc.library.codec.ContentType> contentTypes)
-
-
Method Details
-
toByteBuffers
- Specified by:
toByteBuffersin classBinaryCodec<ByteBuffer>
-
fromBytes
- Specified by:
fromBytesin classBinaryCodec<ByteBuffer>
-