Class DefaultResponseCodecs.StreamResponseCodec<T>
java.lang.Object
net.bluemind.core.rest.base.codec.DefaultResponseCodecs.StreamResponseCodec<T>
- All Implemented Interfaces:
ResponseCodec<Stream>
- Enclosing class:
DefaultResponseCodecs
public static class DefaultResponseCodecs.StreamResponseCodec<T>
extends Object
implements ResponseCodec<Stream>
-
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 TypeMethodDescriptiondecode
(RestResponse response) encode
(RestRequest request, String defaultMimeType, Stream response) encodeFault
(RestRequest request, String defaultMimeType, Throwable fault)
-
Constructor Details
-
StreamResponseCodec
public StreamResponseCodec()
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceResponseCodec<T>
-
decode
- Specified by:
decode
in interfaceResponseCodec<T>
- Throws:
ServerFault
-
encodeFault
- Specified by:
encodeFault
in interfaceResponseCodec<T>
-