org.spicefactory.pimento.io
Class ServiceRequestDecoder
java.lang.Object
org.spicefactory.pimento.io.ServiceRequestDecoder
public class ServiceRequestDecoder
- extends Object
Responsible for decoding a single request, in particular for decoding entity snapshot representations contained
in the operation parameters.
- Author:
- Jens Halm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceRequestDecoder
public ServiceRequestDecoder(Metamodel metamodel)
- Creates a new instance.
- Parameters:
metamodel - the metamodel for all entities managed by Pimento
decode
public FetchPlan decode(ServiceRequest request,
SnapshotDecoder decoder)
- Decodes the specified request using the given decoder.
- Parameters:
request - the request to decodedecoder - the decoder to use for decoding entity snapshots
- Returns:
- the effective FetchPlan for this request or null if none has been specified in the request.