public interface MessageTextSerializer<M> extends MessageSerializer<M>
logger| Modifier and Type | Method and Description |
|---|---|
RequestMessage |
deserializeRequest(String msg) |
ResponseMessage |
deserializeResponse(String msg) |
String |
serializeRequestAsString(RequestMessage requestMessage,
io.netty.buffer.ByteBufAllocator allocator) |
String |
serializeResponseAsString(ResponseMessage responseMessage,
io.netty.buffer.ByteBufAllocator allocator) |
configure, deserializeRequest, deserializeResponse, getMapper, mimeTypesSupported, serializeRequestAsBinary, serializeResponseAsBinaryString serializeResponseAsString(ResponseMessage responseMessage, io.netty.buffer.ByteBufAllocator allocator) throws SerializationException
SerializationExceptionString serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator) throws SerializationException
SerializationExceptionRequestMessage deserializeRequest(String msg) throws SerializationException
SerializationExceptionResponseMessage deserializeResponse(String msg) throws SerializationException
SerializationExceptionCopyright © 2013–2023 Apache Software Foundation. All rights reserved.