public static class JsonObjectCodec.Response<T> extends java.lang.Object implements ResponseCodec<T>
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) |
public RestResponse encode(RestRequest request, java.lang.String defaultMimeType, T response)
encode in interface ResponseCodec<T>public T decode(RestResponse response) throws ServerFault
decode in interface ResponseCodec<T>ServerFaultpublic RestResponse encodeFault(RestRequest request, java.lang.String defaultMimeType, java.lang.Throwable fault)
encodeFault in interface ResponseCodec<T>Copyright © 2024. All Rights Reserved.