Interface ResponseCodec<T>
- All Known Implementing Classes:
DefaultResponseCodecs.ByMimeTypeResponseCodec
,DefaultResponseCodecs.ByteArrayResponseCodec
,DefaultResponseCodecs.StreamResponseCodec
,DefaultResponseCodecs.StringResponseCodec
,DefaultResponseCodecs.VoidCodec
,JsonObjectCodec.Response
public interface ResponseCodec<T>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(RestResponse response) encode
(RestRequest request, String defaultMimeType, T response) encodeFault
(RestRequest request, String defaultMimeType, Throwable fault)
-
Method Details
-
encode
-
encodeFault
-
decode
- Throws:
ServerFault
-