public interface ResponseCodec<T>
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
ResponseCodec.Factory<T>  | 
| Modifier and Type | Method and Description | 
|---|---|
T | 
decode(RestResponse response)  | 
RestResponse | 
encode(RestRequest request,
      java.lang.String defaultMimeType,
      T response)  | 
RestResponse | 
encodeFault(RestRequest request,
           java.lang.String defaultMimeType,
           java.lang.Throwable fault)  | 
RestResponse encode(RestRequest request, java.lang.String defaultMimeType, T response)
RestResponse encodeFault(RestRequest request, java.lang.String defaultMimeType, java.lang.Throwable fault)
T decode(RestResponse response) throws ServerFault
ServerFaultCopyright © 2021. All Rights Reserved.