public class GzipMessageBodyResolver extends Object implements MessageBodyDecoder, MessageBodyEncoder
Constructor and Description |
---|
GzipMessageBodyResolver() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(byte[] encoded) |
byte[] |
encode(org.springframework.core.io.buffer.DataBuffer original) |
String |
encodingType() |
public String encodingType()
encodingType
in interface MessageBodyDecoder
encodingType
in interface MessageBodyEncoder
public byte[] decode(byte[] encoded)
decode
in interface MessageBodyDecoder
public byte[] encode(org.springframework.core.io.buffer.DataBuffer original)
encode
in interface MessageBodyEncoder
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.