public class XmlRequestDeserializer extends Object implements RequestDeserializer
Each parent is sent off as one request to the SQL resource. If there are children, then those are parsed in full, and then included in the request with the parent attributes. Note that the framework will only operate on children if they are included, not parents and children simultaneously.]]>
Constructor and Description |
---|
XmlRequestDeserializer() |
Modifier and Type | Method and Description |
---|---|
WriteResponse |
execWrite(HttpRequestAttributes httpAttributes,
Request.Type requestType,
List<RequestValue> resIds,
SqlResource sqlResource,
String requestBody,
RequestLogger requestLogger)
Executes write request.
|
String |
getSupportedMediaType()
Returns supported media type.
|
public WriteResponse execWrite(HttpRequestAttributes httpAttributes, Request.Type requestType, List<RequestValue> resIds, SqlResource sqlResource, String requestBody, RequestLogger requestLogger) throws SqlResourceException
execWrite
in interface RequestDeserializer
SqlResourceException
public String getSupportedMediaType()
RequestDeserializer
getSupportedMediaType
in interface RequestDeserializer
Copyright © 2011-2018 restSQL Project Contributors