Class DefaultResponseCodecs.ByteArrayResponseCodec
java.lang.Object
net.bluemind.core.rest.base.codec.DefaultResponseCodecs.ByteArrayResponseCodec
- All Implemented Interfaces:
ResponseCodec<byte[]>
- Enclosing class:
DefaultResponseCodecs
public static class DefaultResponseCodecs.ByteArrayResponseCodec
extends Object
implements ResponseCodec<byte[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bluemind.core.rest.base.codec.ResponseCodec
ResponseCodec.Factory<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(RestResponse response) encode
(RestRequest request, String defaultMimeType, byte[] response) encodeFault
(RestRequest request, String defaultMimeType, Throwable fault)
-
Constructor Details
-
ByteArrayResponseCodec
public ByteArrayResponseCodec()
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceResponseCodec<byte[]>
-
decode
- Specified by:
decode
in interfaceResponseCodec<byte[]>
- Throws:
ServerFault
-
encodeFault
- Specified by:
encodeFault
in interfaceResponseCodec<byte[]>
-