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, serializeResponseAsBinary
String serializeResponseAsString(ResponseMessage responseMessage, io.netty.buffer.ByteBufAllocator allocator) throws SerializationException
SerializationException
String serializeRequestAsString(RequestMessage requestMessage, io.netty.buffer.ByteBufAllocator allocator) throws SerializationException
SerializationException
RequestMessage deserializeRequest(String msg) throws SerializationException
SerializationException
ResponseMessage deserializeResponse(String msg) throws SerializationException
SerializationException
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.