public interface RestResponseDeserializer
Modifier and Type | Method and Description |
---|---|
<A extends RestAction<R>,R> |
deserialize(A action,
Response response)
Deserializes the provided
response for the given action . |
<A extends RestAction<R>,R> R deserialize(A action, Response response) throws ActionException
response
for the given action
.A
- the RestAction
type.R
- the result type.action
- te action associated with the response to deserialize.response
- the response to deserialize.ActionException
- if an exception occurred while deserializing the response.Copyright © 2010-2014 ArcBees. All Rights Reserved.